鲁班创客OJ
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
Login
1209: 判断数正负
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:48
Solved:38
Submit
Submit Record
Statistics
ShowOff!
Description
给定一个整数N,判断其正负。如果N>0,输出positive;如果N=0,输出zero;如果N<0,输出negative。
Input
一个整数N(-109≤N≤109)
Output
如果N>0,输出positive; 如果N=0,输出zero; 如果N<0,输出negative
Sample Input
Copy
1
Sample Output
Copy
positive
Source/Category
分支结构
入门
Submit
Submit Record
Statistics
ShowOff!