QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#604269#7749. A Simple MST ProblemZhangYiDeTL 970ms134144kbC++202.4kb2024-10-02 04:00:142024-10-02 04:00:15

詳細信息

Test #1:

score: 100
Accepted
time: 928ms
memory: 123896kb

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: 920ms
memory: 125344kb

input:

2
27 30
183704 252609

output:

8
223092

result:

ok 2 lines

Test #3:

score: 0
Accepted
time: 893ms
memory: 126980kb

input:

1
183704 252609

output:

223092

result:

ok single line: '223092'

Test #4:

score: 0
Accepted
time: 936ms
memory: 134144kb

input:

2
639898 942309
30927 34660

output:

983228
11512

result:

ok 2 lines

Test #5:

score: 0
Accepted
time: 970ms
memory: 129168kb

input:

3
21731 33468
46192 370315
1712 3753

output:

34608
948775
5299

result:

ok 3 lines

Test #6:

score: 0
Accepted
time: 919ms
memory: 125372kb

input:

4
15237 67700
10918 86104
98287 116980
17432 23592

output:

148811
210927
60893
18687

result:

ok 4 lines

Test #7:

score: -100
Time Limit Exceeded

input:

5
5594 70302
19202 69588
5634 7877
59821 469300
97439 261121

output:

179735
145706
6565
1203684
488669

result: