A batch-testing sublime plug-in for CodeForces
This application is to assist a competitive-programmer in a CodeForces round. This application downloads all the sample test cases for a problem and runs a user's solution program on all these test cases so that no time is wasted on manual checking of the solution.
For now the application is for C++ users only.
The project is under constant development and the files in the repository might be unstable. It is therefore advised to download the latest release for usage. This is the link to the latest release
NOTE : Please try the Plug-in once before using it in actual contest to avoid any last minute confusions.
Make Sure you have read the Installation and Usage very very carefully.
- Execution time for the tested program (which includes only the execution time and not the input time)
- Time elapsed till the program is executed (Time is counted from the moment the test cases are fetched)
- Linux (Tested on Ubuntu-14.04)
- Internet Connection (it should be working on terminal)
- Sublime Text-3
- To check Sublime is installed correctly
- Open a terminal window.
- Run "subl".
- If Sublime opens up, everything is perfect.
- To check Sublime is installed correctly
- A default browser
- Working g++
- To check g++ is working
- Open a terminal window.
- Run "g++".
- If it identifies the command, everything is perfect.
- To check g++ is working
- Download all the files from here : V.2.3.
- Shift the Buggy---Linux and CF folder to ~/.config/sublime-text-3/Packages/User/
- Make sure proper execution permission is given to ini and shell scripts.
- Open sublime. GoTo "Tools -> Build System" and select CF
- If you see Buggy menu in the menu-bar, installation is complete
- Change the template code in CF/dist/template.cpp as it suits you. (Let the end-comment be there to show support :) ).
- After the installation, you should see a new menu in the menu bar, Buggy.
- Click on the Buggy menu and you'll be able to see all the options there.
- If you are not able to see all the options, "Tools -> Build System" and select CF.
- Make sure Sublime Side-Bar is visible (View -> Side Bar -> Show Side Bar).
- To start parsing the test-cases, (Buggy -> Start).
- For parsing the test-cases, provide the round-number you see in the url of the contest.
- Compile the code before running it on test-cas2.es (Ctrl+B or Buggy -> Compile)
- Copy the code before going to submit the code.
- If you want you can change the key-bindings too.
- If you are working behind proxy
- Open dist/proxy.txt
- Delete all the contents of the file and add your proxy with the following format
- username:password@proxy:port
- The application is made using Python-2.7.9 and Shell scripting
- BeautifulSoup module is used alongwith requests in Python
- Executables are made using cx_freeze
Refer to this post for more detailed explanation of the working of the application.
For Hugs and Bugs drop a mail at asimkprasad@gmail.com