結果 : check palindrome string in cpp