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 1307. Archiver

End of file
Posted by partisan (Andrey Korotkov) 16 Dec 2007 16:32
Does each line end by EndOfLine. Or it may ends by EOF character? (Some troubles with reading by string) Does it necessary feel difference between Linux and Windows end of lines?

Edited by author 16.12.2007 16:41
Re: End of file
Posted by Alias (Alexander Prudaev) 16 Dec 2007 18:24
i solve this ploblem some years ago
var c:char;
begin
  n:=0;
  while not eof do
  begin
    read(c);
.....
  end;
end;