top1编程
← 返回上一页

P2929. 判断数正负

时间限制
1000 ms
内存限制
256 MiB
难度
10
知识点
一本通在线评测
知识点
一本通基础

Description

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

Input Format

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

Output Format

如果N>0N > 0, 输出positivepositive; 如果N=0N = 0, 输出zerozero; 如果N<0N < 0, 输出negativenegative

1

positive