QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#456138#4415. Spanning Tree Gameucup-team3690WA 1779ms14580kbC++172.4kb2024-06-27 11:26:572024-06-27 11:26:58

详细

Test #1:

score: 0
Wrong Answer
time: 1779ms
memory: 14580kb

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:

32693
76718
210509
259125
260549
292686
295238
364028
364028
364028
364028
364028
364028
364028
335747
333736
33108
119852
161133
168791
252500
400901
400901
400901
400901
400901
400901
400901
400901
388537
274064
241726
189538
183513
177961
26414
616
312
7852
11992
182684
182684
182684
182684
18268...

result:

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