Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
145558 张晓冉 输出较大的数 C++ Compile Error 0 MS 0 KB 147 2026-01-25 16:28:30

Tests(0/0):


Code:

#include <stdio.h> int main() { int a,b; cin>>a>>b; int max = 0; max = strcmp(a,b); cout<<"max="<<max; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:5: error: 'cin' was not declared in this scope
     cin>>a>>b;
     ^
Main.cc:7:21: error: 'strcmp' was not declared in this scope
     max = strcmp(a,b);
                     ^
Main.cc:8:5: error: 'cout' was not declared in this scope
     cout<<"max="<