Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
24280 | 老方 | 奇偶ASCII值判断 | C++ | Accepted | 0 MS | 252 KB | 188 | 2023-08-10 12:53:50 |
#include<iostream> using namespace std; int main(){ char c; cin>>c; c+=0; if (c%2!=0){ cout<<"YES"; }else{ cout<<"NO"; } return 0; }