QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#300544#7901. Basic Substring Structureucup-team2818WA 8ms3840kbC++148.1kb2024-01-08 14:04:592024-01-08 14:04:59

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3476kb

input:

2
4
2 1 1 2
12
1 1 4 5 1 4 1 9 1 9 8 10

output:

15
217

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 8ms
memory: 3840kb

input:

10000
8
2 1 2 1 1 1 2 2
9
2 2 1 2 1 2 1 2 1
15
2 1 2 1 1 1 1 2 2 1 2 1 2 2 1
2
1 1
10
2 1 1 1 2 2 1 1 2 2
3
2 1 2
11
1 2 2 1 1 2 1 2 2 1 1
14
2 1 1 1 1 2 1 1 1 2 2 1 2 1
12
2 2 2 1 2 2 2 1 1 2 1 2
4
2 1 1 2
8
1 2 2 2 1 2 1 1
8
1 1 2 1 2 1 1 1
6
2 1 1 1 2 2
14
2 2 1 1 1 1 2 2 2 1 2 2 1 1
10
1 2 2 1 1...

output:

87
92
244
3
91
12
107
113
106
20
90
84
23
111
87
3
113
240
231
101
3
20
88
32
3
83
19
106
13
25
20
92
43
37
113
89
19
25
107
25
88
17
20
21
110
235
115
116
100
108
109
106
89
100
3
109
21
114
3
30
26
88
104
20
116
86
110
3
107
292
108
17
91
3
104
141
250
40
87
253
17
21
19
104
3
18
213
109
107
16
95...

result:

wrong answer 1st lines differ - expected: '94', found: '87'