UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#193225#1183. 判断奇数lyz1111000ms1188kbC++169b2023-10-14 09:45:312023-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;
}

详细

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

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'