Z. 【例16.1】 判断数正负

    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

2025年夏令营新人班【查】2

Not Claimed
Status
Done
Problem
59
Open Since
2025-7-5 0:00
Deadline
2025-8-6 23:59
Extension
24 hour(s)