| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 82190 | 杜奕辰 | 字符串相等判断 | C++ | Wrong Answer | 1 MS | 276 KB | 351 | 2024-07-13 09:09:34 |
#include<bits/stdc++.h> using namespace std; int main(){ char a[255]; char b[255]; cin>>a>>b; for(int i=0;i<=strlen(a);i++){ if(a[i]>='A'&&a[i]<='Z'){ a[i]=a[i]+32; } } for(int i=0;i<=strlen(b);i++){ if(b[i]>='A'&&b[i]<='Z'){ b[i]=b[i]+32; } } if(a==b){ cout<<"yes"; }else{ cout<<"no"; } return 0; }
------Input------
9KKt2LEjCIM5UVUI3oG4gMD8 9KKt2LEjCIM5UVUI3oG4gMD8
------Answer-----
yes
------Your output-----
no