验证子串
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
说明
输入两个字符串,验证其中一个串是否为另一个串的子串。
输入格式
输入两个字符串, 每个字符串占一行,长度不超过且不含空格。
输出格式
若第一个串 是第二个串 的子串,则输出"() is substring of
()";
否则,若第二个串 是第一个串的子串,输出"() is substring of
()";
否则,输出"No substring
"。
样例
abc
dddncabca
abc is substring of dddncabca
算法组第五次授课
- Status
- Done
- Rule
- IOI
- Problem
- 7
- Start at
- 2023-11-26 14:00
- End at
- 2023-11-26 17:00
- Duration
- 3 hour(s)
- Host
- Partic.
- 23