QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#426224#3857. Single-track railwayZhangYiDeML 0ms0kbC++201.8kb2024-05-30 23:15:072024-05-30 23:15:08

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Memory Limit Exceeded

input:

2
39
7
1 20
1 70
1 56
1 37
1 37
1 37
1 91

output:


result: