|
|
вернуться в форум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?? 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. |
|
|