- Copy inputs into input.txt
- Copy outputs into output.txt
- To run and check answers use: run.sh (or run.bat)
- When submitting solution to a platform, comment out
#define _MY_TEST_FILES true
in main.cc - When submitting solution to a platform, comment out
#define _HAS_NUM_TESTCASES_INPUT true
in main.cc IF NEEDED (cses only gives 1 test case at time, so comment out for that platform)
- If you don't have vscode or aren't using vscode, see deprecated how to use section
- On vscode use extension - Competitive Programming Helper (cph)
- On google chrome download extension - Competitive Companion
- Now on any codeforces page or other competitive programming page, it'll load up the test cases and file on your vscode. All you need to do is write code now.
- You can use the template from setup.cc to get started. Enjoy!