Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
117829 陈淮遇 07判断正负数 C++ Accepted 1 MS 272 KB 154 2025-04-20 13:14:43

Tests(10/10):


Code:

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