Type: RemoteJudge 1000ms 128MiB

【例16.1】 判断数正负

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 ,输出positive;如果 N=0N=0 ,输出zero;如果 N<0N<0 ,输出negative

输入格式

一个整数 NN(109N109-10^9 \le N \le 10^9)。

输出格式

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

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

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

样例

1
positive

26.6.2柳泉基础班期末考试

Not Attended
Status
Done
Rule
OI
Problem
12
Start at
2026-6-2 15:00
End at
2026-6-12 15:00
Duration
240 hour(s)
Host
Partic.
50