'commit'
This commit is contained in:
14
TangDou/AoSaiYiBenTong/YBT1039.cpp
Normal file
14
TangDou/AoSaiYiBenTong/YBT1039.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user