Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
165008 王慕哲 07判断正负数 C++ Accepted 1 MS 264 KB 205 2026-11-08 17:18:25

Tests(10/10):


Code:

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