• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

yosupo06/library-checker-problems: The problem data (Test case generator, judge ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

yosupo06/library-checker-problems

开源软件地址(OpenSource Url):

https://github.com/yosupo06/library-checker-problems

开源编程语言(OpenSource Language):

C++ 96.3%

开源软件介绍(OpenSource Introduction):

Library Checker Problems

CI License

Source code of https://judge.yosupo.jp. You can get test cases of problems from this repository.

Requirements

  • Linux / OS X / Windows(MinGW-w64)
  • python3.6+
  • g++ / clang++ (Needs --std=c++14 and __int128_t)

How to Use

cd /path/to/library-checker-problems

pip3 install -r requirements.txt
# or pip3 install colorlog markdown jinja2

ulimit -s unlimited # for linux (doesn't need for OS X and WSL)

./generate.py -p unionfind # generate testcases of unionfind
# or ./generate.py datastructure/unionfind/info.toml

ls datastructure/unionfind/in/ # testcases of unionfind
ls datastructure/unionfind/out/ # solutions of unionfind
file datastructure/unionfind/checker # binary of output checker

For developer

./generate.py -p unionfind --dev # developer mode
./generate.py -p unionfind --test # test mode (for developer, exec this command before PR)
cat datastructure/unionfind/task.html # statement

./generate.py $(find . -name "info.toml" -not -path "./test/*") # generate all testcases

Test your solutions in local / CI

If you have any trouble

  • Create issue: we are very happy if you report any of our mistakes (e.g. test cases are weak, strange behavior of the site, English of statements is bad, ...). Anything others are also welcome.
  • Codeforces: https://codeforces.com/blog/entry/76945
  • Twitter: if you tweet your trouble with hashtag #LibraryChecker, we are going to help you. The account of admin is @yosupot.

困ったときは(If you have any trouble - Japanese edition)

  • issueを立てる: githubにはissueというTODOやバグなどをメモっておく機能があります。上の Issues → New issueから作成できます。
  • Twitter で #LibraryChecker というハッシュタグをつけて呟いてくれると、助けに行きます。@yosupot へリプライ / DM でも大丈夫です。

Contributing

We are welcome any issues and PRs! Except minor change (e.g. add test cases, fix statements), please create an issue first.

Contributing - Japanese Edition

不具合(テストケースが弱い, ジャッジが異常な挙動をする, 問題文にtypoを発見, などなど)を発見したとき、報告していただけるととっても助かります。

基本的には上に書いたようにissueを立ててもらえると助かります。 熱意がある人はCONTRIBUTING を参考にPull requestを送っていただけるととても助かります。

競プロerは必ずしもgithubに慣れているとは限らず、issue / pull request を送ったことがない人も少なくはないというのを理解しています。どれだけめちゃくちゃなものを送ってきても怒ったりこのリポジトリが壊れたりすることはないので、githubの練習がてら挑戦してみるというのもアリです(頑張ってサポートします)。

File structure / How to create the problem

guideline(en)

guideline(日本語)

library-checker-project

Thanks

We use testlib for verifier(input-checker) and output-checker. We use toml as toml paser.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
yaozeliang/Library: Django发布时间:2022-08-15
下一篇:
cpnota/autonomous-learning-library: A PyTorch library for building deep reinforc ...发布时间:2022-08-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap