判断数正负

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

【题目描述】

给定一个整数NN,判断其正负。如果N>0N>0,输出positivepositive;如果N=0N=0,输出zerozero;如果N<0N<0,输出negativenegative

【输入】

一个整数N(109N109)N(-10^9 ≤ N ≤ 10^9)

【输出】

如果N>0N > 0, 输出positivepositive;

如果N=0N = 0, 输出zerozero;

如果N<0N < 0, 输出negativenegative

【输入样例】

1

【输出样例】

positive

【来源】

一本通在线评测

B班结营检测

Not Attended
Status
Done
Rule
Ledo
Problem
20
Start at
2025-7-30 9:00
End at
2025-7-30 11:30
Duration
2.5 hour(s)
Host
Partic.
15