30分求助!!!

B. 验证码

Problem ID: 9680

Contest ID: 3988

必做题

Wrong Answer

时间:0.2s 空间:64M

【题目描述】

众所周知,验证码是不区分大小写的。

现在给两串验证码,判断是否一致。

【输入描述】

多组数据,每组两个字符串,每个字符串仅由数字或字母组成。

【输出描述】

如果一致输出"YES", 否则输出"NO"。多组结果以换行隔开。

【样例输入】

aC666 Ac666 123a sdyfgsd hh123 hh1234

【样例输出】

YES NO NO

约定:

字符串长度为1至10个字符。

提示:

#include<bits/stdc++.h>
using namespace std;
int main(){
    int x;
    cin>>x;
    if(x==1){
        cout<<"no";
    }else if(x==2||x==3){
        cout<<"yes";
    }else{
        cout<<"invalid";
    }
    return 0;
}