CSES PROBLEM: FLIGHT DISCOUNT...help needed

Revision en2, by AdnanShamsi, 2020-08-06 10:34:03

https://cses.fi/problemset/task/1195 to solve this problem I implemented dijkstra but i am getting wrong answer on test case on test case 7 and 14 .Those test cases are very big hence i am unable to debug with those test cases. Can anyone give me small test cases where my code fails,or any suggestion of why it is failing .Here's my code https://pastebin.com/u08T3SJq .Thanks in advance

Tags #cses, #graph, #shortest_path, #dijkstra

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English AdnanShamsi 2020-08-06 10:34:03 2 Tiny change: ' failing .here's my c' -> ' failing .Here's my c'
en1 English AdnanShamsi 2020-08-06 10:14:27 431 Initial revision (published)