onlinecompiler.io
Feedback board

Read input from a file (TASK.INP) and write the answer to a file (TASK.OUT)

Under review Suggested by A user, 27 November 2026

Olympiad-style problems often read their input from a file such as TASK.INP and write the answer to TASK.OUT, instead of using standard input and output. Support this file mode for runs and judging, so these problems can run as they are.

Comments

No comments yet.

Suggest another feature