26 条题解
信息
- ID
- 2066
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 1
- 标签
- 递交数
- 668
- 已通过
- 395
- 上传者
#include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
if(n%2==0){
cout<<"even";
}
else{
cout<<"odd";
}
return 0;
}
#include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
if(n%2==0){
cout<<"even";
}
else{
cout<<"odd";
}
return 0;
}
😄
#include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
if(n%2==0) cout<<"even";
if(n%2!=0) cout<<"odd";
return 0;
}
#include<bits/stdc++.h>
using namespace std;
int main(){
int a;
cin>>a;
if(a%2==0){
cout<<"even";
}
if(a%2!=0){
cout<<"odd";
}
return 0;
}
#include using namespace std; int main(){ int n; cin>>n; if(10<=n and n<=99){ cout<<1; }else{ cout<<0; } return 0; }