2887

Problems from South America regional contest

Moderator: Board moderators

2887

Postby pablo » Tue Nov 09, 2004 1:43 am

What's wrong with this problem? It seems to have an error in sample output (first test case answer is clearly 5)

Does S have to be connected?

Is the sample input wrong? If so, are the judge's test cases correct?

Thank you
pablo
New poster
 
Posts: 2
Joined: Tue Nov 09, 2004 1:37 am

Postby pablo » Tue Nov 09, 2004 2:06 am

I'll answer myself: S have to be connected (this way sample input/output is ok and i've tried it and got ACC :-)

I post this in case anyone have the same doubt (now i think i recall there was a clarification in the middle of the contest)

Pablo
pablo
New poster
 
Posts: 2
Joined: Tue Nov 09, 2004 1:37 am


Return to South America

Who is online

Users browsing this forum: No registered users and 1 guest

cron