11399 - What be thy Name, O Dear Tree?
Posted: 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
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