Skip to content

A group of scripts that allows the user to submit the solution to any problem from their local command line It has realtime observing capabilities to enhance the user experience.

Notifications You must be signed in to change notification settings

Anshuman212/CF_Master

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CF_Master

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.

Key Features

  1. Run a command and login to codeforces.
  2. The inputs are merely the ProblemId,ContestId.
  3. Hassle free copying of the code from your major cpp file to the assistant's cpp file.

How to Run

  1. Clone this repo to your local by git clone <repo-name>
  2. Navigate inside the folder CF_Master
  3. Run your virtual Enviornment https://docs.python.org/3/library/venv.html
  4. Create a cpp file inside it using touch temp.cpp
  5. Now you need to add the path of your original code file where you code and this temp.cpp in a .env file
  6. Open two terminals - Screenshot from 2023-12-05 03-11-33

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

Screenshot from 2023-12-05 03-12-28

Note

This script uses python3

I'll be adding few specs as soon as I face any problem or want to explore something new.

About

A group of scripts that allows the user to submit the solution to any problem from their local command line It has realtime observing capabilities to enhance the user experience.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages