This Project is origin from CodeforcesBot. However, CodeforcesBot is not working after visual studio code 1.40.0. So I has fixed the issues and make it work. Enjoy for now!
Now you can submit your solution to codeforces contest in one click.
Simple UI which allow you to see all the contests, run your solution on sample test cases, submit solution and see standing and rating of your friends.
- See all the running, future and past contests.
- Creates directory for a contest with template ready file for each problem.
- Test all sample test cases or submit solution in one click.
- See your and yours friends standing for a contest.
- Rating of you and your friends is ranked order.
- simple UI and easy to use.
- Settings that allow to choose compiler and template code for solution.
- Open command palette (Ctrl+Shift+P)
- Write
login
and select the login option. - It will ask for the username and password of your codeforces account.
- You need to set the compiler and template file in Extension Setting
- Click the icon to see the contests and ratings.
- Refresh button allow you to reload to the contests and ratings.
- It create a directory of contest which will have the sample testcases and cpp solution file with the template code.
- This button allows you to run your solution on the sample testcases.
- Run button is available in extension explorer and on top of code itself.
- This button allows you to submit your solution.
- Verdict will be displayed after submission.
- Submit button is available in extension explorer and on top of code itself.
- The login status is displayed for the account.
- You can choose the compiler of c++ which should be used to compile you solution.
And additional arguments can also be passed. For example std of c++ (g++ --std=c++14
).
- Default template is provided. If you want to use your own template to be used for solution, you should set the template file path to the setting.
- You can specify the line number of template from where you want to start writing the solution.