Changes to Input and Output

Until 2024, problems in the Australian Informatics Olympiad (AIO) and on ORAC involved reading input from a specified file and writing output to a specified file (e.g. addin.txt and addout.txt). Starting in 2025, AIO problems will require you to use standard input and standard output. This means:

Using standard input and output is simpler than reading and writing to files. For example:

To help you adjust, most (but not all) old problems have been updated to use the new method. However, older submissions in the Hall of Fame may still follow the file-based approach.

For a step-by-step guide to managing input and output in the new format, check out the Starter Set I Tutorials.