Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
128049 | 唐诗阳 | 字符串相等判断 | C++ | Accepted | 1 MS | 280 KB | 365 | 2025-07-30 19:59:29 |
#include<iostream> #include<cstdio> //scanf()\printf() #include<cstring> #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ char a[1001],b[1001]; int n,s1=strlen(a),s2=strlen(b); cin>>a>>b; n=strcmp(a,b); if(n==0) cout<<"yes"; else cout<<"no"; return 0; }