CP Titans 1.0 Running Spiderman Solution

Problem Code : -SPIRUN
Setter : - Shivam Gupta
Editorialist :- Shivam Gupta

Solution
Spiderman Will be happy only if he starts with even block and ends with even block.

Code
#include
using namespace std;

int main() {
// your code goes here
int t;
cin>>t;
while(t–){
int l,r;
cin>>l>>r;
if(l%2==0 && r%2==0){
cout<<“YES”<<endl;
}
else
cout<<“NO”<<endl;
}
}