WHAT IS WRONG IN THIS CODE:-
https://www.codechef.com/viewsolution/46935617
PROBLEM LINK:-
Remember that both Alice and bob should be next to each other.
According to your code you are ONLY checking if they have same speed, but you should also check if they are next to each other also in that second(both are at the same x coordinate at the time).
ok thanks