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-12 01:13:52
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
105982xc2022yxcAccepted
1544 KB
0 ms
C++322 bytes2022-12-14 20:19:39
105981xc2022yxcWrong Answer
1544 KB
0 ms
C++322 bytes2022-12-14 20:18:09
105978xc2022yxc
G
Accepted
1544 KB
0 ms
C++325 bytes2022-12-14 20:15:26
105976xc2022yxc
H
Accepted
1544 KB
0 ms
C++399 bytes2022-12-14 20:13:08
105975xc2022yxc
H
Compile Error
0 KB
0 ms
C++400 bytes2022-12-14 20:12:47
105885xc2022yxc
E
Accepted
1544 KB
0 ms
C++396 bytes2022-12-14 16:51:47
105884xc2022yxcAccepted
1544 KB
0 ms
C++395 bytes2022-12-14 16:51:19
105878xc2022yxc
C
Accepted
1544 KB
0 ms
C++446 bytes2022-12-14 16:47:43
105875xc2022yxc
D
Accepted
1544 KB
0 ms
C++303 bytes2022-12-14 16:47:12
105873xc2022yxc
A
Accepted
1544 KB
0 ms
C++193 bytes2022-12-14 16:45:11
105871xc2022yxc
B
Accepted
1544 KB
0 ms
C++251 bytes2022-12-14 16:44:33
105870xc2022yxc
B
Compile Error
0 KB
0 ms
C251 bytes2022-12-14 16:44:18
105868xc2022yxc
B
Compile Error
0 KB
0 ms
C251 bytes2022-12-14 16:42:11