Hi guys, I am trying to get better at cp ,recently I stumbled on to a problem which I tried to solve by using topological sort but I two of the test cases are failing and I can't figure out what is wrong. Please help me out

Revision en1, by divyanshchoukse443, 2021-11-16 08:30:04

The name of the problem is "Flight routes" under graphs https://cses.fi/paste/c8431ed4e67b8c202fc06d/

Tags graphs, longest path, directed graph

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English divyanshchoukse443 2021-11-16 12:59:12 468
en1 English divyanshchoukse443 2021-11-16 08:30:04 325 Initial revision (published)