Exponential Sub-Palindromes

CodeChef - EXPALIN