Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
122172 罗迎甲 31单词的长度 C++ Wrong Answer 1 MS 280 KB 674 2025-06-14 17:34:48

Tests(0/5):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ string a; string b; getline(cin,a); getline(cin,b); int a1=a.length(); int b1=b.length(); int c; for(c=0;c<a1;c++) { if(a[c]>='A'&&a[c]<='Z') a[c]=a[c]+32; } for(c=0;c<b1;c++) { if(b[c]>='A'&&b[c]<='Z') b[c]=b[c]+32; } if(a==b) cout<<'='; else if(a>b) cout<<'>'; else cout<<'<'; return 0; }


Run Info:

------Input------
I will stare no effort to master a good command of advance XXX.
------Answer-----
1,4,5,2,6,2,6,1,4,7,2,7,4
------Your output-----
>