Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
149772 xyc 输出较大的数 C++ Compile Error 0 MS 0 KB 169 2026-03-16 17:05:10

Tests(0/0):


Code:

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


Run Info:

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