My issue
My code
#include <iostream>
using namespace std;
int main() {
int t;
cin>>t;
while(t--)
{int x,y;
cin>>x>>y;
if(y>x){
cout>>"Yes">>endl;}
else{cout<<"No"<<endl;
}
}
return 0;
}
Problem Link: JERRYCHASE Problem - CodeChef
#include <iostream>
using namespace std;
int main() {
int t;
cin>>t;
while(t--)
{int x,y;
cin>>x>>y;
if(y>x){
cout>>"Yes">>endl;}
else{cout<<"No"<<endl;
}
}
return 0;
}
Problem Link: JERRYCHASE Problem - CodeChef
You had used wrong operator “>>” instead of “<<”.