ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#186389 | #1183. 判断奇数 | luojianwei221625 | 100 | 2ms | 1164kb | C++ | 146b | 2023-09-30 19:48:15 | 2023-09-30 19:48:15 |
answer
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
if(n % 2 != 0) cout << "Yes";
else cout << "No";
return 0;
}
Details
小提示:点击横条可展开更详细的信息
Test #1:
score: 50
Accepted
time: 2ms
memory: 1160kb
input:
5
output:
Yes
result:
ok single line: 'Yes'
Test #2:
score: 50
Accepted
time: 0ms
memory: 1164kb
input:
10
output:
No
result:
ok single line: 'No'