Hong Kong Olympiad in Informatics

Incorrect Solution 1

Each of the following programs reads from a file instead of from the standard input, and outputs to another file instead of to the standard output. It is expected to receive 0 marks.


Pascal version


C version


C++ version