-
Updated
Jan 21, 2022
programming-contests
Here are 312 public repositories matching this topic...
-
Updated
May 23, 2022 - Rust
-
Updated
Jul 7, 2022 - C++
-
Updated
Jun 8, 2022 - C++
Someone submitted the contact form!
URL: https://usaco.guide/problems/poi-2017containers/solution
Module: None
Topic: Unclear Explanation
Message:
The solution uses the variable k as approximately sqrt(N), and q is the number of queries (aka cranes). However, in the problem statement k represents the number of queries. This could be very confusing if someone tries looking at the
-
Updated
Jul 8, 2022 - TypeScript
-
Updated
Jul 2, 2022 - Python
-
Updated
Sep 13, 2021 - Python
The sitemap exposes the URL of every published editorial. However, a private problem can have a published editorial. In this case, the sitemap shows the editorial's URL, but a visitor would get a 404 when visiting the URL (because the problem is private).
Fix the permission check in `S
There is merged PR on the contest API spec repo (icpc/ccs-specs#28) that indicates we should add filtering for all fields of type ID
to the API. We already support some (like submission_id
for judgements) but not all.
It should not be too hard to add these.
-
Updated
Jul 8, 2022 - JavaScript
-
Updated
Jun 30, 2022 - C++
-
Updated
Oct 24, 2021 - C++
-
Updated
Apr 7, 2019 - JavaScript
-
Updated
Mar 17, 2020 - C++
-
Updated
Jul 6, 2022 - Python
-
Updated
Jan 31, 2021 - C++
Description / 説明
スコープに被りがなければ変数名に suffix を付けないでほしい
The current implementation avoids name conflicts of variables even when the scopes of them are distinct. For example, i
and i2
are used in the following result:
int64_t solve(int64_t n, int64_t c, std::vector<int64_t> h) {
...
for (int32_t i = 0; i < 1ll; ++ i) {
...
}
for (int32_t i2 = 0; i2 <
Description / 説明
#line "/path/to/library.hpp" 123
ってなる部分のパスを常に相対パスにしたい。
Motivation / 動機
oj-bundle使うとにファイルへの絶対パスが埋め込まれるから真名がojに刻まれてるな
$USER
とかに実名を埋め込んだ結果として提出で実名大公開してる人をわりと見かける。相対パスにしておいた方がよい。
他:
#line
directive は必要なのでデフォルトでは付けたい- ライセンス表示がファイル冒頭に埋め込んであるライブラリとの親和性がよいため。ライセンスまわりをきちんと扱ってるライブラリ (現状は見かけたことないけど……?) にやさしくしておきたい
- あとコンパイラや gdb がこれを認識してうまくやってくれる
-
Updated
Dec 25, 2021 - JavaScript
-
Updated
Mar 22, 2022 - C++
-
Updated
Jul 8, 2022 - Shell
-
Updated
Jun 14, 2021 - Python
-
Updated
Apr 14, 2021 - C++
-
Updated
Oct 2, 2019 - C++
-
Updated
Jul 30, 2020 - Python
-
Updated
Apr 5, 2020 - Python
-
Updated
Jul 5, 2022 - C++
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 still adding new languages.
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 updat