How to solve taxr

https://www.codechef.com/LOCSEP17/problems/TAXR ?

see this : https://www.hackerearth.com/practice/algorithms/graphs/shortest-path-algorithms/practice-problems/algorithm/diverging-directions-c3a64882/description/

1 Like

Mate…

Can you copy and paste the editorial here

It isn’t opening for me because i don’t have account on hackerearth…

Thanks in advance @pk301

1 Like