kunshao 题解分享 · 2025/3/10
奇偶数判断 - 题解
``` #include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; if ( n % 2 == 0 ) { cout << "even"; } else { cout << "odd"; } return 0; } ```
0 0 0 2