Problem
Problem URL : 짝수와 홀수
[1] Answer Code (18. 07. 24)
string solution(int num) {
return num & 1 ? "Odd" : "Even";
}
[1] Answer Code (18. 07. 24)
- 무난 ~
Problem URL : 짝수와 홀수
string solution(int num) {
return num & 1 ? "Odd" : "Even";
}