A command-line tool to submit solutions directly to the CSES Problem Set from the terminal.
It handles authentication, CSRF tokens, and submission tracking automatically.
- Login with persistent session support
- Submit solutions using a single command
- Automatic problem ID extraction from URL
- CSRF token handling
- Language detection from file extension
- Submission status tracking
- Session reuse to avoid repeated login
pip install cses-clics setupJust copy the problem set url : eg.
https://cses.fi/problemset/view/1133/ from cses.
cs <file_path_with_extension> <problem_set_url>And Eureka! your code is submitted, it will print error if test cases failed with the error message and if all test cases passed it will succeed