Help me in solving SCALENE problem

My issue

error

My code


 #include<iostream>
 using namespace std;
    int main()
    {
        
        int t;
    cin>>t;
    for(;;t--)
    { int a,b,c;
    cin>>a>>b>>c;
    if(a!=b && b!=c && c!=a)
    {cout<<"yes";}
    else
      {cout<<"no";}
      }
      return 0;
      }

Learning course: Basic Math using C++
Problem Link: Scalene Triangle Practice Problem in - CodeChef

include
using namespace std;

int main()
{
int t;
cin>>t;
for(int i=1;i<=t;i++)
{
int a,b,c;
cin>>a>>b>>c;
if(a==b || a==c || b==c)
cout<<“NO\n”;
else
cout<<“YES\n”;
}
return 0;
}
your CODE IS ABSOLUTELY CORRECT , IF YOU USE || OPERATOR IN THE PLACE OF && OPERATOR