ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#193225 | #1183. 判断奇数 | lyz111 | 100 | 0ms | 1188kb | C++ | 169b | 2023-10-14 09:45:31 | 2023-10-14 09:45:41 |
answer
#include <bits/stdc++.h>
using namespace std;
int main()
{
int a;
cin >> a;
if (a % 2 == 0) cout << "No" << endl;
else cout << "Yes" << endl;
return 0;
}
Details
小提示:点击横条可展开更详细的信息
Test #1:
score: 50
Accepted
time: 0ms
memory: 1188kb
input:
5
output:
Yes
result:
ok single line: 'Yes'
Test #2:
score: 50
Accepted
time: 0ms
memory: 1188kb
input:
10
output:
No
result:
ok single line: 'No'