鉴于很多同学跟我一样,不停的WA,但是却不知错在哪,我将找到的一些测试用例贴了出来,希望可以帮助你们成功AC
NOTAPALINDROME -- is not a palindrome.
ISAPALINILAPASI -- is a regular palindrome.
2A3MEAS -- is a mirrored string.
ATOYOTA -- is a mirrored palindrome.
MAIAM -- is a mirrored palindrome.
123ESI -- is not a palindrome.
123ES1 -- is a mirrored string.
DEO3D -- is not a palindrome.
9339 -- is a regular palindrome.
A -- is a mirrored palindrome.
B -- is a regular palindrome.
E -- is a regular palindrome.
M -- is a mirrored palindrome.
1 -- is a mirrored palindrome.
3 -- is a regular palindrome.
2 -- is a regular palindrome.
4 -- is a regular palindrome.
再加上一个AGA ,这是我无意中再网上看到的例子,这个例子让我发现了一个 BUG ,
AGA -- is a regular palindrome