Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
131706 张咏灏 输出较大的数 C++ Compile Error 0 MS 0 KB 167 2025-10-01 09:36:10

Tests(0/0):


Code:

using namespace std; int main(){ int a,b; cin>>a>>b; if(a>=b){ cout<<a<<endl; }else{ cout<<b<<endl; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:4:5: error: 'cin' was not declared in this scope
     cin>>a>>b;
     ^
Main.cc:6:9: error: 'cout' was not declared in this scope
         cout<