I read all posts about problem 401 WA and still I couldn't find my error. I keep getting WA and I really don't like to ask any help for solving these problems because I like programming and I like to be good on it. I have been stock on 401 for awhile. I'll really appreciate if anyone can help me to find the mistake on the following code.. I will delete it as soon as I get the answer.
Hey me too have read all the posts but getting WA. This program runs for every test cases given previously in the posts.
But I think I am making any mistakes about "O"(char) & "0"(letter).
I considered 2 of them same i mean I changed any "0" (zero) to "O" while taking input.
hi ,
I dont think so we need to handle 0 or O.
After removing the part of 0 & O I got ACC. moreover I forgot to print one extra line after each output set.
output
8 -- is a mirrored palindrome.
C -- is regular palindrome.
ATOYOTA -- is a mirrored palindrome.
AT0Y0TA -- is a regular palindrome.
ATOY0TA -- is not a palindrome.
output
8 -- is a mirrored palindrome.
C -- is regular palindrome.
ATOYOTA -- is a mirrored palindrome.
AT0Y0TA -- is a regular palindrome.
ATOY0TA -- is not a palindrome.
Wht is second AT0Y0TA is a regular palindrome? is itn't it suppose to be mirrored? since its regular palindrome and mirrored string.
Note that O (zero) and 0 (the letter) are considered the same character and therefore ONLY the letter "0" is a valid character.
I thought a valid character means that it have a reverse character,
the second AT0Y0TA is formed by two 0(zero), since zero doesn't have the reverse character so it wasn't a mirrored.