danielz.fyi

Shortest Paths

Jun 20, 20261 min read

djikstra idea: find shortest path, then second shortest, then next shortest---guaranteed to work

https://qoj.ac/problem/13170

https://codeforces.com/contest/605/problem/E (expected value)


Graph View

Created with Quartz v5.0.0 © 2026

  • GitHub
  • Discord Community