Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
6932 谢锦卓 18成绩修改 C++ Wrong Answer 0 MS 264 KB 464 2025-03-29 09:09:37

Tests(0/10):


Code:

#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 c[101],m,sc; int main(){ int n; cin>>n; for(int i=1;i<=n;i++){ cin>>c[i]; cin>>m>>sc; c[m]=sc; } for(int i=1;i<=n;i++){ cout<<c[i]<<" "; } return 0; }


Run Info:

------Input------
24 71 84 90 46 44 9 52 35 9 91 14 7 95 83 57 47 64 35 26 23 42 30 49 71 4 12
------Answer-----
71 84 90 12 44 9 52 35 9 91 14 7 95 83 57 47 64 35 26 23 42 30 49 71
------Your output-----
71 46 52 91 95 47 26 30 4 0 0 71 0 7 0 0 0 0 0 0 0 0 42 0