689 - Napoleon's Grumble

All about problems in Volume 6. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

Post Reply
annhy
New poster
Posts: 40
Joined: Sun May 27, 2007 1:42 am
Location: Taiwan

689 - Napoleon's Grumble

Post 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:

Code: Select all

AAABCAAAAAA
CABAABACdeABAf
output:

Code: Select all

AAAAA AAAAAA
ABA CABAABAC
Thanks for your helping.
annhy
New poster
Posts: 40
Joined: Sun May 27, 2007 1:42 am
Location: Taiwan

Post 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

mars kaseijin
New poster
Posts: 22
Joined: Mon Sep 19, 2005 4:58 am
Contact:

Re: 689 - Napoleon's Grumble

Post 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
Post Reply

Return to “Volume 6 (600-699)”