cf

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2016 License: MIT Imports: 23 Imported by: 0

README

cf - codeforces.com console client

Features:

  • possibility to submit code
  • and see the result.

Binaries are available here: https://github.com/Komosa/cf_binaries (if you don't like to compile it yourself).

Note: to get best performance it suggested to login before contest. It is also wise to set contest ID before it started.

Examples (commands):

  • cf login handle1 will try log in as handle1, asking for password if necessary;
  • cf login will try log in as previously logged user, asking for password if necessary;
  • cf submit x.c -prob=555a -lang=10 submits file x.c as solution for problem 555A, using compiler number 10;
  • cf submit x.c -prob=555a submits file x.c as solution for problem 555A, using default compiler for c;
  • cf submit a.c -prob=555 submits file a.c as solution for problem 555A, using default compiler for c;
  • cf con 555 from now all subsequent submit ops will use 555 as default contest;
  • cf submit x.c -prob=a submits file x.c as solution for problem 555A, using default compiler for c;
  • cf submit a.c submits file a.c as solution for problem 555A, using default compiler for c;
  • cf submit a will 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).

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL