CONTEST ID : 1035 - 入门十五(数组)

格式:类型,数组名字[数组长度];
比如:int a[10]; 表示定义了一个长度为10的数组,数组名为a,其中数组下标从0开始,即a[0], a[1], a[2]...a[9];
输入这10个数,可以使用for循环实现
for(int i=0; i<10; i++) cin>>a[i];
也可以对其中的某个值赋值,比如a[0] = 1,a[5] = 3;
整个数组的输出,也可以for循环实现。
可以把一维数组理解成,一维的表格。


SERVER TIME : 2025-07-11 16:04:38
Finished

STATUS : End    OPEN : Private
Start Time : 2019-10-30 10:00:00
End Time : 2023-12-31 14:00:00


Problem ID    User    Language    Result   

RunID User Problem ID Result Memory Time Language Code Length Submit Time
12427wyx123
G
Accepted
1544 KB
0 ms
C++336 bytes2019-11-17 15:27:52
12424wyx123
G
Presentation Error
1544 KB
0 ms
C++357 bytes2019-11-17 15:25:52
11413wyx123Accepted
1544 KB
0 ms
C++324 bytes2019-11-07 15:40:34
11270wyx123
H
Accepted
1544 KB
0 ms
C++340 bytes2019-11-07 12:27:55
10947wyx123
A
Accepted
1548 KB
0 ms
C++220 bytes2019-11-05 12:39:52
10932wyx123Accepted
1548 KB
0 ms
C++281 bytes2019-11-05 12:35:06
10895wyx123Wrong Answer
1548 KB
0 ms
C++300 bytes2019-11-05 12:19:28
10888wyx123Wrong Answer
1548 KB
0 ms
C++227 bytes2019-11-05 12:17:33
10270wyx123
E
Accepted
1544 KB
0 ms
C++308 bytes2019-10-31 15:50:35
10262wyx123
C
Accepted
1584 KB
0 ms
C++338 bytes2019-10-31 15:27:38
10254wyx123
C
Compile Error
0 KB
0 ms
C++318 bytes2019-10-31 13:20:08
10253wyx123
C
Compile Error
0 KB
0 ms
C++317 bytes2019-10-31 13:19:56
10230wyx123
D
Accepted
1548 KB
0 ms
C++296 bytes2019-10-31 13:12:56
10202wyx123
D
Presentation Error
1548 KB
0 ms
C++294 bytes2019-10-31 13:07:20
10199wyx123
D
Presentation Error
1548 KB
0 ms
C++294 bytes2019-10-31 13:07:06
9889wyx123
B
Accepted
1548 KB
0 ms
C++263 bytes2019-10-30 12:46:09
9887wyx123
B
Runtime Error
1544 KB
0 ms
C++261 bytes2019-10-30 12:45:13
9884wyx123
B
Runtime Error
1544 KB
0 ms
C++266 bytes2019-10-30 12:43:11