Cemented strings

Problem Name:
Cemented strings
Site:HackerEarth
Links:
Tags:
Problem setters: