QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#604104#7749. A Simple MST ProblemZhaoZiLongTL 989ms127692kbC++201.9kb2024-10-01 23:09:162024-10-01 23:09:16

詳細信息

Test #1:

score: 100
Accepted
time: 826ms
memory: 116284kb

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: 876ms
memory: 121268kb

input:

2
27 30
183704 252609

output:

8
223092

result:

ok 2 lines

Test #3:

score: 0
Accepted
time: 917ms
memory: 117468kb

input:

1
183704 252609

output:

223092

result:

ok single line: '223092'

Test #4:

score: 0
Accepted
time: 989ms
memory: 127692kb

input:

2
639898 942309
30927 34660

output:

983228
11512

result:

ok 2 lines

Test #5:

score: -100
Time Limit Exceeded

input:

3
21731 33468
46192 370315
1712 3753

output:

34608
948775
5299

result: