in nicepiece problem what is wrong with this code

#include<bits/stdc++.h>
#include
#include<stdlib.h>
using namespace std;
int main(){
int t;
cin>>t;
while(t–){
int a,b,c,d;
cin>>a>>b>>c>>d;
if(a==b and c==d and a==c) cout<<“0”<<endl;
else if((a+b)%2==(c+d)%2){
cout<<“2”<<endl;
}
else cout<<“1”<<endl;

}
return 0;

}