Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
96365 Kevin 字符串包含判断 C++ Runtime Error 1 MS 276 KB 193 2024-11-07 15:11:30

Tests(2/10):


Code:

#include <bits/stdc++.h> using namespace std; int main() { char a[100],b[100]; cin>>a>>b; if(strstr(a,b)==NULL){ cout<<"no"; } else cout<<"yes"; return 0; }


Run Info:

*** stack smashing detected ***: ./Main terminated