Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
6953 詹梓涵 18删除成绩 C++ Accepted 1 MS 264 KB 292 2025-03-29 10:10:28

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int a[101],n,z; int main(){ cin>>n; for(int i=1;i<=n;i++){ cin>>a[i]; } cin>>z; for(int i=z;i<n;i++){ a[i]=a[i+1]; } for(int i=1;i<n;i++){ cout<<a[i]<<endl; } return 0; }