Run ID:98327
提交时间:2024-11-19 14:18:10
#include<bits/stdc++.h> #include<cstdio> using namespace std; int main(){ char a[100],b[100],c[100],d[100]; int l1=0,l2=0; gets(a); gets(b); strlwr(a); strlwr(b); for(int i=0;i<strlen(a);i++) { if(a[i]!=' ') c[l1++]=a[i]; } for(int i=0;i<strlen(b);i++) { if(b[i]!=' ') d[l2++]=b[i]; } if(strcmp(c,d)>0) { cout<<">"; } else if(strcmp(c,d)==0) { cout<<"="; } else cout<<"<"; return 0; }