Skip to main content

No project description provided

Project description

Online Judge Verify Helper

Actions Status GitHub Pages PyPI LICENSE

なにこれ

競プロライブラリの verify をお手軽に自動化するためのツールです。

使い方

競プロライブラリのリポジトリに設定する

これ読んで: https://kmyk.github.io/online-judge-verify-helper/installer.html

手元で実行する

インストール

$ pip3 install online-judge-verify-helper

verify 自動実行

まず .test.cpp という拡張子の名前のファイルに #define PROBLEM "https://judge.yosupo.jp/problem/unionfind" のような形で verify 用問題の URL を書いておきます。このとき、次のコマンドで verify できているかを確認してくれます。

$ oj-verify run

利用できる問題は主に Library Checker の問題と Aizu Online Judge の問題です。 HackerRank の問題もたぶん動きますが保証はしません。 その他サービスについてはテストケースが利用できる形で公開されていないために対応していません。

ドキュメント生成

以下のコマンドを実行すると、ドキュメントが生成されます。例: https://kmyk.github.io/online-judge-verify-helper/ GitHub Pages

$ oj-verify docs

ドキュメント生成時に Doxygen 風のコメントが見つかれば、それらは自動で利用されます。 TeX 記法の数式 (例: $O(N \sum_i A_i)$) の MathJax による表示にも対応しています。 (TODO: どのようなコメントが認識されるかについてのドキュメントを書く)

License

MIT License

Authors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page