HELP PLEASE

#include
using namespace std;

int main() {
// your code goes here
int n,a,number,digit;
cin>>n;

for(int i=0;i<n;i++)
{
    cin>>number;
    a=number;
    
 	int rev=0;
    do
    {
        digit=number%10;
        rev=rev*10+digit;
        number=number/10;
    }while(number!=0);
    if(a==rev)
    {
       std :: cout<<"Wins"<<std :: endl;
    }
    else if(a!=rev)
    { 
        cout<<"Loses"<<endl;
    }
}
return 0;

}

What Is The Problem??

My output is the same as the required output but still the status shows -:wrong answer!!

The Codechef Online Judge is case-sensitive.

Thank you very much :grinning:

1 Like

You can thank me by formatting your code in future :slight_smile: