This repository is for submitting source file while solving problem in competitive programming websites like codeforces, codechef in both practice and contest mode. I will develop the same for hackerrank, hackerearth etc also.
run $python setup.py install
for installing the prerequisites.
- Open
codeforces.py
and add your handle, password, key and secret key generated from your codeforces setting page. - Run
$python codeforces.py [p|c|pc] [source_file_complete_path]
from terminal.p
for practice modec
for contest modepc
for past contest mode - Due to time delay between server and local time may show
incorrect signatureKey
instead of verdict. Please runcf_last_submission.py
for the verdict.
- Open
codechef.py
and add your username, password. - Run
$python codechef.py [p|c] [source_file_complete_path]
from terminal.p
for practice modec
for contest mode
- Compatible Python version : 2.7.x
- This project uses
RoboBrowser
andBeautifulSoup
for web crawling. - Showing verdict from server is sometime delayed. Adjust
delay
variable in the source file as required.