Hi! I am practicing for USACO, and I have some questions. I have never done USACO before, but I am totally excited. What is the input/output for USACO? I am a python programmer, and I have tried doing a USACO problem from a past year, and there is issues with the inputs and outputs. Thanks!
Older USACO contests use file input/output instead of stdin and stdout.
The rest is similar to stdin and stdout, use
fin.readline()
andfout.write()
iirc.Edit: forgot to mention USACO contests after December 2020 should use standard input/output.
Thank you! Very helpful!