A. 【例16.1】 判断数正负

    Type: Default 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.

Description

Given an integer NN, determine if it is positive, zero, or negative. If N>0N>0, output positive; if N=0N=0, output zero; if N<0N<0, output negative.

Input Format

One integer NN (109N109-10^9 \le N \le 10^9).

Output Format

If N>0N>0, output positive;

If N=0N=0, output zero;

If N<0N<0, output negative.

Sample

1
positive

20251108 A班作业(6)

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