| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 80444 | 石晋骁 | 18成绩修改 | C++ | Runtime Error | 1 MS | 276 KB | 258 | 2024-07-11 14:37:59 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,x,f; int a[n]; cin >> n; for(int i = 1;i <= n;i++){ cin >> a[i]; } cin >> x; cin >> f; a[x] = f; for(int j = 1;j <= n;j++){ cout << a[j] << " "; } return 0; }
*** stack smashing detected ***: ./Main terminated