My issue
what is the problem here?
My code
#include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
int t;cin>>t;
while(t--){int a,b,x;cin>>a>>b>>x;
if(a>x&&b>x){
cout<<2<<endl;
}else if(a>x&&b==x||a==x&&b>x){
cout<<1<<endl;
}else{
cout<<0<<endl;
}
}
}
Problem Link: Magical World Practice Coding Problem