QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#456146#4415. Spanning Tree Gameucup-team3690WA 1785ms14448kbC++172.3kb2024-06-27 11:31:532024-06-27 11:31:54

詳細信息

Test #1:

score: 0
Wrong Answer
time: 1785ms
memory: 14448kb

input:

20
6 15
1 2 425701 295238
1 3 874429 832238
1 4 910055 724812
1 5 678236 579704
1 6 717810 210509
2 3 333736 610246
2 4 894560 510280
2 5 899852 32693
2 6 510171 259125
3 4 673744 422164
3 5 612935 260549
3 6 776617 404367
4 5 781488 292686
4 6 335747 589598
5 6 364028 76718
7 21
1 2 838601 742089
1...

output:

-1000000000
-1000000000
-1000000000
-1000000000
-1000000000
-1000000000
-1000000000
-1000000000
-1000000000
-1000000000
-1000000000
-1000000000
-1000000000
2499744
2245893
1969383
-1000000000
-1000000000
-1000000000
-1000000000
-1000000000
-1000000000
-1000000000
-1000000000
-1000000000
3411857
3411...

result:

wrong answer 1st lines differ - expected: '873155', found: '-1000000000'