12 条题解
-
1
#include <bits/stdc++.h> using namespace std; int main() { int n; char a; cin >>a; n = (int)a; if(n%2) cout << "YES"; else cout << "NO"; return 0; }
#include <stdio.h> #include <iostream> #include <math.h> #include <iomanip> using namespace std; int main() { char a; cin>>a; if(a%2==1) { cout<<"YES"; } else { cout<<"NO"; } }
-
1
/***************************************** 备注: ******************************************/ #include <math.h> #include <stdio.h> // getchar(); #include <iostream> using namespace std; int main() { char a; // cin >> a; a = getchar(); if(a%2 == 0) { cout << "NO"; } else { cout << "YES"; } }
- 1
信息
- ID
- 873
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 4
- 标签
- 递交数
- 932
- 已通过
- 411
- 上传者