Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
40485 lnx 忽略大小写的字符串比较 C++ 编译错误 0 MS 0 KB 268 2024-02-10 22:02:16

Tests(0/0):


#include<bits/stdc++.h> using namespace std; int main() { char a[80],b[80]; scanf("%s%s",a,b); strlwr(a); strlwr(b); int k=strcmp(a,b); if(k<0) { cout<<"<"; } else if(k==0) { cout<<"="; } else { cout<<">"; } return 0; }


测评信息: