간단한 문제이다.
#include <string> #include <vector> using namespace std; string solution(int num) { if (num % 2) return "Odd"; return "Even"; }