Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
118832 陈梓钒 07判断正负数 C++ Accepted 1 MS 268 KB 169 2025-05-10 15:17:53

Tests(10/10):


Code:

#include<iostream> using namespace std; int main(){ int a; cin>>a; if(a<0) { cout<<"NO"<<endl; }else{ cout<<"YES"<<endl; } return 0; }