Codeforces Tool is a command-line interface tool for Codeforces.
It's written in golang (without any browser driver). And it's fast, small (only about 6 MB).
You can find the source and pre-compiled binary files in my git repo https://github.com/xalanq/cf-tool
- Cross-platform (win, osx, linux)
- Submit a code to a contest.
- Watch submissions' status dynamically.
- List problems' stats in a contest.
- Parse problems' samples (parallel).
- Generate code by templates.
- Test samples.
- Use default web browser to open problem, standing page.
- Colorful CLI.
I have tested the tool for contest Codeforces Round #551 (Div. 2).
It's not a cheating tool, but a tool for beautiful life :)
Pull requests are always welcome.
what's the "cp" command?
"cp" is a system command, meaning copy a file.
I just copy the file (already written) to current path. So i don't need to write code in the example gif.
You can run "cf gen" to generate a file (named as "a.cpp" or otherelse) from a template.
I double click the program but it doesn't work
Codeforces Tool is a command-line tool. You should run it in system terminal.
I cannot use "cf" command
You should put the "cf" to a path (e.g. "/usr/bin" in Linux) which has been added to system environment variable PATH.
Or you can add the path where "cf" exists to PATH. Just google "how to add path to system environment variable PATH".
In fact, you should run "cf -h" at first to get some help message.