ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1345. HTML

ronobe (aka oberon) Question about comments [8] // Problem 1345. HTML 4 Mar 2005 23:35
can {} 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>
ronobe (aka oberon) And a question about strings [5] // Problem 1345. HTML 4 Mar 2005 23:43
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?
ronobe (aka oberon) One more question about strings [4] // Problem 1345. HTML 4 Mar 2005 23:46
It is normal practice to write #$A7 to indicate that character is 0xA7, what should be done? This should not be highlighted?
ronobe (aka oberon) Question about numbers [3] // Problem 1345. HTML 5 Mar 2005 00:22
If I have fucked up everybody with my questions, excuse me =(. But what should be done with negative numbers?
Jerry Re: Question about numbers [2] // Problem 1345. HTML 17 Aug 2007 19:25
Hey,hey,hey
You are using taboo words!!!!!
Ooooooooooooooopz!
nikonoff Re: Question about numbers [1] // Problem 1345. HTML 23 Jul 2008 18:04
Fuck you!
hedrok Re: Question about numbers // Problem 1345. HTML 23 Jul 2008 18:05
and so what???
ronobe (aka oberon) I have got AC [1] // Problem 1345. HTML 5 Mar 2005 00:33
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!
svr Re: I have got AC // Problem 1345. HTML 13 Aug 2007 13:27
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