Can anyone tell me why my code is giving TLE. Here is the link to my solution https://www.codechef.com/viewsolution/19548230 Complexity O(Max(E+V,Q)).
↧
Can anyone tell me why my code is giving TLE. Here is the link to my solution https://www.codechef.com/viewsolution/19548230 Complexity O(Max(E+V,Q)).