Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
155801 李嘉峻 18成绩修改 C++ Accepted 1 MS 272 KB 248 2026-06-13 15:38:24

Tests(10/10):


Code:

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