14 lines
293 B
C++
14 lines
293 B
C++
#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;
|
|
} |