@ashutosh_cric, I adjusted for this case in a newer solution. https://www.codechef.com/viewsolution/12554634
The first test case still fails. Any idea why? In this solution, I consider the case wherein there are multiple roads between two vertices.
@ashutosh_cric, I adjusted for this case in a newer solution. https://www.codechef.com/viewsolution/12554634
The first test case still fails. Any idea why? In this solution, I consider the case wherein there are multiple roads between two vertices.
@ashutosh_cric, I adjusted for this case in a newer solution. https://www.codechef.com/viewsolution/12554634
The first test case still fails. Any idea why? In this solution, I consider the case wherein there are multiple roads between two vertices.