2398 判断数正负
#include<bits/stdc++.h> #define f(i,s,e) for(int i = s; i <= e; i++) #define ll long long using namespace std; const int N = 1e3+10,inf = 0x3f3f3f3f; int main() { int n; cin >> n; if(n > 0) cout << "positive"; else if(n == 0) cout << "zero"; else cout << "negative"; return 0; }