QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#739531#9732. Gathering Mushroomsucup-team5027WA 30ms31504kbC++143.2kb2024-11-12 22:02:042024-11-12 22:02:04

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 6ms
memory: 31504kb

input:

3
5 3
2 2 1 3 3
2 5 1 2 4
5 4
2 2 1 3 3
2 5 1 2 4
3 10
1 2 3
1 3 2

output:

41
45
14

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 30ms
memory: 30624kb

input:

6000
19 48
18 19 18 19 11 9 15 19 12 18 11 18 9 18 9 18 19 11 15
12 14 18 8 1 3 19 5 13 14 15 2 14 5 19 2 19 12 9
15 23
3 1 1 3 6 1 4 1 1 6 6 4 12 4 6
14 1 8 8 6 6 12 14 6 8 5 7 14 2 5
9 140979583
4 5 8 9 2 7 6 8 2
8 9 4 6 9 2 4 7 8
4 976357580
2 3 1 3
2 1 1 4
6 508962809
4 3 4 3 4 4
4 5 4 5 5 6
13 ...

output:

11 7 6
7 9 1
11 10 2
11 3 1
7 10 5
7 10 4
11 7 6
11 2 4
7 2 5
11 5 1
11 11 6
11 11 7
326496
241680
239424
162960
10965
70700
92165
170469
460845
146412
346560
142803
155081
16200
42840
131835
311874
245575
169129
308385
52290
33957
193971
181262
143223
227145
180780
358512
267750
249480
155820
28665...

result:

wrong answer 1st lines differ - expected: '3420', found: '11 7 6'