Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
319143 | 李南笙 | 【C1-11】判断数正负 | C++ | Accepted | 100 | 1 MS | 256 KB | 189 | 2025-04-25 19:56:05 |
#include<iostream> using namespace std; int main(){ int N; cin>>N; if(N>0){ cout<<"positive"; }else if(N==0){ cout<<"zero"; }else{ cout<<"negative"; } return 0; }