QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#451170#8235. Top Clusterucup-team3884#TL 0ms3564kbC++203.6kb2024-06-22 21:56:502024-06-22 21:56:50

详细

Test #1:

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

input:

5 4
3 9 0 1 2
1 2 10
3 1 4
3 4 3
3 5 2
3 0
1 0
4 6
4 7

output:

1
0
3
4

result:

ok 4 number(s): "1 0 3 4"

Test #2:

score: -100
Time Limit Exceeded

input:

500000 500000
350828 420188 171646 209344 4 999941289 289054 79183 999948352 427544 160827 138994 192204 108365 99596 999987124 292578 2949 384841 269390 999920664 315611 163146 51795 265839 34188 999939494 145387 366234 86466 220368 357231 347706 332064 279036 173185 5901 217061 112848 37915 377359...

output:


result: