cd /path/to/library-checker-problems
./generate.py problems.toml
./generate.py problems.toml -p unionfind # 問題指定
sample/aplusbを参考にしてください
- info.toml: 問題のさまざまな情報
- gen/: ケース生成スクリプト
- sol/: 回答コード
- checker.cpp: output_checker
- task.md: 問題文
- problems.tomlにいい感じに追加する
- sample/aplusbディレクトリを参考に、いい感じに
- problems: library-checker-problems
- judge: library-checker-judge
- frontend: library-checker-frontend
何かバグなどに気づいたらIssueを立ててくれると嬉しいです。 新規問題の提案もとりあえずIssueを立ててくれると嬉しいです。
細かい修正(嘘解法, ケース追加, typo)は、Issueを立ててくれると嬉しいですし、Pull Requestを送ってくれるともっと嬉しいです。
checker, validatorなどにtestlib(https://github.com/MikeMirzayanov/testlib)を使用しています。