Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
356791 admin_rjp 【C1-11】判断数正负 C++ 通过 100 1 MS 248 KB 238 2025-10-18 16:26:24

Tests(3/3):


#include <iostream> using namespace std; int main(){ int n; cin>>n; if(n>0){ cout<<"positive"<<endl; } else if(n==0){ cout<<"zero"<<endl; } else{ cout<<"negative"<<endl; } return 0; }


测评信息: