Skip to content

rippro/acpc2019

Repository files navigation

acpc2019

これ何?

立命の有志(OB含む)によるプログラミングコンテストの準備プロジェクトです.

環境構築

必要なもの

  • Git
  • Rime (作問ツール)
    • Python2 (Rimeの実行に必要)
  • コード実行に使う各言語の処理系 (必要に応じてgcc, g++, javaなど)

Gitのインストール

aptやyumなどのパッケージマネージャーでインストールできます.

$ sudo apt-get install git

Python2のインストール

まずPython2が既にインストールされているか確認します.

$ python -V
Python 2.7.13

コマンドが存在しないまたはバージョンが2.*.*でない場合はpyenvなどを使ってインストールします.

$ cd rupc2019
$ pyenv install 2.7.13
$ pyenv rehash
$ pyenv local 2.7.13

Rimeのインストール

pipを用いてインストールします.

$ pip install git+https://github.com/icpc-jag/rime

インストールに成功したか確認します.

$ rime
rime.py <command> [<options>...] [<args>...]

    Rime is a tool for programming contest organizers to automate usual, boring
    and error-prone process of problem set preparation. It supports various
    programming contest styles like ACM-ICPC, TopCoder, etc. by plugins.

    To see a brief description and available options of a command, try:

    rime.py help <command>
(略)

テストが走ることを確認します.

$ rime test
[ COMPILE  ] A+B/tests: generator.cc
[ COMPILE  ] A+B/tests: validator.cc
[ GENERATE ] A+B/tests: generator.cc
(略)

リンク

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published