I'll use this repo to post my solutions to the problems in Google's coding competition, Code Jam.
Typical workflow is:
- Open Normal Template folder in VSCode.
- Add the test cases to input.in (copy from problem).
- Update main.cpp with the solution.
- Run
make
in terminal to build and run the code. - Read the output in output.out
- Repeat steps 3-5 until solution works.
- Copy main.cpp code, paste into Code Jam editor in website.
- Comment out
freopen(filein, "r", stdin); freopen(fileout, "w", stdout);
line. - Run solution in website.