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 15:35:18
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
45702chenxuanlinAccepted
1544 KB
0 ms
C++256 bytes2021-02-23 12:21:20
45701chenxuanlin
H
Accepted
1544 KB
0 ms
C++284 bytes2021-02-23 12:12:08
45700chenxuanlin
G
Accepted
1544 KB
0 ms
C++275 bytes2021-02-23 12:04:31
45699chenxuanlinAccepted
1544 KB
0 ms
C++302 bytes2021-02-23 11:59:22
45698chenxuanlin
E
Accepted
1544 KB
0 ms
C++313 bytes2021-02-23 11:58:56
45697chenxuanlin
D
Accepted
1544 KB
0 ms
C++248 bytes2021-02-23 11:57:09
45696chenxuanlin
C
Accepted
1544 KB
0 ms
C++306 bytes2021-02-23 11:51:21
45695chenxuanlin
C
Wrong Answer
1544 KB
0 ms
C++295 bytes2021-02-23 11:46:36
45694chenxuanlin
C
Wrong Answer
1544 KB
0 ms
C++269 bytes2021-02-23 11:44:38
45693chenxuanlin
B
Accepted
1548 KB
0 ms
C++236 bytes2021-02-23 11:40:46
45692chenxuanlin
A
Accepted
1544 KB
0 ms
C++189 bytes2021-02-23 11:34:15