Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
60908 余慕涵 18成绩插入 C++ Wrong Answer 1 MS 280 KB 333 2023-11-24 19:42:33

Tests(0/10):


Code:

#include <iostream> #include <cstdio> #include <cmath> using namespace std; int main(){ int r,l=0,o,m=0,n; cin>>o; int a[o+1]; for(r=0;r<o;r++) cin>>a[r+1]; cin>>n; a[0]=n; for(r=0;r<o;r++) cout<<a[r]<<" "; return 0; }


Run Info:

------Input------
68 87 45 25 60 54 59 89 86 21 27 60 21 67 62 89 89 43 61 79 38 67 57 19 9 81 94 36 72 20 42 54 35 16 15 99 22 1 39 21 88 87 9 79 56 22 79 69 12 1 57 33 83 13 12 21 11 14 75 66 53 8 61 19 24 14 74 20 7 17
------Answer-----
17 87 45 25 60 54 59 89 86 21 27 60 21 67 62 89 89 43 61 79 38 67 57 19 9 81 94 36 72 20 42 54 35 16 15 99 22 1 39 21 88 87 9 79 56 22 79 69 12 1 57 33 83 13 12 21 11 14 75 66 53 8 61 19 24 14 74 20 7
------Your output-----
17 87 45 25 60 54 59 89 86 21 27 60 21 67 62 89 89 43 61 79 38 67 57 19 9 81 94 36 72 20 42 54 35 16 15 99 22 1 39 21 88 87 9 79 56 22 79 69 12 1 57 33 83 13 12 21 11 14 75 66 53 8 61 19 24 14 74 20