Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
113536 | 李明秦 | 18插队喝水 | C++ | Wrong Answer | 0 MS | 260 KB | 295 | 2025-03-16 09:12:14 |
#include<iostream> #include<cstdio> #include<cstring> #include<cmath> using namespace std; int main(){ int a[100]={1,2,3,4,5,6,7,8,9},b; for(int i=9;i>4;i--){ a[i+1]=a[i]; } a[5]=5; for(int i=0;i<10;i++){ cout<<a[i]; } return 0; }
------Input------
48 10 48 51 58 40 90 5 59 60 47 97 8 68 52 35 37 70 9 76 1 86 75 33 42 63 18 44 92 36 10 19 6 42 69 40 41 33 22 48 1 84 58 72 24 36 88 27 83 16
------Answer-----
10 48 51 58 40 90 5 59 60 47 97 8 68 52 35 83 37 70 9 76 1 86 75 33 42 63 18 44 92 36 10 19 6 42 69 40 41 33 22 48 1 84 58 72 24 36 88 27
------Your output-----
1234556789