L1-2 Competition Problem Input & Output

December 2020 and After

All of USACO problems after December 2020 use standard input and output. This means we can use the Python built-in

input()
and
print()
methods (or
cin
and
cout
for C++) for handling the input and output data.

Prior December 2020

USACO problems before December 2020 use files to handle input and output instead. The file names are given and followed the convention

<problem-name>.in
. After the program executes, the output must then be printed to a file called
<problem-name>.out
.