QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#188513#3216. Keep On Movinbijiaolan100 ✓15ms3696kbC++172.0kb2023-09-25 22:00:542023-09-25 22:00:56

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 15ms
memory: 3696kb

input:

104
4
1 1 2 4
3
2 2 2
5
1 1 1 1 1
5
1 1 2 2 3
10
1 6 2 10 2 3 2 10 6 4
10
5 0 3 1 7 3 2 4 4 2
10
1 5 0 6 10 1 8 0 10 9
10
0 4 10 5 5 7 4 9 9 5
10
5 2 6 7 9 4 3 7 2 0
10
0 5 9 4 4 6 1 8 2 1
10
6 6 8 6 4 4 7 2 1 8
10
6 7 4 9 8 3 0 2 0 10
10
7 1 4 9 4 4 2 5 3 5
10
1 3 2 4 1 6 5 3 8 6
10
3 2 3 5 0 0 2 9...

output:

3
6
1
3
23
5
11
9
9
9
25
15
7
7
5
43
15
5
7
25
17
9
47
7
15
9
15
7
9
7
9
11
9
9
7
13
13
11
17
9
9
19
9
5
7
11
11
19
5
11
15
5
11
5
8061
8899
12003
7909
9249
8901
11281
10819
17937
8549
11403
10241
10153
10101
7773
9615
10945
13043
9905
10053
9729
9613
10245
9839
10135
9887
10687
10165
9631
9663
9913...

result:

ok 104 lines