Two Substrings

Problem Name:
Two Substrings
Site:CodeForces
Links:
Tags:
Problem setters: