Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
81648 尚雨钒 字符串长度判断 C++ Accepted 1 MS 276 KB 234 2024-07-12 14:54:46

Tests(10/10):


Code:

#include <iostream> #include <cstring> using namespace std; int main() { char k[150],s[150]; int k_1,s_1; cin>>k>>s; k_1=strlen(k); s_1=strlen(s); if(k_1!=s_1){ cout<<"no"; }else{ cout<<"yes"; } return 0; }