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

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

Problem :

Given a weighted directed graph with both negative and positive edges, Find a path from vertex 1 to n, in which minimum subpath weight(starting from vertex 1) is maximum.

I can't think of any graph algorithm that can help me solve this problem, so any suggestions are appreciated.

N<=500

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

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

constraints?

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

easi task

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

Binary search for the answer plus BFS to check if it's possible. Details: think.

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

Could you please post the question link? I would like to solve it too.

Thanks in advance :)