Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
61148 | laichihao | 判断数正负 | C++ | Accepted | 0 MS | 252 KB | 205 | 2025-02-22 15:25:16 |
#include<iostream> using namespace std; int main() { int a; cin>>a; if(a>0) { cout<<"positive"; } else if(a=0) { cout<<"zero"; } else { cout<<"negative"; } return 0; }