Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
125045 黄子轩 判断正数 C++ 通过 100 0 MS 240 KB 253 2024-01-23 16:21:29

Tests(2/2):


#include<bits/stdc++.h> using namespace std; int main() { int p,s; cin>>p; if(p>0){ cout<<"yes"<<endl; cout<<p<<">0"; } else{ cout<<"no"<<endl; if (p!=0){ cout<<p<<"<0"; }else{cout<<p<<"=0"; } } }


测评信息: