Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
137310 lmh 07判断正负数 C++ Accepted 1 MS 276 KB 168 2025-11-17 16:11:01

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main (){ int a; cin>>a; if(a<0){ cout<<"NO"<<endl; } if(a>0){ cout<<"YES"<<endl; } return 0; }