Run ID:159256
提交时间:2026-08-27 13:21:04
#include<bits/stdc++.h> using namespace std; int main(){ string s,q; getline(cin,s); getline(cin,q); int a=s.size(),b=q.size(); for(int i=0;i<a;i++){ if(s[i]>='a'&&s[i]<='z') s[i]-=32; } for(int i=0;i<b;i++){ if(q[i]>='a'&&q[i]<='z') q[i]-=32; } if(s<q) cout<<'<'<<endl; else if(s==q) cout<<'='<<endl; else cout<<'>'<<endl; return 0; }