| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 80587 | 刘慕莀 | 18成绩插入 | C++ | Compile Error | 0 MS | 0 KB | 250 | 2024-07-11 15:22:41 |
#include<bits/stdc++.h> using namespace std; int a[101]; int main(){ int a[10]={1,2,3,4,5,6,7,8,9}; int b=5; for(int i=7; i>=4;i--){ a[i+1]=a[i]; } a[4]=b; for(int i=0;i<=8;i++){ cout<<a[i]<<' '; return 0; }
Main.cc: In function 'int main()': Main.cc:14:1: error: expected '}' at end of input } ^