Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
72644 sh25_zhuwy 判断数正负 C++ 通过 0 MS 248 KB 213 2025-11-02 13:38:46

Tests(1/1):


#include<bits/stdc++.h> 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; }


测评信息: