| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 76642 | sh25_zhuhy | 判断数正负 | C++ | 通过 | 0 MS | 240 KB | 225 | 2025-12-19 15:41:12 |
#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; if(n<0) { cout<<"negative"<<endl; } else if(n==0) { cout<<"zero"<<endl; } else { cout<<"positive"<<endl; } }