Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
113199 | 李朋秦 | 18成绩修改 | C++ | Accepted | 0 MS | 272 KB | 447 | 2025-03-15 13:46:23 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int b=0,a,c[100],d,e; cin>>a; for(int i=0;i<a;i++){ cin>>c[i]; }cin>>d>>e; c[d-1]=e; for(int j=0;j<a;j++){ cout<<c[j]<<" "; } return 0; }