Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
100160 | 令狐文丽 | 字符串相等判断 | C++ | Wrong Answer | 0 MS | 280 KB | 262 | 2024-12-05 20:46:27 |
#include<iostream> #include<cstring> using namespace std; int main(){ char ch1[1001] ,ch2[1001]; //strlen(str);//长度 //strcat(ch1,ch2)//; //strcpy(ch1,ch2); //strcmp();//比较 cin>>ch1>>ch2; cout<<strcmp(ch1,ch2)<<endl; return 0; }
------Input------
9KKt2LEjCIM5UVUI3oG4gMD8 9KKt2LEjCIM5UVUI3oG4gMD8
------Answer-----
yes
------Your output-----
0