Luftwaffe's blog

By Luftwaffe, history, 5 years ago, In English
  • Vote: I like it
  • -10
  • Vote: I do not like it

By Luftwaffe, history, 5 years ago, In English

https://codeforces.com/contest/1076/submission/46059352

https://codeforces.com/problemset/problem/1076/D

I can't figure out why I get WA on test 9. My solution is run Dijkstra through all vertices, then BFS to get k edges or less. Please help me.

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it