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.4.15柳泉基础班if练习题

Not Attended
Status
Done
Rule
IOI
Problem
12
Start at
2026-4-15 15:00
End at
2026-4-25 15:00
Duration
240 hour(s)
Host
Partic.
55