提交时间:2024-06-09 17:25:55

运行 ID: 48600

//H题 #include<bits/stdc++.h> #include<cstring> using namespace std; char a[85],b[85]; int main() { gets(a);//带有空格的输入串的方法 gets(b); //getline(cin,b); strlwr(a);//大写变小写 strupr 小写变大写 strlwr(b); if(strcmp(a,b)==0) cout<<"="; else if(strcmp(a,b)<0) cout<<"<"; else cout<<">"; return 0; }