UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#186389#1183. 判断奇数luojianwei2216251002ms1164kbC++146b2023-09-30 19:48:152023-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;
}

详细

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

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'