題解
2026-08-13 17:37:49
发布于:黑龙江
3阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
long long n;
int main(){
cin>>n;
if(n%2==0) cout<<"even";
else cout<<"odd";
return 0;
}
全部评论 1
很不錯
2026-08-13 来自 黑龙江
0
2026-08-13 17:37:49
发布于:黑龙江
#include <bits/stdc++.h>
using namespace std;
long long n;
int main(){
cin>>n;
if(n%2==0) cout<<"even";
else cout<<"odd";
return 0;
}
提交答案之后,这里将显示提交结果~
有帮助,赞一个