Time limit
1000 ms
Memory limit
64 kB
OS
Linux
Source
The 8th UESTC Programming Contest Final
Descriptions:

Beautiful Palindromes

UESTC - 116