Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
82181 陈俊洁 字符串相等判断 C++ Runtime Error 1 MS 276 KB 219 2024-07-13 09:06:58

Tests(2/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { char s1[151],s2[151]; int s1_l,s2_l; cin>>s1>>s2; s1_l=strlen(s1); s2_l=strlen(s2); if(s1_l==s2_l){ cout<<"yes"; }else{ cout<<"no"; } }


Run Info:

Runtime Error:Segmentation fault