Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
66435 hu 验证子串 C++ 编译错误 0 MS 0 KB 258 2025-06-28 23:05:50

Tests(0/0):


include<bits/stdc++.h> using namespace std; int main() { char s[200], g[200]; cin>>g>>s; if(strstr(s,g)) cout<<g<<" is substring of "<<s<<endl; else if(strstr(g,s)) cout<<s<<" is substring of "<<g<<endl; else cout<<"No substring"; return 0; }


测评信息: