cpinitiative / online-judge

Serverless Online Judge
Mozilla Public License 2.0
18 stars 5 forks source link

Support both file I/O and standard I/O for problems #4

Closed thecodingwizard closed 2 years ago

thecodingwizard commented 2 years ago

For USACO problems that have file I/O, we should both pipe the input into standard input and have an input file. If an output file is detected, use that. Otherwise, use standard output.

thecodingwizard commented 2 years ago

3720faa05ff39993a5ef63a0a6585e662470f639, 47917aed0a3d9f71a2f8872fa2f0dd2e3c1e38bd, 81657773f2aac1fb9b771784ef02a39607596842