1128: 判断子串
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:164
Solved:20
Description
不允许普通用户打印题目,请教师登录后使用。如有疑问请联系管理员!
Input
第一行一个串 表示题目中的string1
第二行一个串 表示题目中的string2
两个串都仅包含字母,string1长度不超过5000000,string2长度不超过100000
Output
如果string2是string1的子串输出yes
如果不是,输出no
Sample Input Copy
aabbccd
bcc
Sample Output Copy
yes