Feedback for BMCV2C08 problem

Learning course: Beginner DSA in C++
Problem Link: CodeChef: Practical coding for everyone


This problem doesn’t seem correct to me can you please check it? The example test case from 10 to 20 seems wrong, it says that we can only ever add 2 when the number is even (which 10 is), but it starts off by adding 1. Also, in the solution, “YES” is printed, if the absolute difference of the numbers is divisible by 3, but if we take 2 and 5, we would never get to 5, as we always only add 2 when starting with an even number.

its not the number its the ith operation which we’ll check for even or odd.
plzz refer my c++ code.
U will get it.

// Update the code below to solve the problem

#include <bits/stdc++.h>
using namespace std;

int main() 
	int t;
    cin >> t;
	    int A,B;
	    cin >> A >> B;
	    int d=B-A;