This is Team Sampou's repository for the ICFP Programming Contest 2023.
This repository contains changes after the end of the contest. You can see the snapshot at the end of the contest in end-of-contest tag.
- Haskell
- Python
- Shell Script
2023-07-07T21:00: JSTより
- username: Team Sampou
- Contest 2023 page http://icfpcontest2023.github.io/
- Twitter https://twitter.com/icfpcontest2023
- Discord https://discord.com/invite/b9Zuy9D2
Ubuntuの場合:
sudo apt-get install liblbfgsb-dev libblas-dev liblapack-dev
https://hackage.haskell.org/package/numeric-optimization-0.1.1.0#installing-prerequisites も参照
プロジェクトルートで token.txt
にトークン文字列を書いておいてください。
- 注意: 実行には以下のコマンドが必要です。適宜インストールしてください。
- curl
- jq
- ghc - runghc コマンド使います
./api-sh/submit.sh PROBLEM_ID JSON_FILENAME
以下のコマンドを実行すると problems/
以下に全問題がダウンロードされます。
すでに 1-45 までの問題はダウンロード済です。 今後追加問題が出た場合などは、api-sh/get-problem.sh
を参考にしてください。
./api-sh/save-problems.sh
openapi-generatorをインストールし、 openapi.yaml
から以下などで生成する。
openapi-generator generate -i openapi.yaml -g haskell -o icfpc2023api