結果 : check string palindrome in cpp