Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
102671 付博苏逸 字符串相等判断 C++ Wrong Answer 1 MS 272 KB 238 2024-12-22 14:09:21

Tests(0/10):


Code:

#include<iostream> #include<cstring> using namespace std; int main(){ char str1[1001],str2[1001]; cin.getline(str1,1001); cin.getline(str2,1001); if(str1==str2){ cout<<"yes"; }else{ cout<<"no"; } return 0; }


Run Info:

------Input------
9KKt2LEjCIM5UVUI3oG4gMD8 9KKt2LEjCIM5UVUI3oG4gMD8
------Answer-----
yes
------Your output-----
no