-
Updated
Aug 19, 2021
programming-contests
Here are 299 public repositories matching this topic...
-
Updated
Aug 14, 2021 - Rust
-
Updated
Aug 26, 2021 - C++
-
Updated
Aug 29, 2021 - C++
-
Updated
Aug 29, 2021 - TypeScript
Code one that runs in proportion to R instead of R and N (i.e. N should be able to be arbitrarily large)
-
Updated
Aug 26, 2021 - Python
-
Updated
Aug 30, 2021 - Python
When icpc/ccs-specs#38 is merged, we no longer need the scoreboard.tsv
export. We can replace it with something that internally gets the scoreboard API endpoint and downloads it as JSON.
-
Updated
Jun 1, 2021 - JavaScript
-
Updated
Dec 13, 2020 - C++
-
Updated
Apr 7, 2019 - JavaScript
-
Updated
Aug 14, 2021 - C++
-
Updated
Mar 17, 2020 - C++
-
Updated
Aug 1, 2021 - Python
-
Updated
Jan 31, 2021 - C++
-
Updated
Aug 30, 2021 - C++
Description / 説明
#line "/path/to/library.hpp" 123
ってなる部分のパスを常に相対パスにしたい。
Motivation / 動機
oj-bundle使うとにファイルへの絶対パスが埋め込まれるから真名がojに刻まれてるな
$USER
とかに実名を埋め込んだ結果として提出で実名大公開してる人をわりと見かける。相対パスにしておいた方がよい。
他:
#line
directive は必要なのでデフォルトでは付けたい- ライセンス表示がファイル冒頭に埋め込んであるライブラリとの親和性がよいため。ライセンスまわりをきちんと扱ってるライブラリ (現状は見かけたことないけど……?) にやさしくしておきたい
- あとコンパイラや gdb がこれを認識してうまくやってくれる
Description / 説明
examples/
の中に置いてある Python スクリプトは自動で実行されてテストに使われますが、これをもっと増やしたい。
日々のコンテストのついでにコツコツに追加したり、ABC の B, C あたりをまとめて Python で解いて examples/
に追加するのをしないとだめそう。
スクリプトとテストケース追加の手順
$ python3 scripts/add_test_cases.py URL
を実行する- 例:
$ python3 scripts/add_test_cases.py https://atcoder.jp/contests/abc123_a
- これにより
examples/abc123_a.py
`examples/data/abc123_a.s
- 例:
-
Updated
Apr 25, 2021 - JavaScript
-
Updated
Feb 27, 2021 - C++
-
Updated
Jul 30, 2020 - Python
-
Updated
Oct 2, 2019 - C++
-
Updated
Aug 30, 2021 - Shell
-
Updated
Apr 14, 2021 - C++
-
Updated
Apr 5, 2020 - Python
-
Updated
Jun 14, 2021 - Python
Improve this page
Add a description, image, and links to the programming-contests topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the programming-contests topic, visit your repo's landing page and select "manage topics."
CP Editor has a thriving community of many users including English, Chinese, Russian and we are constantly adding new language.
However, the developers don't know every language, and the translators don't always have time, so we need your help in translating.
You can read the contributing guidelines on how to upda