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

Can I meet such expressions in CORRECT pascal program:(+)
Posted by Sergey Lazarev (MSU TB) 17 May 2009 12:55
1. #123ident;
2. #123'str';
3. #123#124;
4. #   (without following digits and not as part of {comment} and 'string')
5. 222.not_a_digit;
6. 222.222.222;
7. 222#123;
8. 222'str';
9. ident#123;
10. ident'str';

I didn't consider these expressions in my program and got WA4.
AC!!!
Posted by Sergey Lazarev (MSU TB) 17 May 2009 18:08
There can be only №1, №2, №3 and №5 (only as [1..11]).

Edited by author 17.05.2009 21:31