Time limit
3000 ms
Memory limit
262144 kB
Source
VK Cup 2012 Qualification Round 2
Tags
*special problem brute force dp strings *1500
Editorial
Announcement Tutorial (en)
Descriptions:

Palindrome pairs

CodeForces - 159D