0
已解决
陈清宇
初级守护
初级守护
#include<iostream>
#include<string>
#include<cmath>
#include<cstdio>
using namespace std;
string s1,s2;
int s11=0,s22=0,a=0,b=0;
int main()
{
getline(cin,s1);
getline(cin,s2);
s11=s1.size();
s22=s2.size();
if(s11!=-1)
{
a++;//s1
}
if(s22!=-1)
{
b++;//s2
}
if(a!=0)
{
cout<<s1<<" is included in "<<s2<<endl;
}
else if(b!=0)
{
cout<<s2<<" is included in "<<s1<<endl;
}
else if(a==0 && b==0)
{
cout<<"No including"<<endl;
}
}