Can’t pass last test case.
#include
using namespace std;
void smart(int x){
int i=1;
while(i<=x){
int m,n;
cin>>m>>n;
if((m>=1 && m<=1000000) && (n>=1 && n<=1000000)){
int aayush=-1;
int harsh=0;
while(1){
aayush=aayush+2;
harsh=harsh+2;
if(m<aayush){
cout<<“Harshit”<<endl;
break;
}
else if(n<harsh){
cout<<“Aayush”<<endl;
break;
}
else{
continue;
}
}
}
i++;
}
}
int main() {
int x;
cin>>x;
if(x>=1 && x<=1000){
smart(x);
}
return 0;
}