QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#359672#8235. Top Clusternew_dawn_2RE 4ms92272kbC++147.3kb2024-03-20 19:52:512024-03-20 19:52:52

詳細信息

Test #1:

score: 100
Accepted
time: 4ms
memory: 92272kb

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
Runtime Error

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: