[//]: #非常麻烦的写法 看不下去 一直WA 疯狂补漏洞)
```
include[HTML_REMOVED]
include[HTML_REMOVED]
using namespace std;
int main(){
string a,b;
getline(cin,a);
getline(cin,b);
int len_1 = a.length();
int len_2 = b.length();
int cnt = 0 ;
// 判断两字符串相等
for(int i = 0 ; a[i] ; i)
{
if(a[i] == b[i] || abs(a[i]-b[i])== 32 ) cnt;
}
if(cnt == len_1 && len_1 == len_2)
{
cout<<”=” ;
return 0;
}
//判断大小
//A和a相差32只要 a[i] == b [i] || abs(a[i] - b[i)) == 32 两者就想等 只需要找到两者第一个不想等的字符然后比大小
for(int i = 0 ; a[i] ; i++) a[i] = (a[i] - 'A') % 32;
for(int i = 0 ; b[i] ; i++) b[i] = (b[i] - 'A') % 32;
if(a[0]>b[0])
{cout<<">"; return 0;}
if(a[0]<b[0])
{cout<<"<"; return 0;}
int i = 0;
while((a[i] == b [i] || abs(a[i] - b[i])== 32) && i < (len_1-1) && i < (len_2-1) )
{
i++;
if(a[i]>b[i])
{
cout<<">" ;
return 0 ;
}
if(a[i]<b[i])
{
cout<<"<" ;
return 0 ;
}
}
if(len_1>len_2)
{
cout<<">" ;
return 0 ;
}
else cout<<"<";
return 0;
}