Page 1 of 1
689 - Napoleon's Grumble
Posted: Thu Nov 01, 2007 4:23 am
by annhy
Hi, I need some sticky test cases.
I can't imagine how the special cases are.
Or, someone please check for my I/O.
Input:
output:
Thanks for your helping.
Posted: Thu Nov 01, 2007 12:56 pm
by annhy
OK...
There is not think special.
I should read the problem statements more carefully.
Here is my test I/O, hope it helps.
Code: Select all
As the first man said to the
first woman:
"Madam, I'm Adam."
She responded:
"Eve."
AAABCAAAAAA
CABAABACdeABAf
AABBBCCDDDD
My AC program outputs:
Code: Select all
TOT
MADAM MADAMIMADAM
DED ERE
EVE
AAAAA AAAAAA
ABA CABAABAC
BBB DDD DDDD
Re: 689 - Napoleon's Grumble
Posted: Sat Oct 04, 2014 6:03 pm
by mars kaseijin
Just as I thought, the sample input cherry picks letters to form palindromes. Here are my inputs:
tool loot
old gold
pool loop
scoop tea eat poop
yacht natch
stripe pride
fool aloof
feed beef
evil live
deal lead
merit item
pit tip
error terror
rage gear
keep eye peek
leg gel
owl flow
utter rut
doom mood,
meat team!
reap pear
fee reef
eel keel
beam mead
moor room
dog god
my outputs:
TOOLLOOT
POOLLOOP
FOOLALOOF
EVILLIVE
PITTIP
KEEPEYEPEEK
LEGGEL
DOOMMOOD
FEEREEF
MOORROOM
DOGGOD