PAST4O
from Fourth Algorithm Practical Skills Test
PAST4O
O - Treasure Chest
10^5 range, cost
Official Explanation
To a problem that is partially covered by an interval, add an interval that does not affect the result and make it a problem that covers all of it.
Shortest path problem with multiple starts and goals, similar to Start or One Goal. with the addition of a zero cost edge
Cost minimization covered by section → Dijkstra
---
This page is auto-translated from /nishio/PAST4O using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I'm very happy to spread my thought to non-Japanese readers.