QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#273893#7883. Takeout Deliveringucup-team2812#ML 10ms9244kbPython32.2kb2023-12-03 05:21:492023-12-03 05:21:49

詳細信息

Test #1:

score: 100
Accepted
time: 10ms
memory: 9244kb

input:

4 6
1 2 2
1 3 4
1 4 7
2 3 1
2 4 3
3 4 9

output:

5

result:

ok 1 number(s): "5"

Test #2:

score: -100
Memory Limit Exceeded

input:

300000 299999
80516 80517 597830404
110190 110191 82173886
218008 218009 954561262
250110 250111 942489774
66540 66541 156425292
34947 34948 239499776
273789 273790 453201232
84428 84429 439418398
98599 98600 326095035
55636 55637 355015760
158611 158612 684292473
43331 43332 43265001
171621 171622 ...

output:


result: