A helper that enables us to focus more on logic building and programming rather than navigating and selecting and searching the code file to the problem. It was a problem that I personally faced and it took a lot longer time due to a bug in my file explorer.
- Run a command and login to codeforces.
- The inputs are merely the ProblemId,ContestId.
- Hassle free copying of the code from your major cpp file to the assistant's cpp file.
- Clone this repo to your local by
git clone <repo-name>
- Navigate inside the folder
CF_Master
- Run your virtual Enviornment
https://docs.python.org/3/library/venv.html
- Create a cpp file inside it using
touch temp.cpp
- Now you need to add the path of your original code file where you code and this temp.cpp in a
.env
file - Open two terminals -
One for running the command python3 copyFile.py
it'll keep track of your code editor and register any changes being made and would make the same changes to the temp.cpp
Other terminal to run python3 submit.py
to submit your code on CF
This script uses python3