| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 76498 | 陈俊洁 | 最大值与最小值的差 | C++ | Compile Error | 0 MS | 0 KB | 179 | 2024-06-02 15:05:18 |
#include <bits/stdc++.h> using namespace std; int a[10001] int main(){ int max=0,j=10000,m; for( int i=1;i<=m;i++){ if(max<i){ max=i; }if(j>i){ cout<<max-j; } }
Main.cc:4:1: error: expected initializer before 'int'
int main(){
^