【題解】ZeroJudge d064: ㄑㄧˊ 數?

【題目敘述】https://zerojudge.tw/ShowProblem?problemid=d064

#include <iostream>
using namespace std;

int main() {
    int m;
    cin >> m;
    
    if (m % 2 == 1) {
        cout << "Odd\n";
    } else {
        cout << "Even\n";
    }
    
    return 0;
}
分享本文 Share with friends