Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
5823 鲁家菱 判断数正负 C++ 通过 0 MS 248 KB 206 2023-01-18 12:30:18

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main() { int N; cin>>N; if(N>0){ cout<<"positive"; } if(N==0){ cout<<"zero"; } if(N<0){ cout<<"negative"; } return 0; }


测评信息: