Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
87485 sh25_ganzy 验证子串 C++ 解答错误 1 MS 244 KB 274 2026-04-18 14:06:21

Tests(1/3):


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


测评信息: