Features:
- possibility to submit code
- and see the result.
- install go compiler, as per https://golang.org/dl
go get -u github.com/Komosa/cf
If you don't like to compile it yourself, pre-built binaries are available here: https://github.com/Komosa/cf_binaries
Note: to achieve best performance use cf login and cf con CONTESTNUMBERHERE before the rated contest starts.
Examples (commands):
cf login exampleuserwill try log in as exampleuser, asking for password if necessary;cf loginwill try log in as previously logged user, asking for password if necessary;cf submit x.c -prob=555a -lang=10submits file x.c as solution for problem 555A, using compiler number 10;cf submit x.c -prob=555asubmits file x.c as solution for problem 555A, using default compiler for c;cf submit a.c -prob=555submits file a.c as solution for problem 555A, using default compiler for c;cf con 555from now all subsequent submit ops will use 555 as default contest;cf submit x.c -prob=asubmits file x.c as solution for problem 555A, using default compiler for c;cf submit a.csubmits file a.c as solution for problem 555A, using default compiler for c;cf submit awill check if it is obvious which file do you want to submit and submit it using default (or specified) language as solution for problem A in default (or specified) contest.
Configuration will be in $HOME/config/.cf/conf file, cookies will be in separate files in the same directory as conf. Feel free to edit/delete/share this files at own risk.
Limitations:
=character in handle is not supported (probably also by the site).