Files
python/TangDou/AoSaiYiBenTong/YBT1039.cpp

14 lines
293 B
C++
Raw Normal View History

2025-08-30 18:35:01 +08:00
#include <bits/stdc++.h>
using namespace std;
int main() {
//cin读入优化
std::ios::sync_with_stdio(false);
long long N;
cin>>N;
if(N>0) cout<<"positive"<<endl;
else if(N==0) cout<<"zero"<<endl;
else if(N<0) cout<<"negative"<<endl;
return 0;
}