https://github.com/langningchen/ojtool
Get problem and submit code for OJ just from your CLI!
https://github.com/langningchen/ojtool
cli enhancement oj plugin
Last synced: 15 days ago
JSON representation
Get problem and submit code for OJ just from your CLI!
- Host: GitHub
- URL: https://github.com/langningchen/ojtool
- Owner: langningchen
- License: gpl-3.0
- Archived: true
- Created: 2023-06-17T11:58:00.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-20T13:48:51.000Z (9 months ago)
- Last Synced: 2025-02-23T22:43:27.486Z (2 months ago)
- Topics: cli, enhancement, oj, plugin
- Language: C++
- Homepage:
- Size: 42.4 MB
- Stars: 5
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://wakatime.com/badge/github/langningchen/OJTool)
# OJTool
## Introduction
Get problem and submit code for OJ just from your CLI!
## Usage
- (Optional) If you want to predict Luogu captcha by AI module, install python package `numpy`, `tensorflow`, `pillow`, `pandas`, `matplotlib`
1. Clone this repository
2. Run `./Run.sh` to build the project
3. Run `./Build/OJTool` to run programor
1. Download the executable file from GitHub Actions artifact
2. Run `./Build/OJTool` to run program## Params
| Param name | Full name |
| :--------- | :------------- |
| `-oj` | `--oj` |
| `-u` | `--username` |
| `-p` | `--password` |
| `-o` | `--operation` |
| `-pr` | `--problem-id` || OJ | Available operation | Website | Visibility |
| :----------- | :---------------------------------------------------------- | :------------------------ | :--------- |
| `Luogu` | `GetProblemDetail`,`SubmitCode`,`GetAnswerOrTips`,`ClockIn` | https://www.luogu.com.cn/ | Public |
| `Etiger` | `GetProblemDetail`,`SubmitCode`,`GetAnswerOrTips`,`ClockIn` | https://www.etiger.vip/ | Private |
| `XMOJ` | `GetProblemDetail`,`SubmitCode` | https://www.xmoj.tech/ | Private |
| `USACO` | `GetProblemDetail`,`SubmitCode` | https://usaco.org/ | Public |
| `UVa` | `GetProblemDetail`,`SubmitCode` | https://onlinejudge.org/ | Public |
| `Codeforces` | `GetProblemDetail`,`SubmitCode` | https://codeforces.com/ | Public |
| `AtCoder` | `GetProblemDetail`,`SubmitCode` | https://atcoder.jp/ | Public |## License
This project is licensed under the terms of the GNU General Public License v3.0.