Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
136522 王显端 07判断正负数 C++ Compile Error 0 MS 0 KB 208 2025-11-15 12:28:57

Tests(0/0):


Code:

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


Run Info:

Main.cc:1:20: warning: extra tokens at end of #include directive
 #include ;
                    ^
Main.cc: In function 'int main()':
Main.cc:5:13: error: expected primary-expression before ';' token
    cin>>a>> ;
             ^