Блог пользователя Impostor_Syndrome

Автор Impostor_Syndrome, история, 5 лет назад, По-английски

Each edge — 'i' in the graph has two values associated with it — v1[i] and v2[i].
Let M be one of the possible Spanning Tree of the graph. Then define A = max(v1[i]'s for all the edges in ST) and B = max(v2[i]'s for all the edges in the ST).

Then for all the possible Spanning Trees of this graph find the minimum value of A + B.

  • Проголосовать: нравится
  • -5
  • Проголосовать: не нравится

»
5 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Is there a link where I can submit this problem?

»
5 лет назад, скрыть # |
← Rev. 4  
Проголосовать: нравится 0 Проголосовать: не нравится

iirc link cut tree should work. Check the comments of the editorial of 1386C - Joker for reference.