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.
4
You are given a string S. Find the number of different substrings in S.
Input One line containing a string S consisting of lowercase Latin letters.
Output Output one integer - answer to the question.
Constraints 1 <= length of S <= 1200
A password reset link will be sent to the following email id
?