Ensure that you are logged in and have the required permissions to access the test.
A server error has occurred. Please refresh the page or try after some time.
An error has occurred. Please refresh the page or try after some time.
3.6
Given 2 strings, P and T, find the number of occurrences of P in T.
Input:
First line contains string P, and second line contains the string T.
Output:
Print a single integer, the number of occurrences of P in T.
Constraints:
1≤|P|≤|T|≤105
A password reset link will be sent to the following email id
?