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

Common Board

A question about the testing system.
Posted by sssa88 13 Sep 2001 01:18
Can you tell me what'll happen if I write to the output
without reading all of the input and then continue reading
the input?
There're problems which have inputs that may consist of
more than one test.In such cases the answers of the
different tests take up too much memory.

Thank you for the help in advance
I think - nothing bad, but try it!
Posted by Marat Bakirov 13 Sep 2001 15:57
We run your program in the way
program.exe  < test.in  > answer.out
so i don't think you should first reqad, then write -
you can do it when you like .
Thanks for the answer.
Posted by sssa88 13 Sep 2001 20:07