Demo
Getting started
- Install cpg.
- Configure your workspace and log in.
- Download a problem or contest.
- Test your solution and generate extra test cases.
- Submit your solution and watch the results.
See the command reference for all commands and flags.
Modern, fast, and language-agnostic tool for Competitive Programming
A command-line interface tool for competitive programming, supporting multiple online judges and features like problem downloading, solution testing, and submission tracking.
Early development
This project is in early development, and is not well-tested yet.
Configuration and metadata formats may change.
cpg is written in Rust, making it fast and easy to install. (Don't worry, you can still use your favorite programming language for solving problems!)
Download problems from various online judges, including AtCoder, Codeforces, Yukicoder, ShareOJ, and more.
Force directory structure for problems and contests for effortless management of problems and contests.
Compile and test your solutions, including support for custom and interactive judges.
Generate test cases and reference answers using your own generator and naive solution.
Submit your solutions to online judges and watch the results in real-time.
Switch to clipboard submission mode for judges that require captcha verification, such as AtCoder's past contests.
See the command reference for all commands and flags.