10027 - Language Cardinality

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

Moderator: Board moderators

Deno
New poster
Posts: 21
Joined: Fri Sep 19, 2003 8:24 am

Post by Deno » Sat Oct 27, 2007 8:47 am

I'm getting many WAs on this problem.

Can someone who got AC tell me what the output should be in following case:

Code: Select all

11

"AyB"
"A"->"ab"
"Ay"->"cdy"
"B"->"w"
"B"->"x"

""
""->"a"

"a"
"a"->"aa"

"a"
"a"->"b"

"a"
"a"->"a"

"a"
""->"b"

"a"
""->"aa"

""
""->""

"abc"
"a"->"a"

"abc"
"abc"->"d"
"d"->"e"

"a"
"a"->""
""->"a"
Are there other tricky cases?

Thank you

kason
New poster
Posts: 4
Joined: Sat Dec 01, 2007 12:44 pm

Post by kason » Tue Jan 01, 2008 6:55 pm

My AC program ouput

9

Too many.

Too many.

2

1

Too many.

Too many.

1

1

3

Too many.

Post Reply

Return to “Volume 100 (10000-10099)”