Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
144784 c13 输出较大的数 C++ Compile Error 0 MS 0 KB 139 2026-01-24 18:45:16

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int t,a; scanf("%d %d", &t,&n); cout<<"max=",max(t,n); return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:24: error: 'n' was not declared in this scope
     scanf("%d %d", &t,&n);
                        ^
Main.cc:4:8: warning: unused variable 'a' [-Wunused-variable]
  int t,a;
        ^