1255: 判断数正负
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:302
Solved:203
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