Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
29537 | lnx | 奇偶ASCII值判断 | C++ | Accepted | 0 MS | 236 KB | 160 | 2023-10-31 18:43:57 |
#include<iostream> using namespace std; int main() { char ch; cin>>ch; if(ch%2==1) { cout<<"YES"; } else { cout<<"NO"; } return 0; }