QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#511482#7415. Fast Spanning Treeegypt_ioi2024_07RE 0ms27864kbC++231.9kb2024-08-09 22:50:542024-08-09 22:50:54

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 27864kb

input:

5 5
1 4 3 4 0
4 5 5
3 1 1
2 5 2
4 3 1
4 1 4

output:

4
2 3 1 4 

result:

ok 5 number(s): "4 2 3 1 4"

Test #2:

score: -100
Runtime Error

input:

3 5
3 2 2
1 2 6
1 2 6
1 2 3
1 2 6
2 3 6

output:


result: