Re: Contest Update
- Posted by Patrick Barnes <mrtrick at gmail.com> Nov 07, 2004
- 517 views
On Sun, 07 Nov 2004 14:50:20 -0800, Andy Serpa <guest at rapideuphoria.com> wrote: > Making an assumption that one should continue after an EOF marker could be > wrong if this was a "real-world" application. Sticking to this esoterica would > seem to be making the contest about "who can best interpret logical loopholes in > the rules" rather than best program a well-defined task. > > Alternatively, simply put in a rule that says, "Input files should be opened > in binary mode". I believe that this is covered in the programming style criteria: "Defensive coding that is tolerant of bad data." That's why files 6-11 are there - they contain a lot of border cases that may trip up programs less tolerant. You're not penalised anywhere near as much for making mistakes with these files than you are with the first 5. -- MrTrick