Help on 1076D — Edge Deletion

Revision en2, by Luftwaffe, 2018-11-22 15:55:52

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.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Luftwaffe 2018-11-22 15:55:52 38
en1 English Luftwaffe 2018-11-22 15:55:07 291 Initial revision (published)