Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
120822 张铖睿 18成绩修改 C++ Accepted 1 MS 272 KB 212 2025-06-01 09:37:57

Tests(10/10):


Code:

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