I didn't read your code but I compared the output from your program with
my ACC one.
my output is
Code: Select all
I evol .uoy
uoY evol .em
er'eW a yppah .ylimaf
Code: Select all
I evol .uoy
uoY evol .em
er'eW a yppah .ylimaf
-----------> there is a blank line
But I tell you so once you get rid of WA you can get ACC without PE
BTW I use getchar to solve this problem in 0.000 second!!
If you want to try a different approach, that's the way!!
Hope this will help you ~~
![:D](./images/smilies/icon_biggrin.gif)