UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#168111#1183. 判断奇数luojianwei22161000ms1164kbC++173b2023-01-28 20:58:012023-01-28 20:58:03

answer

#include <bits/stdc++.h>
using namespace std;

int main() {
	long long a;
	cin >> a;
	if(a % 2 == 0) {
		cout << "No";
	} else {
		cout << "Yes";
	}
	return 0;
}

详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 50
Accepted
time: 0ms
memory: 1164kb

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'