My issue
For test case (5,4,4)
How the valid answer is (4,4), (4,5) , here if B>=A, then how the frog will be able to climb if the difference between them is not greater than 1
My code
#include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
}
Problem Link: Amphibian Escape Practice Coding Problem