So Mr. Cleese was kind enough to show you his expectation of the final game. I will be posting more demo executable files that you can try as reference on this page.
For macOS executable: https://jetic.org/wp-content/uploads/2020/06/04-2020-1001-801_VoTS_macOS.zip
For Ubuntu executable: https://jetic.org/wp-content/uploads/2020/06/04-2020-1001-801_VoTS_ubuntu.zip
How to use?
Download the zip files using
wget, then unzip using the
Then, add permissions to executables
chmod +x *.sol
Now you can run the programmes (.sol files)!
If you want to feed in all inputs at once, copy and paste all input into
input.txt, and do
./p017.sol < input.txt
This will allow the programme to take as input everything in
Extra Sample IO for P016-P018
To run and get the complete output (the terminal cannot display that much), use
./p016.sol < p016.in > p016.out.tmp
This will redirect the
stdout. You will not see any output on screen but all will be inside