The problem is Chef and Frogs. I have solved it using DFS and I am getting a WA. Can someone please point out the error ?
My solution is My Solution
Stuck on a codechef problem
The problem is Chef and Frogs. I have solved it using DFS and I am getting a WA. Can someone please point out the error ?
My solution is My Solution