两种AC!“本人只试了一次就AC了”。
2025-05-10 18:27:41
发布于:广东
0阅读
0回复
0点赞
#include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
if(n%2==1){
cout<<"odd";
}else{
cout<<"even";
}
return 0;
}
#include<iostream>
using namespace std;
int n;
cin>>n;
int main(){
if(n%2==1){
cout<<"odd";
}else{
cout<<"even";
}
return 0;
}
这里空空如也
有帮助,赞一个