Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
82052 赵文浚 字符串相等判断 C++ Runtime Error 0 MS 276 KB 253 2024-07-12 16:57:16

Tests(2/10):


Code:

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


Run Info:

Runtime Error:Segmentation fault