竞赛
考级
法兰西玫瑰
#include <bits/stdc++.h> using namespace std; int main(){ char ac;//定义字符类型 cin>>ac; if(char(ac)%2!=0)cout<<"YES"<<endl;//是不是奇数,是输出yes else cout<<"NO"<<endl;//否则输出no }
AC神
#include <bits/stdc++.h> using namespace std; int main(){ char a; cin>>a; if((int)a%2==0) cout<<"NO"<<endl; else cout<<"YES"<<endl; return 0; }
Voldemort
JMZ詹总
acgoacgo
张高纶
zsy
#include<iostream> using namespace std; int main(){ char a; cin>>a; int b=a; if(b%2==1){ cout<<"YES"; }else{ cout<<"NO"; } return 0; }
周
准