Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
79803 李雨昊 字符串长度判断 C++ Accepted 1 MS 276 KB 260 2024-07-10 15:20:57

Tests(10/10):


Code:

#include<iostream> #include<cstring> using namespace std; int main() { char a[150]; cin >> a; char d[150]; cin >> d; int b = 0, c = 0; b = strlen(a); c = strlen(d); if(b == c){ cout<<"yes"; }else{ cout<<"no"; } return 0; }