| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 150106 | 陈淮遇 | 18成绩修改 | C++ | Accepted | 1 MS | 276 KB | 266 | 2026-03-22 11:38:25 |
#include<bits/stdc++.h> using namespace std; int main() { int n; cin >> n; int a[n + 1]; for (int i = 1; i <= n; i++) { cin >> a[i]; } int x, y; cin >> x >> y; a[x] = y; for (int i = 1; i <= n; i++) { cout << a[i] << " "; } return 0; }