Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
1657 吴奕希 18删除成绩 C++ Accepted 1 MS 264 KB 335 2023-10-29 08:13:33

Tests(10/10):


Code:

# 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[i-1] = lst[i]; } for(int i = 0; i < n-1; i++) { cout<<lst[i]<<endl; } }