Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
48594 | menziyi | 忽略大小写的字符串比较 | C++ | Compile Error | 0 MS | 0 KB | 228 | 2024-06-09 17:18:07 |
#include<bits/stdc++.h> using namespace std; char a[81],b[81]; int main() { gets(a); gets(b); strlwr(a); strlwr(b); if(strcmp(a,b)==0) cout<<"="; else if(strcmp(a,b)<0) cout<<"<"; else cout>>">"; return 0; }