Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
44201 | chenyanda | 忽略大小写的字符串比较 | C++ | Compile Error | 0 MS | 0 KB | 241 | 2024-03-29 15:20:58 |
#include<bits/stdc++.h> using namespace std; int main() { char a[85],b[85]; gets(a); gets(b); strupr(a); strupr(b); if(strcmp(a,b)==0){ cout<<"="; } else if(strcmp(a,b)>0){ cout<<">"; } else{ cout<<"<"; } }