- python-selenium (can be install by doing
pip install selenium
) - geckodriver
usage: codeforces-register.py [-h] [-e EMAIL] [-p PASSWORD] [-a] contest_id
positional arguments:
contest_id Id of contest
optional arguments:
-h, --help show this help message and exit
-e EMAIL, ---email EMAIL
email address of codeforces account
-p PASSWORD, --password PASSWORD
password of codeforces account
-a, --agree automatically agree to contest terms
if email and password are not provided they are prompted in the commandline
$ python codeforces-register.py 1272
$ python codeforces-register.py -a 1272
$ python codeforces-register.py -e [email protected] 1272
$ python codeforces-register.py -e [email protected] -p password 1272