Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
121228 龚睿晨 18删除成绩 C++ Accepted 1 MS 268 KB 264 2025-06-07 09:58:28

Tests(10/10):


Code:

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