|
|
back to boardAm I right, that expression ((**)*)(**)*) can be understood in two different ways: ({}*){*)} and ({*)*)(*}*) where {} are comments? FUCK! My friend explained me that a comment can not contain "*)", but it was not mentioned in the statement!!! Now I got AC. Leonid Volkov and Alexey Lysenko, I hate you! A comment is always opened by a pair of symbols "(*" and is closed by a pair of symbols "*)" -> A comment is always opened by a pair of symbols "(*" A comment is always closed by a pair of symbols "*)" Problem statement is absolutely clear. ((**)*)(**)*) Answer is NO! Because it's ({}*)){}*), where {} is comment, {} := (**) ((**)*) answer is YES (*) answer is NO |
|
|