시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
---|---|---|---|---|---|
1 초 (추가 시간 없음) | 1024 MB | 300 | 246 | 222 | 82.528% |
Consider a string containing lowercase letters only. We call the string odd if every letter in the string appears an odd number of times. Similarly, we call the string even if every letter in the string appears an even number of times.
Given a string, determine if it is odd or even.
There is only one input line; it contains a string of lowercase letters only. The string will contain 1 to 60 letters (inclusive).
Print 0 (zero) if the string is even, 1 (one) if the string is odd, and 0/1 (zero and one with a slash in between) if it is neither.
geekkeeg
0
funnyn
1
zztop
0/1