QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#68754#5229. Hazelnut HarvestinglarryzhongWA 7699ms389612kbC++172.8kb2022-12-19 14:14:532022-12-19 14:14:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 7699ms
memory: 389612kb

input:

160
4
0 0
2 1
5 0
0 6
5
10 10
12 10
8 10
5 10
8 8
4
1 1
3 3
0 4
4 6
20
9 6
18 4
17 13
9 18
9 7
16 8
0 3
7 12
4 16
5 10
5 11
3 8
16 4
12 8
5 2
15 16
5 7
10 3
19 15
11 2
20
2 4
14 14
16 6
5 9
2 9
5 16
13 15
8 15
5 14
4 1
13 8
8 4
10 13
2 17
9 6
2 8
16 3
5 2
9 8
6 5
19
12 13
6 6
6 4
14 3
6 0
12 15
4 14...

output:

20
28
42
135
139
136
82
93
170
194
163
109
85
1000002
250001000001
1000002
2560000000000
1920000000000
8778
2643382
56
38
34
36
33
81
56
40
42
34
49
81
60
56
36
46
26
38
30
63
21
22
25
24
24
16
25
30
20
30
20
20
25
20
14
30
16
30
20
30
64
45
72
72
72
54
72
72
72
43
54
36
56
63
72
46
64
48
81
49
42
7...

result:

wrong answer 1st lines differ - expected: 'Case #1: 20', found: '20'