Substrings Sort

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