I mainly use these for quickly prototyping competetive programming questions.
pip install -r requirements.txt
My CodeChef template for PYTH 3.6 (Python 3.6). Works with smallest as well as largest inputs and outputs possible in python. Yields lower defaut overhead when running than a regular script.
Write your code in tc()
method block.
You can also enable profiling for the entire execution of the main method by setting -
PROFILE = True
Hot-reloader script for quick reloading of the scripts without switching your editor.
python monitor.py [script_name.py]
Methods to reload -
- Press
r
. - Save your script file on your editor.
- Save your input file on your editor.