Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
155494 张蔚林 字符串相等判断 C++ Runtime Error 1 MS 272 KB 197 2026-06-07 12:24:08

Tests(2/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ char z[51]={},s[51]={}; int l; cin>>z>>s; l=strcmp(z,s); if(l==0){ cout<<"yes"; } else{ cout<<"no"; } return 0; }


Run Info:

Runtime Error:Segmentation fault