Toggle navigation
拓智机器人OJ
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Problem1039--判断数正负
1039: 判断数正负
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
8
Solved:
8
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
给定一个整数N,判断其正负。如果N>0,输出positive;如果N=0,输出zero;如果N<0,输出negative。
Input
输入
一个整数
。
Output
如果, 输出
如果, 输出
如果, 输出
Sample Input
Copy
1
Sample Output
Copy
positive
Source/Category
if选择结构