|
|
back to boardto anonyone who solved: please clarify the input/output definition...(+) 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. |
|
|