Toggle navigation
Bulletin
Problems
Submissions
Contests
Rank
Discuss
About
CKEFGISC
Sign in
Sign up
4446 . 判斷奇偶
Submit
Status
Discussion / Solution
Ranklist
Back to Problems List
Description
這題問題很簡單,給你一個數字,如果是奇數請輸出"Yes",反之則"No"。
Input Format
輸入僅有一行,輸入整數
n
(
−
2147483647
≤
n
≤
2147483647
)
。
Output Format
請照題目要求輸出
Sample Input 1
copy
2
Sample Output 1
copy
No
Sample Input 2
copy
1
Sample Output 2
copy
Yes
Hints
Subtasks
No.
Testdata Range
Score
1
0~3
100
TopCoder
roychuang
User's AC Ratio
90.4% (
85/94
)
Tags
Show solution-related tags
Low
運算
Problem Source
Testdata and Limits
No.
Time Limit (ms)
Memory Limit (VSS, KiB)
Memory Limit (RSS, KiB)
Output Limit (KiB)
Subtasks
0
1000
250000
250000
65536
1
1
1000
250000
250000
65536
1
2
1000
250000
250000
65536
1
3
1000
250000
250000
65536
1
Submit
Back to Top