Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
76495 陈俊洁 最大值与最小值的差 C++ Compile Error 0 MS 0 KB 149 2024-06-02 14:58:07

Tests(0/0):


Code:

#include <bits/stdc++.h> using namespace std; int main(){ int a[m],max; for( int i=1;i<=m;i++){ if(max<i){ max=i; } cout<<a[max]; } }


Run Info:

Main.cc: In function 'int main()':
Main.cc:4:7: error: 'm' was not declared in this scope
 int a[m],max;
       ^
Main.cc:9:8: error: 'a' was not declared in this scope
  cout<