QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#515910#6404. Shuttle TourZhaoZiLongML 0ms0kbC++203.0kb2024-08-12 11:23:352024-08-12 11:23:35

详细

Test #1:

score: 0
Memory Limit Exceeded

input:

5 6
10110
1 2 1
1 3 10
2 4 100
3 5 1000
2 1 5
1 3
2 1 5
2 2 4
2 5 5
2 1 1

output:

222
202
0
-1
0

result: