11399 - What be thy Name, O Dear Tree?

All about problems in Volume 113. 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
User avatar
Christian Schuster
Learning poster
Posts: 63
Joined: Thu Apr 04, 2002 2:00 am

11399 - What be thy Name, O Dear Tree?

Post by Christian Schuster » Fri Jan 25, 2008 12:54 am

Hi there,

the problem states that there are "up to 500 symbols from V and only from V" - but my parser failed on the judge's input, just because it included an "assert(0);" if it read an invalid character. Simply ignoring those invalid characters got me AC.

BTW: The last sample case also contains an invalid character (o).

Bye,
Christian

Post Reply

Return to “Volume 113 (11300-11399)”