Time limit
1000 ms
Memory limit
262144 kB
Source
Educational Codeforces Round 29
Tags
brute force implementation *900
Editorial
Announcement Tutorial (en)
Descriptions:

Quasi-palindrome

CodeForces - 863A