Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
65490 胡家豪 07判断正负数 C++ Accepted 2 MS 272 KB 160 2024-01-26 10:59:25

Tests(10/10):


Code:

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