Constraint: 1) Length of Str < 100. II) Length of smaller strings < Length of Str. Input Format: The first line of input contains Str. The second line of input contains N. Next N lines of input contain the smaller strings. Output Format: N lines of output contain either 1 (if is sub-string) or 0 (if not). Sample Input1: abcdefg 3 abcd abeg xyz
Answers
Answered by
0
Answer:
what is the difference between congruence and symmetry?
Explanation:
what is the difference between congruence and symmetry?
Similar questions