How answers are checked?

Write here if you have problems with your Pascal source code

Moderator: Board moderators

Post Reply
New poster
Posts: 44
Joined: Thu Dec 15, 2005 11:28 pm

How answers are checked?

Post by kwedeer »

as I can guess - by simple comparison of output from submitted program to expected result on some input test data, but - how accurately this comparison is done - e.g. - is it important that output of my program ends with newline (and - from the content of task it is hard to guess whether such newline is expecte or not) or not?

A great helper
Posts: 430
Joined: Wed Jun 09, 2004 1:31 pm

Post by misof »

If not stated otherwise in the problem description, you have to produce a char-by-char identical output as the author's program. Most important issues:
- each line ends with a newline (use writeln)
- no unnecessary spaces at the beginning/end of the lines

Post Reply

Return to “Pascal”