Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
319142 | 李南笙 | 【C1-11】判断数正负 | C++ | Wrong Answer | 66 | 1 MS | 244 KB | 188 | 2025-04-25 19:55:30 |
#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; }