Three Blocks Palindrome (hard version)

Problem Name:
Three Blocks Palindrome (hard version)
Site:CodeForces
Links:
Tags: