프로그래머스 - 짝수와 홀수
1레벨짜리 문제다.
#include <string> #include <vector> using namespace std; string solution(int num) { return num & 1 ? "Odd" : "Even"; }