提交时间:2024-02-20 12:09:55

运行 ID: 41330

#include<bits/stdc++.h> using namespace std; int main() { string a,b; getline(cin,a); getline(cin,b); for(int i=0;i<a.length();i++){ if(a[i]>='A'&&a[i]<='Z'){ a[i]+=32; } } for(int i=0;i<b.length();i++){ if(b[i]>='A'&&b[i]<='Z'){ b[i]+=32; } } if(a>b){ cout<<">"; }else if(a<b){ cout<<"<"; }else cout<<"="; return 0; }