Rectangl problem so can anyone help

#include
using namespace std;

int main() {
int a,b,c,d,n;
std::cin >> n;
for(int i=0;i<n;i++)

{
std::cout << “enter the sides” << std::endl;
std::cin>>a>>b>>c>>d;
if(a==b&&c==d)
{
std::cout<<“YES”<<std::endl;
}
elseif (b==c&&a==d)
{
std::cout<<“YES”<<std::endl;
}
elseif (a==c&&b==d)
{
std::cout<<“YES”<<std::endl;
}
else
{
std::cout<<“NO”<<std::endl;
}
}
return 0;
}
//can any one help me why it is showing wrong after submitting

Hello @kd_07, Welcome to Codechef Community.

Kindly share the Problem Code or link so that we can figure out what has to be done.

Also, no need to write this, if you are using Online Compilers ( I mean, if it is Online Judge).

Here you go: CodeChef: Practical coding for everyone