3931 - Emoticons :-)

Problems from South America regional contest

Moderator: Board moderators

3931 - Emoticons :-)

Postby helloneo » Sat Dec 22, 2007 5:42 am

Hello..~

Can anybody explain the sample test case..?

input:

Code: Select all
3 1
:)
):
))
:):)):)):)):(:((:(((:):)


output:

Code: Select all
8



I think I can make only 7 changes like this..

:):)):)):)):(:((:(((:):) (bold characters should be changed..)

I'm confused.. -.-a
helloneo
Experienced poster
 
Posts: 48
Joined: Mon Jul 04, 2005 5:30 am
Location: Seoul, Korea

Postby tgoulart » Sun Jan 13, 2008 8:43 pm

You don't change the whole emoticon at once, you change only a single character.
Thiago Sonego Goulart - FURG/Brazil
tgoulart
New poster
 
Posts: 1
Joined: Sat Oct 21, 2006 7:37 am
Location: Alegrete, Brazil

Postby helloneo » Sun Jan 27, 2008 4:38 pm

Thanks a lot..
I got it.. :-)
helloneo
Experienced poster
 
Posts: 48
Joined: Mon Jul 04, 2005 5:30 am
Location: Seoul, Korea


Return to South America

Who is online

Users browsing this forum: No registered users and 0 guests

cron