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 20:57:15
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
125662xc2022hhyWrong Answer
1544 KB
0 ms
C++283 bytes2023-06-07 17:21:52
125660xc2022hhyCompile Error
0 KB
0 ms
C++282 bytes2023-06-07 17:21:14
125649xc2022hhy
C
Accepted
1544 KB
0 ms
C++310 bytes2023-06-07 17:04:39
125640xc2022hhy
C
Accepted
1544 KB
0 ms
C++385 bytes2023-06-07 16:52:33
125227xc2022hhy
D
Accepted
1544 KB
0 ms
C++376 bytes2023-05-31 19:22:17
125226xc2022hhy
D
Compile Error
0 KB
0 ms
C++296 bytes2023-05-31 17:22:43
125223xc2022hhy
B
Accepted
1544 KB
0 ms
C++270 bytes2023-05-31 17:17:35
125214xc2022hhy
A
Accepted
1544 KB
0 ms
C++222 bytes2023-05-31 17:05:54
125210xc2022hhy
D
Wrong Answer
1544 KB
0 ms
C++292 bytes2023-05-31 16:59:38
103360xc2022hhy
D
Wrong Answer
1544 KB
0 ms
C++325 bytes2022-11-27 16:39:45