QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#300543#7901. Basic Substring Structureucup-team2818WA 9ms13888kbC++148.2kb2024-01-08 14:04:072024-01-08 14:04:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 5708kb

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: 9ms
memory: 13888kb

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:

88
88
113
3
90
6
94
112
106
20
88
86
22
110
88
2
113
113
114
109
3
20
86
25
3
85
20
94
6
24
23
91
23
24
96
90
20
23
92
25
91
5
19
22
109
114
111
108
103
108
113
109
91
110
2
111
22
112
2
23
23
88
104
20
111
87
110
3
96
116
93
5
89
3
104
110
113
23
91
114
5
22
20
105
2
18
114
109
107
17
92
18
17
17
9...

result:

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