Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
44369 wangyuchun 判断数正负 C++ Accepted 1 MS 244 KB 197 2024-03-30 10:16:17

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; if(n>0){ cout<<"positive"; }else if(n=0){ cout<<"zero"; } else{ cout<<"negative"; } }


Judgement Protocol: