QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#121134#6122. Impossible-to-finish RaceZhaoZiLongTL 1ms5652kbC++17528b2023-07-07 16:50:022023-07-07 16:50:04

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4 2
40 150
100 185
60 160
80 170

output:

165

result:

ok 1 number(s): "165"

Test #2:

score: 0
Accepted
time: 0ms
memory: 5652kb

input:

4 3
40 150
100 185
60 160
80 170

output:

215

result:

ok 1 number(s): "215"

Test #3:

score: 0
Accepted
time: 1ms
memory: 3492kb

input:

4 3
40 150
100 300
60 160
80 140

output:

160

result:

ok 1 number(s): "160"

Test #4:

score: 0
Accepted
time: 1ms
memory: 5636kb

input:

10 5
31 41
59 26
53 58
97 93
23 84
62 64
33 83
27 95
2 84
19 71

output:

237

result:

ok 1 number(s): "237"

Test #5:

score: -100
Time Limit Exceeded

input:

41152 111
182257016 930588061
48161946 238486760
972227016 5356065
86027096 260499041
669036106 225099150
237412554 751531756
242943966 295403431
389306712 171941587
805402434 808802744
223087510 185548988
484802407 630362813
909265069 146703978
669049492 795632652
880214973 687316602
917988759 1140...

output:


result: