0101少儿编程
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
IDE下载
Login
Register
4993: 【16课】【3086】判断数正负
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:292
Solved:124
Submit
Submit Record
Statistics
ShowOff!
Description
给定一个整数N,判断其正负。如果N>0,输出positive;如果N=0,输出zero;如果N<0,输出negative。
Input
一个整数N(-1e9 <= N <= e9)
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!