Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
164885 王慕哲 18删除成绩 C++ Compile Error 0 MS 0 KB 474 2026-11-07 17:55:16

Tests(0/0):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int n,a[101],m; cin>>n; for(int i=1;i<=n;i++){ cin>>a[i]; } cin>>m; for(int j=m;j<=n;j++){ a[j]=a[j+1]; }for(int g=1;g<n;g++) cout<<a[g]<<" "; //对面是扎啤 kskbl }


Run Info:

Main.cc: In function 'int main()':
Main.cc:16:42: error: expected '}' at end of input
     }for(int g=1;g