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 1089. Verification with the Dictionary

to anonyone who solved: please clarify the input/output definition...(+)
Posted by Ilya Semenov (NSU) 2 Apr 2001 23:00
very simple problem, but I can't get accepted!

for example, what to do with empty lines??
does the first met empty line means the end of input of not?
should I output the last empty line or not?
the sample input does not contain empty lines at all, is it
possible??
Re: to anonyone who solved: please clarify the input/output definition...(+)
Posted by LYS 3 Apr 2001 04:46
My program passed this problem easily. As I know, it's
better to use just Read(ch). Don't use ReadLn. And the
empty lines don't indicate the end of file. And there may
be some other characters with ASCII below #32. You should
judge then yourself instead of ReadLn.
Hope that this is useful.