Can anyone tell me what is wrong with my code?

question code:TANDJ1
my solution:
#include

using namespace std;

int main() {

// your code goes here

int t;

cin >> t;                                                    

while (t--)                                                  

{int a,b,c,d,k;

cin>>a>>b>>c>>d>>k;

if(((c-a)%2==0 && (d-b)%2!=0)||((c-a)%2!=0&&(d-b)%2==0)){if(k%2==0){cout<<"no\n";}

    else{cout<<"yes\n";};

}

else{

    if(k%2==0){cout<<"yes\n";}

    else{cout<<"no\n";};

};

   

}

return 0;

}

Seems like issue with (d-b)%2==0 try putting int inside parenthesis ((d-b)%2)==0.
what’s happening is 2==0 is evaluated false always here.