Descriptions:

Palindrome Pairs

CodeForces - 1045I