| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 128954 | 周荣浩 | 字符串相等判断 | C++ | Wrong Answer | 1 MS | 268 KB | 330 | 2025-08-21 13:42:37 |
#include<bits/stdc++.h> using namespace std; char a[100]; char b[100]; int main(){ cin>>a>>b; int c=strlen(a); int d=strlen(b); if(c!=d){ cout<<"no"; return 0; }else{ for(int i=0;i<c;i++){ if(a[i]!=b[i]){ cout<<"no"; return 0; } } } cout<<"yes"; return 0; }
------Input------
w259Qd0QvXC1Dt5Q0GlJH5L4hfc56tU7E6dQY989Htl617587G7HU3OWAf9h3ex3bJQi14Pf226sdAZUI2f5Vz8HLj9G999HiFQ56Y2aLQv4Bdy13cMFSxYiy8U2mQM1178x9JPKs924FK3Mb97RwlUT2vwQCKEa5BAydRx6YCa994uT16Oc51n4veZ4n1J884lSQyV22Vcj1nN7XZqZ6bzvF0997SP9607nxCH1G50S7QsJbM3g9Z874uOmidurZXi5C7SD84g7LzJf1LEl1BJ1oeqBajfSTJS5g5H4aAaShh8im5NO8h63x1LXr2sL2U0vh6Y49TEkjT7PzFh7BTcHSqh69c2YJ26g0qWla525FBW4SdZg82nXnFW9025qqTP2Jf0DPDZ8LIe4S1R1QnV0RdW4O231k3LPZ98G7h89nImqE32Q7y99GV1U1t0N5469wkv29s9x3AweMkHlUHd0AN047X4y97xMvsQAn0oMJ4K16d22
------Answer-----
yes
------Your output-----
no