|
|
back to boardDiscussion of Problem 1345. HTMLcan {} comments be nested? { bla bla bla { comment on bla bla bla } } How should it be outputed: <c>{ bla bla bla { comment on bla bla bla }</c> } or <c>{ bla bla bla { comment on bla bla bla } }</c> In PASCAL it is normal for string to have an apostrophe in it, but it should be written as double apostrophe. 'It''s a book' should be highlighted (here) as <s>'It'</s><s>'s a book'</s> or <s>'It''s a book'</s> as logic says it should be done? It is normal practice to write #$A7 to indicate that character is 0xA7, what should be done? This should not be highlighted? If I have fucked up everybody with my questions, excuse me =(. But what should be done with negative numbers? Hey,hey,hey You are using taboo words!!!!! Ooooooooooooooopz! Here are answers: Nested comments are not present! 'It''s a book' should became <s>'It'</s><s>'s a book'</s> There are no hexadecimal characters! (e.g. #$A7) No negative numbers! Question is'n clear after all! What answer must be for test {}{} Acording problem description this string may be understood by two ways: 1. Two sequental commentries; 2. One commentry with inner part }{ Thus grammar uncertain and description not right. I got Ac 0.031 Finally and explanation of this and another situations given by Kosman on thif forum. Here is important that Pascal language is used. Edited by author 10.01.2009 20:24 Edited by author 10.01.2009 20:25 |
|
|