QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#608247#7749. A Simple MST Problemucup-team4269TL 998ms169636kbC++202.8kb2024-10-03 20:08:212024-10-03 20:08:22

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 978ms
memory: 165660kb

input:

5
1 1
4 5
1 4
1 9
19 810

output:

0
2
3
9
1812

result:

ok 5 lines

Test #2:

score: 0
Accepted
time: 998ms
memory: 169636kb

input:

2
27 30
183704 252609

output:

8
223092

result:

ok 2 lines

Test #3:

score: 0
Accepted
time: 977ms
memory: 169632kb

input:

1
183704 252609

output:

223092

result:

ok single line: '223092'

Test #4:

score: -100
Time Limit Exceeded

input:

2
639898 942309
30927 34660

output:

983228
11512

result: