Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
133814 胡海峰老师 07判断正负数 C++ Accepted 3 MS 280 KB 333 2025-10-22 17:38:33

Tests(10/10):


Code:

#include <iostream> //designed by hu 2025-10 using namespace std; int main(){ int a; //定义语句 error: 'a' was not declared in this scope. //让a先出生 cin >> a; //输入语句 必须先定义,再使用 if( a>0 ) { cout<<"YES"; } else { cout<<"NO"; } return 0; }