Not running for all test case
the answer doesnt exist when n == 1 or 2 so we have to include them in the if condition as well, moreover since n can be large you need to make n, b, c long long
1 Like
the answer doesnt exist when n == 1 or 2 so we have to include them in the if condition as well, moreover since n can be large you need to make n, b, c long long