Polo the Penguin and Strings

Problem Name:
Polo the Penguin and Strings
Site:CodeForces
Links:
Tags:
Problem setters: