Run ID:1655
提交时间:2023-10-29 08:10:26
# include<iostream> using namespace std; int main() { int n,m; cin>>n; int lst[n]; for(int i = 0; i < n; i++) { cin>>lst[i]; } cin>>m; for(int i = m; i < n; i++) { lst[m-1] = lst[m]; } for(int i = 0; i < n-1; i++) { cout<<lst[i]<<endl; } }