Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
79811 吴雨轩 字符串长度判断 C++ Accepted 1 MS 276 KB 249 2024-07-10 15:26:00

Tests(10/10):


Code:

#include<iostream> #include<cstring> using namespace std; int main(){ char a[150]; cin>>a; char b[105]; cin>>b; int s1 = strlen(a); int s2 = strlen(b); if(s1 == s2){ cout<<"yes"; } else{ cout<<"no"; } }