Introduction - If you have any usage issues, please Google them yourself
describe
There is a function strstr in C language. We write a similar function, mystrstr
int mystrstr(char a[], char b[]);
The function is to find the subscript of the first B string in string a, and if it is not found, return - 1.
input
Input two strings a and B respectively, occupying one line. The string length does not exceed 500 characters.
output
The subscript of the first B string that appears in string a.
Example
input
ABCA
A
output
Zero