Giter Site home page Giter Site logo

nahid-hossain / library-checker-problems Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yosupo06/library-checker-problems

0.0 1.0 0.0 1.74 MB

The problem data (Test case generator, judge's solution, task, ...) of Library Checker

Home Page: https://judge.yosupo.jp/

License: Apache License 2.0

C++ 94.62% Python 5.36% Shell 0.02%

library-checker-problems's 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.5+
  • 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 toml 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/unionfind.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.

library-checker-problems's People

Contributors

yosupo06 avatar hos-lyric avatar kmyk avatar beet-aizu avatar maruoka842 avatar hotman78 avatar misawa avatar windows-server-2003 avatar maspypy avatar monkukui avatar sansen0796 avatar niuez avatar noshi91 avatar tsutaj avatar dragonslayerintraining avatar mergecat[bot] avatar tko919 avatar koba-e964 avatar moritaoy avatar cympfh avatar holmes7 avatar pulmn avatar arknave avatar taweitu avatar uwi avatar cookie-s avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.