| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 1289 | wsy18287021689 | 判断数正负 | C++ | Accepted | 0 MS | 252 KB | 205 | 2022-11-24 21:58:49 |
#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; }