You can use several words in query to find by all of them at the same time. In addition, if you are lucky search understands word forms and some synonyms. It supports search by title and author. Examples:

  • 305 — search for 305, most probably it will find blogs about the Round 305
  • andrew stankevich contests — search for words "andrew", "stankevich" and "contests" at the same time
  • user:mikemirzayanov title:testlib — search containing "testlib" in title by MikeMirzayanov
  • "vk cup" — use quotes to find phrase as is
  • title:educational — search in title

Results

1.

Ranks

Last visit:  2 years ago
Registered:  7 years ago
2.
By MikeMirzayanov, history, 2 years ago, In English
Congratulations: Tourist has reached a rating of 4000! Hello, As you may have already noticed, [user:tourist,2024-08-31] has reached the symbolic milestone of 4000 rating points. This is the first time in the history of competitive programming. I, personally, and the entire Codeforces team, congratulate Gennady [user:tourist,2024-08-31] Korotkevich on this incredible achievement! Right now, we have assigned a new rank “Tourist” to the 4+ rating. This highlights the uniqueness of the moment! However, in the future, I would like to change this name to something a bit more neutral (or leave it Tourist?). Would you help me with this? I’d appreciate your cool suggestions in the comments! Here are a few options from me. Please, vote: - Epic Grandmaster - Ultimate Grandmaster - Godlike Grandmaster - Tourist - 4K Grandmaster - Grandmaster 4K - Legendary Grandmaster 4K - Joke option: Ultra HD Grandmaster - from [user:Tlatoani,2024-08-30]: Champ...
on this incredible achievement! Right now, we have assigned a new rank “Tourist” to the 4+ rating, Right now, we have assigned a new rank “Tourist” to the 4+ rating. This highlights the uniqueness

Full text and comments »

  • Vote: I like it
  • +4557
  • Vote: I do not like it

3.
By tourist, history, 7 years ago, translation, In English
Codeforces Global Round 5 <img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width:200px; float:right; margin: 0 1em 1em 1em"/> Hey! On [contest_time:1237] we will host [contest:1237]. It is the fifth round of a new series of [Codeforces Global Rounds](https://codeforces.me/blog/entry/65002) supported by XTX Markets. The rounds are open for everybody, the rating will be updated for everybody. The round will last for 2 hours 30 minutes, 8 problems are waiting for you, and one of them will be proposed in two versions. Scoring distribution: **500 &mdash; 750 &mdash; (750 + 750) &mdash; 2000 &mdash; 2500 &mdash; 3000 &mdash; 3750 &mdash; 4000** The prizes for this round: - 30 best participants get a t-shirt. - 20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive. The prizes for the 6-round series in 2019: - In each round top-100 participants get points according to the [table](https://pastebin.com/QT5sXEaT). - The fi...

Full text and comments »

Announcement of Codeforces Global Round 5
  • Vote: I like it
  • +3664
  • Vote: I do not like it

4.
By Ari, 6 years ago, In English
Codeforces Global Round 9 <img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width:200px; float:right; margin: 0 1em 1em 1em"/> Hi! On [contest_time:1375] we will host [contest:1375]. It is the third round of a 2020 series of [Codeforces Global Rounds](/blog/entry/65002). The rounds are open and rated for everybody. The prizes for this round: - 30 best participants get a t-shirt. - 20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive. The prizes for the 6-round series in 2020: - In each round top-100 participants get points according to the table. - The final result for each participant is equal to the sum of points he gets in the four rounds he placed the highest. - The best 20 participants over all series get sweatshirts and place certificates. Thanks to XTX, which in 2020 supported the global rounds initiative! The problems of this round were prepared by a team of authors: [user:adamant,2020-07-01], [user:anto...

Full text and comments »

Announcement of Codeforces Global Round 9
  • Vote: I like it
  • +2693
  • Vote: I do not like it

5.
By Bakry, 4 years ago, In English
Red Isn't Impossible _I waited for more than a year to write this blog._ I started CP in July 2017, I always dreamed about reaching red, and it finally happened. I didn't become red like talented contestants in 1-2 years, but it took me more than that. The start of my CP journey was average (you can see my graph); It took me more than six months to reach pupil, then another six months to get specialist, and it took me more time to achieve higher ranks. I didn't have any mentor or coach. So, I asked many stupid questions, which you can find if you read my old blogs. One of these questions is, "What's the importance of Dynamic Programming?" (I drafted this blog xD), But of course, I don't motivate people to ask these types of questions as they usually can be answered by just searching. I failed many times during my journey in CP, especially in important competitions (IOI21 and IOI22). I stopped CP many times because I was frustrated and believed I could never improve. For example, I stopped when I w...

Full text and comments »

  • Vote: I like it
  • +1996
  • Vote: I do not like it

6.
By FieryPhoenix, 6 years ago, In English
Codeforces Global Round 14 Hi! On [contest_time:1515], we will host [contest:1515]. **<img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width: 200.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;">** This is the second round of the 2021 series of [Codeforces Global Rounds](https://codeforces.me/blog/entry/65002). The rounds are open and rated for everybody. The prizes for this round: - 30 best participants get a t-shirt. - 20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive. The prizes for the 6-round series in 2021: - In each round top-100 participants get points according to the [table](https://pastebin.com/QT5sXEaT). - The final result for each participant is equal to the sum of points he gets in the four rounds he placed the highest. - The best 20 participants over all series get sweatshirts and place certificates. Thanks to XTX, which in 2021 supported the global rounds i...

Full text and comments »

Announcement of Codeforces Global Round 14
  • Vote: I like it
  • +1595
  • Vote: I do not like it

7.
By MikeMirzayanov, 10 years ago, translation, In English
Codeforces: summing up 2016 year <center> <img src="http://assets.codeforces.com/images/Happy-New-Year-HD-Wallpapers.jpg"/> </center> Somehow it turns out that for me, each coming the New Year means more and more. This is an excellent opportunity to take stock, to breathe fresh air and to go through a kind of catharsis. This is a rare opportunity to be with the family, dress up in Santa Claus and just have fun. Holidays give me a clear criterion that I do the right things. If during the holidays, I begin to think about it, to recall some deferred ideas, eager to implement something new. So I’m doing right things. My things. And now exactly the same as in several recent years: during New Year holidays I write code for Codeforces, trying new technology or simply I’m making minor changes in testlib. It is necessary to me: at this moment are no deadlines, do not press the obligation. Just now, at 3 am, I can not break away from being able to do something new. I would like to take a moment and realize that spun in ...

Full text and comments »

  • Vote: I like it
  • +1405
  • Vote: I do not like it

8.
By Endagorion, history, 6 years ago, In English
Codeforces Global Round 8 <img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width:200px; float:right; margin: 0 1em 1em 1em"/> Hi! On [contest_time:1368] we will host [contest:1368]. It is the second round of a 2020 series of [Codeforces Global Rounds](/blog/entry/65002). The rounds are open and rated for everybody. The prizes for this round: - 30 best participants get a t-shirt. - 20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive. The prizes for the 6-round series in 2020: - In each round top-100 participants get points according to the [table](https://pastebin.com/QT5sXEaT). - The final result for each participant is equal to the sum of points he gets in the four rounds he placed the highest. - The best 20 participants over all series get sweatshirts and place certificates. Thanks to XTX, which in 2020 supported the global rounds initiative! Problems for this round are set by me. Thanks a lot to the coordin...

Full text and comments »

Announcement of Codeforces Global Round 8
  • Vote: I like it
  • +1315
  • Vote: I do not like it

9.
By tourist, 3 years ago, translation, In English
Code Weekend #1 <div align="right" margin="20px"> <img align="right" src="/predownloaded/72/f1/72f1f31badb1452243838a0fc2553c04accff164.jpeg" alt="logo" width="300px" height="300px" margin="20px"/></div> Hello everyone! We, the [RGBTeam](https://clist.by/team/Romka,tourist,%E2%88%A83886090/) ([user:qwerty787788,2024-05-21], [user:Romka,2024-05-21] and [user:tourist,2024-05-21]), are huge fans of heuristic programming competitions and are quite saddened by the fact that they are becoming less and less frequent each year. One day, we decided to organize our own competition :) Despite the fact that such ideas often remain just ideas, this time we have a serious mindset, and now we want to invite you all to participate in the first — and hopefully not last — **[Code Weekend #1!](https://codeweekend.dev)** The competition will be held in a format quite similar to ICFPC/Google Hashcode — there will be one problem and several dozen tests for it. You will need to submit just an output according to t...

Full text and comments »

  • Vote: I like it
  • +1034
  • Vote: I do not like it

10.
By Monogon, history, 6 years ago, In English
Codeforces Global Round 12 <img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width:200px; float:right; margin: 0 1em 1em 1em"/> ¡Buenos días! (That's Spanish for "what's up homies") On [contest_time:1450] we will host [contest:1450]. It is the sixth round of a 2020 series of [Codeforces Global Rounds](/blog/entry/65002). The rounds are open and rated for everybody. The prizes for this round: - 30 best participants get a t-shirt. - 20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive. The prizes for the 6-round series in 2020: - In each round top-100 participants get points according to the table. - The final result for each participant is equal to the sum of points he gets in the four rounds he placed the highest. - The best 20 participants over all series get sweatshirts and place certificates. Thanks to XTX, which in 2020 supported the global rounds initiative! The problems were written and prepared by smart Cu...

Full text and comments »

Announcement of Codeforces Global Round 12
  • Vote: I like it
  • +1239
  • Vote: I do not like it

11.
By MikeMirzayanov, history, 7 years ago, In English
Problem Ratings are Recalculated [May, 2020] Hi! As many have noticed, sometimes problem ratings were assigned in a strange way that was not consistent with expectations. For example, ratings for complex problems of Div3 rounds were often overestimated. This was mainly due to the fact that high-ranking unofficial participants did not try such problems. It turned out that despite the high rating of a participant, a problem is not solved by the participant, and this fact raised the rating of the problem. It is not entirely correct to take into account only official participants since ratings for difficult problems are sometimes more accurately determined by unofficial participants. Somewhere in the comments, I've read that problem ratings are set manually. Of course, this is not so. The process is automated, but I start it manually (I will fix it somehow). I changed the formulas for calculating problem ratings, now they slightly better correspond to expectations. New problem ratings are already available on the website. I ...

Full text and comments »

  • Vote: I like it
  • +1874
  • Vote: I do not like it

12.
By Agnimandur, 5 years ago, In English
Codeforces Round #736 Hello, Westeros! I'm glad to invite you to [contest:1548] and [contest:1549], which will be held on [contest_time:1548]. The round will be rated for both divisions. Each division will have 5-7 problems and 2 hours and 15 minutes to solve them. There **will not** be an interactive problem, so yay!!! This round would not have been possible without the following individuals: 1. [user:Aleks5d,2021-07-30], for awesome coordination of my round. 2. [user:Benq,2021-07-30], for extensive testing and contributions throughout the round, especially for [problem:1548E]. 3. [user:1-gon,2021-07-30], for discussing problems and statements with me for hours on Discord. 4. [user:amgfrthsp,2021-08-01], for translating statements into Russian. 5. [user:MikeMirzayanov,2021-08-01], for Codeforces and Polygon. #### 32 testers The round had a total of 32 testers. I tried to get a "rainbow" of testers to help guarantee a most balanced round. Thank to you to each and every one of them! - ...
definitely reaching the rank of Legendary Grandmaster!

Full text and comments »

  • Vote: I like it
  • +1253
  • Vote: I do not like it

13.
By Tlatoani, 6 years ago, In English
Codeforces Global Round 10 Hi! <img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width: 200.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;"> On [contest_time:1392] we will host [contest:1392]. This is the fourth round of a 2020 series of [Codeforces Global Rounds](https://codeforces.me/blog/entry/65002). The rounds are open and rated for everybody. The prizes for this round are as follows: - The top 30 participants get a t-shirt. - 20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive. The prizes for the 6-round series in 2020 are as follows: - In each round, the top 100 participants get points according to [this table](https://pastebin.com/QT5sXEaT). - The final result for each participant is equal to the sum of the points they got in the four rounds where they placed the highest. - The top 30 participants over all series get sweatshirts and place certificates. Thanks to XTX for sup...

Full text and comments »

Announcement of Codeforces Global Round 10
  • Vote: I like it
  • +1170
  • Vote: I do not like it

14.
By Arpa, history, 2 years ago, In English
IOI vs CF performance: 2024 Edition <blockquote> CF ratings are unrelated to your IOI results. CF contests differ significantly from IOI contests. </blockquote> &#10060; **Wrong!** A higher CF rating, with a gap of at least 100, correlates with an **87%** chance of achieving a better placement at IOI. In fact, the relationship between IOI placement and CF rating is strongly connected. The [Pierson Correlation Coefficient](https://en.wikipedia.org/wiki/Pearson_correlation_coefficient) for these two factors is -0.83. <center> <be> <a href="https://algoritmiacademy.com/wp-content/uploads/2024/10/output_at_ioi.png"> <img width="80%" src="https://algoritmiacademy.com/wp-content/uploads/2024/10/output_at_ioi.png"> </a> <br> <i>Correlation between CF rating and IOI placement</i> </center> &#x2757; What is that outlier participant on the top-right? He is Jiyu Shen ([user:PubabaOnO,2024-10-02]), with CF rating of 3000+, but it seems that he was unable to attend the contest &#128148; Here are the statistics...

Full text and comments »

  • Vote: I like it
  • +1106
  • Vote: I do not like it

15.
By dario2994, 6 years ago, In English
Codeforces Global Round 11 <img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width:200px; float:right; margin: 0 1em 1em 1em"/> Hi! On [contest_time:1427] we will host [contest:1427]. This is the fifth round of the 2020 series of [Codeforces Global Rounds](https://codeforces.me/blog/entry/65002). The rounds are open and rated for everybody. The prizes for this round are as follows: - 30 best participants get a t-shirt. - 20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive. The prizes for the 6-round series in 2020: - In each round top-100 participants get points according to the [table](https://pastebin.com/QT5sXEaT). - The final result for each participant is equal to the sum of points he gets in the four rounds he placed the highest. - The best 20 participants over all series get sweatshirts and place certificates. Thanks to XTX, which in 2020 supported the global rounds initiative! Problems for this round ar...

Full text and comments »

Announcement of Codeforces Global Round 11
  • Vote: I like it
  • +1025
  • Vote: I do not like it

16.
By Mangooste, history, 5 years ago, translation, In English
Codeforces Global Round 19 Hello, Codeforces! (づ。◕‿‿◕。)づ ❤ On [contest_time:1637] we will host [contest:1637]. **<img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width: 200.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;">** It is the first round of a 2022 series of [Codeforces Global Rounds](https://codeforces.me/blog/entry/65002) supported by XTX Markets. The rounds are open and rated for everybody. The presents for this round: - 30 best participants get a t-shirt. - 20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive. The presents for the 6-round series in 2022: - In each round top-100 participants get points according to the [table](https://pastebin.com/QT5sXEaT). - The final result for each participant is equal to the sum of points he gets in the four rounds he placed the highest. - The best 20 participants over all series get sweatshirts and place certificates. The problems w...

Full text and comments »

Announcement of Codeforces Global Round 19
  • Vote: I like it
  • +1029
  • Vote: I do not like it

17.
By star_xingchen_c, 6 years ago, In English
Codeforces Global Round 13 Hello Codeforces! On [contest_time:1491] we will host [contest:1491]. **<img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width: 200.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;">** It is the first round of a 2021 series of [Codeforces Global Rounds](https://codeforces.me/blog/entry/65002). The rounds are open and rated for everybody. The prizes for this round: - 30 best participants get a t-shirt. - 20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive. The prizes for the 6-round series in 2021: - In each round top-100 participants get points according to the [table](https://pastebin.com/QT5sXEaT). - The final result for each participant is equal to the sum of points he gets in the four rounds he placed the highest. - The best 20 participants over all series get sweatshirts and place certificates. Thanks to XTX, which in 2021 supported the global rounds ...

Full text and comments »

Announcement of Codeforces Global Round 13
  • Vote: I like it
  • +1092
  • Vote: I do not like it

18.
By ATSTNG, history, 7 years ago, In English
[Tutorial] Matroid intersection in simple words **[This article is also available in [Russian](https://codeforces.me/blog/entry/69287?locale=ru)]** Hello, CodeForces. I think that matroids are beautiful and powerful concept, however, not really well known in competitive programming. I’ve discovered matroids at 2019 Petrozavodsk Winter Training Camp. There was a problem that clearly cannot be solved using usual techniques I knew, editorial for this problem was just these three words “just matroid intersection”. Back then it took me more than 2 days of upsolving to find all the information and details I need and implement solution that gets Accepted on this. And it took way longer to actually understand why does it work and exactly how does it work. (I still hesitate in some details.) Of course, it is not hard to google up all the definitions and some related articles, but in my opinion they all are focused more on mathematical part of theory, strict proofs in some not really obvious but short ways, and observing only ke...
element of the same type, and rules will preserve. Now, we can also define rank of subset in, graphs 4. Linear independence in vector spaces 5. Rank and basis of set of vectors 6. Gaussian, ground set $X$ and $r$ as a rank of $M$ we have algorithm that runs in $\mathcal{O}(r \cdot n)$ _oracle, in bipartite graphs 4. Linear independence in vector spaces 5. Rank and basis of set of vectors, **Ranks. Ranking function.** Rank of matroid is size of its bases. But we can directly refer it as, **Truncated matroid.** We can limit rank of any matroid by some number $k$ without breaking matroid, **Ранги. Ранговые функции.** (rank) Ранг матроида — это размер его базиса. Но ведь можно так, . Set of elements is independent if no pair of included elements share a color. Rank of a set is, 1. Rank of subset cannot be greater than size of this subset. 2. Rank of independent subset is, rank functions $r_1$ and $r_2$, respectively. Now split ground set $X$ into two parts $U$ and $X

Full text and comments »

  • Vote: I like it
  • +904
  • Vote: I do not like it

19.
By errorgorn, 5 years ago, In English
Codeforces Global Round 20 On [contest_time:1672], we will host [contest:1672]. **Note the unusual timing, it is 30 minutes earlier.** <strong><img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width: 200.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;"></strong> This is the second round of the 2022 series of [Codeforces Global Rounds](https://codeforces.me/blog/entry/65002). The rounds are open and rated for everybody. The prizes for this round: - 30 best participants get a t-shirt. - 20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive. The prizes for the 6-round series in 2022: - In each round top-100 participants get points according to the [table](https://pastebin.com/QT5sXEaT). - The final result for each participant is equal to the sum of points he gets in the four rounds he placed the highest. - The best 20 participants over all series get sweatshirts and place certificates. T...

Full text and comments »

Announcement of Codeforces Global Round 20
  • Vote: I like it
  • +861
  • Vote: I do not like it

20.
By Golovanov399, 7 years ago, In English
C++ tips and tricks Hello, codeforces. I would like to tell you about some tricks and constructions I use in C++. They are not hidden or anything, moreover, most of them are from stl or maybe well known among software engineers, but I often see codes where something is done by hand in, say, 5 lines, while in stl there is a function which does the same. The things below are filtered by my personal sense of non-popularity (so no `__builtin` functions) and usage frequency (so there almost surely are similar things I don't know about) and are not really sorted in any reasonable order. Let's begin. [cut] <hr> - ### `all(x)` This may be an exception to the rule of non-popularity -- this is quite widely used, but some next items will depend on `all(x)`, so I define it here. So, I talk about ```[c++] #define all(x) (x).begin(), (x).end() ``` Now sorting a vector looks like `sort(all(vec))` instead of `sort(vec.begin(), vec.end())`. However, it's not all about this define. Imagine you nee...
Dsu(int _n): n(_n), parent(_n), rank(_n) { iota(all(parent), 0); } ```, ```[c++] int n; vector parent, rank;

Full text and comments »

  • Vote: I like it
  • +756
  • Vote: I do not like it

21.
By _istil, 2 years ago, In English
Codeforces Round 969 (Div. 1, Div. 2) It's been a long day without you, Codeforces! We are glad to invite you to take part in [contest:2007] and [contest:2006], which will start on [contest_time:2007]. You will be given **6 problems** and **2 hours and 30 minutes** to solve them in both divisions. The problems are authored by [user:LMydd0225,2024-08-27], [user:tzl_Dedicatus545,2024-08-27], [user:_FJqwq,2024-08-27], [user:Ternary_Tree_,2024-08-27] and me [user:wyrqwq,2024-08-27] and mostly prepared by [user:LMydd0225,2024-08-27]. One of the problems is also prepared by [user:DitaMirika,2024-08-27]. We would like to thank: - [user:Artyom123,2024-08-27] for his intelligent coordination, and for Russian translation. - [user:arvindf232,2024-08-27], [user:dXqwq,2024-08-27], [user:A_G,2024-08-27], [user:Atomic-Jellyfish,2024-08-27], [user:N_z__,2024-08-27], [user:Tony2_CF,2024-08-27], [user:abc864197532,2024-08-27], [user:PEIMUDA,2024-08-27], [user:hyman00,2024-08-27], [user:yuanruiqi,2024-08-27], [user:Imdie,2024-08...
-30] 5. [user:AuSquare,2024-08-30] (It seems that the rank 5 was banned? So let's move on torank 6, . [user:bingpao,2024-08-30] 5. [user:AuSquare,2024-08-30] (It seems that the rank 5 was banned? So let's

Full text and comments »

  • Vote: I like it
  • +845
  • Vote: I do not like it

22.
By majk, 7 years ago, In English
Codeforces Global Round 4 <img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width:200px; float:right; margin: 0 1em 1em 1em"/> Hi! On [contest_time:1178] we will host [contest:1178]. It is the fourth round of a new series of [Codeforces Global Rounds](https://codeforces.me/blog/entry/65002) supported by XTX Markets. The rounds are open for everybody, the rating will be updated for everybody. You will be given 8 problems and 150 minutes to solve them. The scoring distribution will be **500-750-1250-1750-2000-(1500+1500)+3250+4000**. The prizes for this round: - 30 best participants get a t-shirt. - 20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive. The prizes for the 6-round series in 2019: - In each round top-100 participants get points according to the [table](https://pastebin.com/QT5sXEaT). - The final result for each participant is equal to the sum of points he gets in the four rounds he placed the highest. ...

Full text and comments »

Announcement of Codeforces Global Round 4
  • Vote: I like it
  • +875
  • Vote: I do not like it

23.
By dario2994, 5 years ago, In English
Codeforces Global Round 15 <img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width:200px; float:right; margin: 0 1em 1em 1em"/> Hi! On [contest_time:1552] we will host [contest:1552]. This is the third round of the 2021 series of [Codeforces Global Rounds](https://codeforces.me/blog/entry/65002). The rounds are open and rated for everybody. The prizes for this round are as follows: - 30 best participants get a t-shirt. - 20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive. The prizes for the 6-round series in 2021: - In each round top-100 participants get points according to the [table](https://pastebin.com/QT5sXEaT). - The final result for each participant is equal to the sum of points he gets in the four rounds he placed the highest. - The best 20 participants over all series get sweatshirts and place certificates. Thanks to XTX, which in 2021 supported the global rounds initiative! Problems for this round ar...

Full text and comments »

Announcement of Codeforces Global Round 15
  • Vote: I like it
  • +823
  • Vote: I do not like it

24.
By shiven, history, 2 years ago, In English
A summary of what passes for an Indian ICPC Contest, apparently The online round for the India’s ICPC was held on 23rd. And also a week before that. The first time around, the organisers tried debuting a self-hosted DOMjudge instance. That didn’t go too well, so a recontest was scheduled on CodeChef. If you’re not too familiar with the Indian ICPC system — this online prelims is used to select teams that can participate in the offline regionals. From a single university, usually approx. 2 teams (for the top unis) or 1 (for almost all unis that aren’t in top-15) qualify. As you could guess, it’s quite easy for good teams to miss a spot. Looking at the first contest’s rankings, teams from rank 2 to 100+ all had 4 solves. Owing to severe system issues in the first contest, the time penalties weren’t too reliable differentiators, leading to the recontest this Saturday. In hindsight, we forgot to be grateful for the problemset and reliable testcases the first time. I’m sure everyone agrees that the basic requirements (ignoring all other stuff...
rankings, teams from rank 2 to 100+ all had 4 solves. Owing to severe system issues in the first

Full text and comments »

  • Vote: I like it
  • +925
  • Vote: I do not like it

25.
By feecIe6418, 4 years ago, In English
Codeforces Global Round 21 Hello Codeforces! On [contest_time:1696] we will hold [contest:1696]. **<img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width: 200.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;">** It is the third round of a 2022 series of [Codeforces Global Rounds](https://codeforces.me/blog/entry/65002). The rounds are open and rated for everybody. The prizes for this round: - 30 best participants get a t-shirt. - 20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive. The prizes for the 6-round series in 2022: - In each round top-100 participants get points according to the [table](https://pastebin.com/QT5sXEaT). - The final result for each participant is equal to the sum of points he gets in the four rounds he placed the highest. - The best 20 participants over all series get sweatshirts and place certificates. Thanks to XTX, which in 2022 supported the global ...

Full text and comments »

Announcement of Codeforces Global Round 21
  • Vote: I like it
  • +749
  • Vote: I do not like it

26.
By Geothermal, history, 7 years ago, In English
Remove Virtual Contestants from Contest Leaderboards As most of you are likely aware, cheating in virtual contests (typically by submitting prewritten or copied solutions in order to appear at the top of the leaderboard) is very common. Most recently, [user:wannabecandidatemaster,2020-05-28] submitted solutions to all problems in [this round](https://codeforces.me/contest/1358/standings) in order to take first place in the standings, and [user:bemandrei,2020-05-28] competed virtually in [this round](https://codeforces.me/contest/1360/standings) after competing in the round officially, and ended up in second place on the leaderboard. In response to the rise of VC cheating (as well as some other issues with the VC system I'll describe below), I'd like to make a simple proposal: **Remove all virtual participants from the contest leaderboards.** The one exception is that you should see your own name on leaderboards for contests you VCed (that is, virtual contestants should be visible only to themselves). Similarly, virtual participan...
achieved a high rank by noticing a few early solves on D, correctly discerning that it was unusually, first reached GM, I achieved a high rank by noticing a few early solves on D, correctly discerning that

Full text and comments »

  • Vote: I like it
  • +1001
  • Vote: I do not like it

27.
By Kuroni, history, 3 years ago, In English
Codeforces Global Round 25 Xin chào Codeforces (・ω・)ノ We are pleased to announce the resumption of the Global Rounds. Thanks to XTX Markets for supporting the initiative! In 2024, we will hold 4 such rounds. The series results will take into account the best 3 participations out of 4. On [contest_time:1951] we will host [contest:1951]. **<img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width: 200.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;">** Codeforces Global Round 25 marks the first round in the 2024 series of Codeforces Global Rounds. These rounds are open and rated for everyone. The prizes for this round are as follows: - The top 30 participants will receive a t-shirt. - 20 t-shirts will be randomly distributed among participants ranked between 31 and 500, inclusive. The prizes for the 4-round series in 2024: - In each round, the top-100 participants get points according to the [table](https://pastebin.com...

Full text and comments »

Announcement of Codeforces Global Round 25
  • Vote: I like it
  • +605
  • Vote: I do not like it

28.
By TheScrasse, 12 months ago, In English
Codeforces Round 1066 (Div. 1 + Div. 2) <img src="/predownloaded/13/18/131877f87a8429bb2b0f2038d88cfa74db11fafd.png" align="right" style="height: 250px;" alt="text"/> Ciao, Codeforces! We're glad to invite you to take part in [contest:2157], which will start on [contest_time:2157]. You will be given **9 problems** and **3 hours** to solve them in both divisions. The round will share some problems with [The 2025 ICPC Southwestern Europe Regional Contest (SWERC) 2025](http://www.swerc.eu/2025/). **Note the unusual starting time.** Some of the problems might be interactive, so please read the [guide for interactive problems](https://codeforces.me/blog/entry/45307) if you are not familiar with it. The problems were authored and prepared by [user:KLPP,2025-11-19] and me. We would like to thank - [user:Dominater069,2025-11-19] for his &#128173; &#128161; &#127880; coordination; - [user:Alexdat2000,2025-11-19] for Russian translation; - [user:dario2994,2025-11-19] for VIP testing; - [user:Geothermal,2025-11-19],...
- Rank $1$ : [user:tourist,2025-11-23] - Rank $2$ : [user:jiangbowen,2025-11-23] -Rank $3

Full text and comments »

  • Vote: I like it
  • +410
  • Vote: I do not like it

29.
By rng_58, history, 6 years ago, In English
Three Revolutions of AtCoder Hello. Today I announce three revolutions of AtCoder! ### 1. AtCoder Library (ACL) We provide a collection of pre-written codes of various algorithms and data structures. I'll describe details in a [separate post](https://codeforces.me/blog/entry/82400). ### 2. New Color Scheme Previously, we decided colors by ratings. For example, gold for 3600 and above, silver for 3200 and above, red for 2800 and above, etc. However, it's not clear what the rating values mean, for example, 2800. If we design the rating system relatively well, in the short term the rating 2800 corresponds to a certain level. The skill required to reach 2800 today is probably similar to that of a year ago. However, the structure of the contests may change, the number of users may change, the average level of users may change, etc., and the exact value of ratings is very sensitive to these changes (and it may cause inflation/deflation). Now I believe ranks are more robust against inflation/deflation and ...
more suitable to decide colors, at least for the top people. It's clear what the $k$-thrank means, , at least for the top people. It's clear what the $k$-th rank means — it means you are the $k, 4000 rating1st rating rank Gold3600 rating10th, For the same reason, we added rank graphs on your profile page. Once you reach the 100th place

Full text and comments »

  • Vote: I like it
  • +598
  • Vote: I do not like it

30.
By parveen1981, history, 6 years ago, In English
I compiled a list of almost all useful blogs ever published on Codeforces [update: till 09.06.2021] <h3 style="color:red">If there are any blogs that I have missed, please tell in the comment section. Thank you.</h3> # Mathematics Stuff - [Number Theory in Competitive Programming [Tutorial]](https://codeforces.me/blog/entry/46620) - [Number of points on Convex hull with lattice points](https://codeforces.me/blog/entry/62183) - [FFT, big modulos, precision errors.](https://codeforces.me/blog/entry/48465) - [Number of ways between two vertices](https://codeforces.me/blog/entry/19078) - [Mathematics For Competitive Programming](https://codeforces.me/blog/entry/76938) - [FFT and NTT](https://codeforces.me/blog/entry/19862) - [Burnside Lemma](https://codeforces.me/blog/entry/51272) - [Number of positive integral solutions of equation 1/x+1/y=1/n!](https://codeforces.me/blog/entry/76836) - [On burnside (again)](https://codeforces.me/blog/entry/64860) - [Simple but often unknown theorems/lemmas/formula? Do you know?](https://codeforces.me/blog/entry/55912) - [Probabili...
](https://codeforces.me/blog/entry/71567) - [DSU with randomized linking is as fast as withrank

Full text and comments »

  • Vote: I like it
  • +1500
  • Vote: I do not like it

31.
By -is-this-fft-, 5 years ago, In English
[Tutorial] Proving the inverse Ackermann complexity of Union-Find #### Introduction Most of us are familiar with the union-find data structure and the two optimizations one can do on it: _union by rank_ and _path compression_. Most tutorials will introduce these methods and state that if both optimizations are used, the complexity will be $\mathcal{O}((n + m) \alpha(n))$. Here, $n$ and $m$ are the number of vertices and queries respectively. What is $\alpha$? Generally, we are told that $\alpha$ is some mysterious function that grows very slowly: $\alpha(N) < 5$ where $N$ is the number of subsets of particles in the observable universe and whatnot. What it is is usually not clarified very much. And there is typically no proof (or intuition and other such justifications) as to why the complexity is like that: usually we're told that the complexity analysis is quite long and complicated. At the time of writing, both [cp-algorithms](https://cp-algorithms.com/data_structures/disjoint_set_union.html) and [Wikipedia](https://bit.ly/3EvnzrI) are like th...
$a_{i, 0} \le \mathrm{rank}(v) < a_{i, 1}$ anyway, so this doesn't break our proof., By induction. A vertex with rank 0 has exactly 1 descendant. A vertex, No vertex can attain rank greater than $\log n$, otherwise it would have, checklines, we must have $2x = \mathrm{rank}(v)$ and $2x + 1 = \mathrm{rank }(w)$. Since the find-edge, draw a line, called a _checkline_, of weight $i$ between the vertices of rank $a_{i, j} - 1$ and, last, and after $\sqrt{h}$ such checklines we pass the highest rank in the forest., of weight $i$ is the set of vertices $v$ such that $a_{i, j} \le \mathrm{rank }(v) < a_{i, j + 1, properly account for union-by-rank. Yes, we did use the fact that the height of the forest is at, to this forest. Similarly, when we mention the rank of a vertex, we always mean therank of the, to unite trees (union by rank, union by size, union by coin flip etc). - May use some kind of, will be incredibly shallow. For example, the union-by-rank rule would never make the root of the, #### Union-by-rank and its complexity, **Checklines.** Draw the forest in such a way that vertices of the same rank are drawn at the same, **Observation 1.** If the union-by-rank rule is used, the number of descendants (including the, **Observation 2.** The time complexity of union-find with the union-by-rank rule is $\mathcal{O}(n, **Rank of a vertex.** The _rank_ of a vertex in a forest is the height of its subtree. Leaves have, **Theorem.** The complexity of union-find with path compression and union-by- rank is $\mathcal{O, **Union-by-rank.** _Union by rank_ is the following optimization to DSU: when merging two trees, - there is a checkline of weight 0 between every rank; - there is a checkline of weight 1 between, -rank and 1 page is spent on listing various properties of the Ackermann function. The actual proof is, Now we will attack the time complexity of union-find if both union-by-rank and path compression are, That is: there is a checkline of weight 0 between every rank, and once every approximately $\sqrt{h, The number of find-edges is therefore $\mathcal{O}(m + n \sqrt{h})$. If we use union-by-rank, we, The total number of find-edges is $\mathcal{O}((n + m) \log h)$. If we use union-by-rank, we get, ~~~~~ // in initialization, rank[w] is set to 0 for every w void merge (int u, int v) { u

Full text and comments »

  • Vote: I like it
  • +448
  • Vote: I do not like it

32.
By Dominater069, 2 years ago, In English
Analyzing how good O1-Mini actually is I would like to thank [user:redpanda,2024-09-13] and [user:qmk,2024-09-13] for their great help in writing and reviewing this blog. They are also the users who queried O1-mini for all the following problems. We tried O1-mini on several problems, from a variety of sources. Let's list the results first. **Note** : - Some of the WA verdicts here actually means that the AI just "stopped thinking" which means the AI thought for a long enough time without any useable results so it ran into an error. - All ratings mentioned are Codeforces ratings, the Atcoder ratings have been converted to codeforces rating. To measure the approximate codeforces rating of the atcoder problems mentioned here, you can use https://kenkoooo.com/atcoder/#/table/ + https://silverfoxxxy.github.io/rating-converter. <h4> D2ABs </h4> - [problem:1762B] [<a class="rated-user user-gray" title="Gray">1100</a>] <a class="rated-user user-green" title="Green AC">AC</a> - [problem:1998B] [<a class="rated-...

Full text and comments »

  • Vote: I like it
  • +583
  • Vote: I do not like it

33.
By MikeMirzayanov, 9 years ago, translation, In English
The holidays comes to us! Gifts! <img src="/predownloaded/d5/e7/d5e7e7554e5715c8088274efd5b40dee24e5cc18.png" style="float:right; margin: 0 1em 1em 1em;"/> Do you already have a New Year's mood? And we have traditional gifts! #### Change handle feature Hurry! Only until the 10th of January, you can change your handle (<b>but only once</b>)! Note that it will be possible to roll back the changes or change the handle again only _after a year_. Be careful what you wish for. You can change your handle to the new one which wasn't used before by anybody or which was used by you before. The links to a profile page with old handle would automatically redirect to the actual profile. This year we have an improvement. If you took part in at least 10 rounds you can request handle of an _inactive_ participant. It means that the participant should have a period of activity on Codeforces of at most 30 days, this period should be in 2012 or earlier. The inactive participant can’t have posted comments, messages and s...

Full text and comments »

  • Vote: I like it
  • +1058
  • Vote: I do not like it

34.
By shishyando, 5 years ago, In English
Codeforces Global Round 16 **Hello, Codeforces!** On [contest_time:1566] we will host [contest:1566]. **<img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width: 200.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;">** It is the fourth round of a 2021 series of [Codeforces Global Rounds](https://codeforces.me/blog/entry/65002). The rounds are open and rated for everybody. The prizes for this round: - 30 best participants get a t-shirt. - 20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive. The prizes for the 6-round series in 2021: - In each round top-100 participants get points according to the [table](https://pastebin.com/QT5sXEaT). - The final result for each participant is equal to the sum of points he gets in the four rounds he placed the highest. - The best 20 participants over all series get sweatshirts and place certificates. Thanks to XTX, which in 2021 supported the gl...

Full text and comments »

Announcement of Codeforces Global Round 16
  • Vote: I like it
  • +692
  • Vote: I do not like it

35.
By zscoder, history, 7 years ago, In English
Valentine's Day Contest 2020 Hello everyone! Will you be single and bored during Valentine's Day? Never fear, as [user:zscoder,2020-02-06] is here to cure your boredom. I would like to invite you to Valentine's Day Contest 2020, which will take place on [Friday, February 14, 2020 at 12:30 GMT](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20200214T2030&p1=122&ah=3&am=30). The contest is unofficial and unrated, but the quality of most (if not all) of the problems are comparable to problems from a Codeforces round. I am the author of all problems. The contest format will be IOI format, which means that each problem is worth $100$ points, and there are subtasks for each problem. There will be no time penalty. The problems are **not sorted in increasing order of difficulty**. Unlike IOI, you are allowed to use any templates or notes you have. There are **7 problems** to be solved in **3.5 hours**. There is an interactive problem, so feel free to learn about them [here](https://codeforces.me/...
Valentine's Day less lonely for me. Congratulations to the top 10: Rank 1: [user:Radewoosh,2020-02, Rank 10: [user:waynetuinfor,2020-02-14] (with 326 points), Rank 1: [user:Radewoosh,2020-02-14] (with 577 points), Rank 2: [user:jiangly,2020-02-14] and [user:kefaa2,2020-02-14] (tied with 500 points), Rank 4: [user:NoLongerRed,2020-02-14] (with 426 points), Rank 5: [user:sigma425,2020-02-14] (with 409 points), Rank 6: [user:noneTP,2020-02-14] (with 351 points), Rank 7: [user:master_rat1,2020-02-14] (with 345 points), Rank 8: [user:chocorusk,2020-02-14] (with 340 points), Rank 9: [user:BigBag,2020-02-14] (with 334 points)

Full text and comments »

Announcement of Valentines Day Contest 2020
  • Vote: I like it
  • +564
  • Vote: I do not like it

36.
By RP-1, history, 23 months ago, In English
Changing your rank to lower one is mainstream above 1579 <spoiler summary="Disclaimer"> All data presented is actual as of 2024/12/28, that is, before Good Bye 2024. Also, since Ratings page only shows active users, I decided not to count any others. I apologize to anyone I have not included. </spoiler> Looking at the top-10 users and Recent Actions bar right now, two things become apparent: 1. Since LGMs cannot change their rank to a higher one, more people in, say, top-100 have changed their rank to a lower one than to a higher one. 2. Codeforces-wide, more people have changed their rank to a higher one than a lower one. So there has to be an exact cut-off point, above which the same number of people have changed their rank to either side. I decided to do some scraping to find out exactly where it is. Lo and behold: <img src="https://github.com/maslinnik/cf-magic/blob/master/images/by_position.png?raw=true" alt="Rank changes (leaderboard position)"> Of the top 15k users, about tenth changed their rank to a higher ...
Changing your rank to lower one is mainstream above 1579, Actions bar right now, two things become apparent: 1. Since LGMs cannot change theirrank to a, popular rank changes">, " alt="Rank changes by target rank">, 1. Since LGMs cannot change their rank to a higher one, more people in, say, top-100 have changed, ="Rank changes (leaderboard position)">, ="Rank changes (rating)">, ="Rank changes difference (rating)">, Looks like people who have almost reached a higher rank are less likely to change it. Also, I, Of the top 15k users, about tenth changed their rank to a higher one, and the same number to a, rank to either side. I decided to do some scraping to find out exactly where it is.

Full text and comments »

  • Vote: I like it
  • +354
  • Vote: I do not like it

37.
By PurpleCrayon, history, 5 years ago, In English
Codeforces Global Round 18 <img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width:200px; float:right; margin: 0 1em 1em 1em"/> Happy Holidays! On [contest_time:1615] we will host [contest:1615]. It is the sixth round of a 2021 series of [Codeforces Global Rounds](/blog/entry/65002). The rounds are open and rated for everybody. The presents for this round: - 30 best participants get a t-shirt. - 20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive. The presents for the 6-round series in 2021: - In each round top-100 participants get points according to the table. - The final result for each participant is equal to the sum of points he gets in the four rounds he placed the highest. - The best 20 participants over all series get sweatshirts and place certificates. Thanks to XTX, which in 2021 supported the global rounds initiative! The problems were written and prepared by the hard-working elves [user:1-gon,2021-12...

Full text and comments »

Announcement of Codeforces Global Round 18
  • Vote: I like it
  • +609
  • Vote: I do not like it

38.
By Zlobober, 11 years ago, translation, In English
Codeforces update: contests and problemsetters Hi everybody! Hope you liked our [Revolution of Colors and Titles](/blog/entry/20638). Maybe you even have took part in a contest in new status. The last round have set an incredible record: 8000 participants! And I'm glad to tell you that there was no single technical issue during the round time! Consider the 15-minute delay as a part of our evil plan for setting up a new record :) I'm glad to tell that Codeforces team is able not only to tune colors and formulas, but also to work on new features for you. You may see on [contests](/contests) page that there is a list of authors for each of the rounds! Moreover, in profile of a person there is now an entry called "problemsetting" that allows you to see the list of all contests in whose preparation a person took a part. <center> <a href="http://i.imgur.com/3mul76p.png"><img src="http://i.imgur.com/3mul76p.png" /></a> <br /> [user:Endagorion,2015-10-03] looks like this. </center> [cut] Let's clarify what do we mean by tak...

Full text and comments »

  • Vote: I like it
  • +673
  • Vote: I do not like it

39.
By Zhdun, 6 years ago, translation, In English
When will Codeforces end? The last mark in the updated ranking history As you know, Codeforces recently added the ability to scroll through the user's rating history. I decided to take this opportunity to find out how long this wonderful service plans to exist. To do this, I went to my page, looked at my rating <spoiler summary="Spoiler"> and began to cry </spoiler> ![ ](https://i.imgur.com/OiqVw9V.png) Next, I began to zoom out as much as possible. At one point, I got something that looked like the flag of Indonesia. ![ ](https://i.imgur.com/3l6jaCv.png) After zooming out a bit more and scrolling a bit to the right, I found that at some point new divisions stop being added. To be more precise, this is about the 251st millennium: ![ ](https://i.imgur.com/H4y7S10.png) It seems that we are close to a solution! It remains only to zoom in to see a more accurate value. ![ ](https://i.imgur.com/h1StXcZ.png) So, 275760 is, apparently, the last year of Codeforces' existence! Let's zoom in even more to get the accuracy up to a mont...

Full text and comments »

  • Vote: I like it
  • +1113
  • Vote: I do not like it

40.
By E869120, 8 years ago, In English
[Tutorial] A way to Practice Competitive Programming : From Rating 1000 to 2400+ Dear Codeforces community.<br /> Finally red :)<br /> <br /> Today, I want to share about some ways to practice competitive and gain your rating. I hope that this is helpful for those who is practicing competitive programming harder but rating is sluggish. There are 54,000+ people who participated in Codeforces contests actively, but sadly only a few people reach a red-ranked coders. For people who can't reach red, I will introduce my way to gain rating in some steps.<br /> <br /> This blog is an extended and more detailed version of [my previous tutorial blog](http://codeforces.me/blog/entry/53341), but 2 years and now are different. So there are many points that are different from blog which has written 2 years ago. Note: Some people who already read my previous tutorial blog may doubt, but do not doubt &mdash; I should say that the "from rating 1000 to 2000" part of this blog is not the copy of my previous blog and it's very different.<br /> <br /> Since the size is very big...

Full text and comments »

  • Vote: I like it
  • +607
  • Vote: I do not like it

41.
By codetiger927, history, 5 years ago, In English
Introducing CF Stonks — A Virtual Stock Market Based on Your CodeForces Rating! **2/11/2023 Update**: There had been a month-long hiatus due to the CF name change magic (and my own laziness oops), but everything has been fixed now :D! However, I know a lot of people have gone inactive due to the month-long market closure, so I am hoping to **relaunch StonksCF** in the near future with some new mechanisms (dividends, automatic algorithm trading, etc.). Let me know if you have any ideas! In the meantime, feel free to continue exploiting the way-over-inflated economy and embrace your inner capitalism >:D **Final Update**: We now have our own **DISCORD SERVER**. Join us for the latest information and engage with the community at [https://discord.gg/AeH2GTwkF5](https://discord.gg/AeH2GTwkF5) All the announcements will be there instead of on this page Greetings Fellow CodeForces users! I am proud to introduce my latest project, [CF Stonks](https://codetiger.me/project/StonksCF) (aka StonksCF), which is a virtual stock market based on your CodeForces rating. ...
$% boost between the ranks. The exact formula is $price = 1.2^{rank} \cdot rating$. While the market is, ^{rank} \cdot rating$.

Full text and comments »

  • Vote: I like it
  • +711
  • Vote: I do not like it

42.
By errorgorn, 2 years ago, In English
[RANT] Warning to other coordinators about Wuhudsm Hi again, it is me. I want to preface this blog by saying that I am totally aware that it is not good netiquette to screenshot private messages and publish them publicly. But honestly, I can't care anymore now. Below is an unorganized rant. Sorry, I'm too pissed to write the things below concisely. And here: I'm pinging him: [user:wuhudsm,2024-07-21]. In an ideal world, I could probably just tell him privately to stop doing it. But I already did. So I think I need to write this blog to either stop him from doing this again or just soft-ban him from authoring more rounds by telling everyone about it. Let me just preface this blog with a fact of coordination -- it is very possible that problems from contest A will be used in contest B even after testers from contest A have seen those problems. So there are indeed (many) testers who could possibly be affected by this. Some examples of this happening (where I was involved): - Contest problems based on on-site contests were quit...

Full text and comments »

  • Vote: I like it
  • +621
  • Vote: I do not like it

43.
By Qingyu, 3 years ago, In English
The 3rd Universal Cup Announcement (with Details of Upcoming Online and Onsite Event on June 23!) <center> <img src="/predownloaded/a6/3b/a63b8b0dc4b18f3e18c316abc22d4677aa075fd8.png" style="height: 262.0px;max-width: 100.0%;max-height: 100.0%;"> </center> Hello everyone, we are happy to announce that the 3rd Universal Cup has started officially. Universal Cup is an organization dedicated to offering training resources for competitive programming teams. In the previous season, over 900 teams from more than 500 affiliations all over the world, registered and participated in a total of 28 stages, encompassing contests from Asia, Europe, and America. We also want to express our gratitude to our sponsor [Huawei](https://codeforces.me/blog/entry/122510). - Semifinal and Summer Summit --------------------------- As announced before ([Link](https://codeforces.me/blog/entry/127295)), we will host the 2nd Universal Cup Semifinal on June 23, 2024. The contest will start at 17:00 (UTC +8) and end at 22:00 (UTC +8). **Any Universal Cup registered team can participate. If you are...
(may be replaced by products of similar value when processing): | Online Rank| Prize for each team, | Online Rank| Prize for each team member (at most 3)| |------|--------------| | Champion (Rank 1, | Onsite Rank| Prize for each team member (at most 3)| |------|--------------| | Champion (Rank 1

Full text and comments »

  • Vote: I like it
  • +310
  • Vote: I do not like it

44.
By Xellos, history, 11 years ago, In English
Codeforces Round #333 — editorial ### Hints: [div2A](#div2A): Try conversions between bases. [div2B](#div2B): Solve a simpler version of the problem where $A_{i+1} \neq A_i$ for all $i$. [div1A](#div1A): What are the shortest paths of the vehicles? what's the shorter of those paths? [div1B](#div1B): Forget about the ceiling function. Draw points $(i,A[i])$ and lines between them &mdash; what's the Lipschitz constant geometrically? [div1C](#div1C): Some dynamic programming. Definitely not for the exp. score of one person &mdash; look at fixed scores instead. [div1D](#div1D): Compute $dif(v)$ in $O(N)$ (without hashing) and then solve the problem in $O(N^2)$. You need some smart merges. [div1E](#div1E): Can you solve the problem without events of type 1 or 2? Also, how about solving it offline &mdash; as queries on subsets. ![ ](https://i.imgur.com/bnWmD60.png) ### <a name="div2A"></a>Div. 2 A: Two Bases ------------------------------------ It's easy to compare two numbers if the same bas...
)$ to the overall rank of Kleofáš and people with $s \le s_k$ add nothing, we can find the answer as, After some attempts, one finds out that there's no reasonable way to make a DP for an expectedrank

Full text and comments »

  • Vote: I like it
  • +490
  • Vote: I do not like it

45.
By xiaowuc1, 2 years ago, In English
2nd Universal Cup Semifinal — Online Version This weekend, we will host the 2nd Universal Cup Semifinal. Unlike with previous Universal Cup rounds, there will be exactly one window that all teams will participate in. This window will be from [5pm to 10pm UTC+8 on Sunday, June 23rd](https://www.timeanddate.com/worldclock/fixedtime.html?msg=Universal+Cup+Semifinals+%28Online%29&iso=20240623T17&p1=3910&ah=5). Note that this window is after the onsite version. **Any Universal Cup registered team can participate. If you are new here, please register following the instructions on** [Registration](https://universal-cup-website.qoj.ac/register?season=3). <center style="margin: 2.5em;"> <a href="https://universal-cup-website.qoj.ac/register?season=3" style="text-decoration: none;font-size: 24.0px;background-color: rgb(140,40,60);color: white;font-weight: bold;padding: 0.5em 1.0em;">Register!</a> </center> Besides competing to advance to the Universal Cup Finals, sponsored by Huawei, we have also prepared prizes for teams in the...
be replaced by products of similar value): | Online Rank| Prize for each team member (at most 3, | Online Rank| Prize for each team member (at most 3)| |------|--------------| | Champion (Rank 1

Full text and comments »

  • Vote: I like it
  • +375
  • Vote: I do not like it

46.
By Little09, 2 years ago, In English
Codeforces Global Round 28 Hello, Codeforces! We are pleased to announce the resumption of the Global Rounds. Thanks to XTX Markets for supporting the initiative! In 2024, we will hold 4 such rounds. The series results will take into account the best 3 participations out of 4. On [contest_time:2048] we will host [contest:2048]. **<img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width: 200.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;">** Codeforces Global Round 28 marks the fourth round in the 2024 series of Codeforces Global Rounds. These rounds are open and rated for everyone. The prizes for this round are as follows: - The top 30 participants will receive a t-shirt. - 20 t-shirts will be randomly distributed among participants ranked between 31 and 500, inclusive. The prizes for the 4-round series in 2024: - In each round, the top-100 participants get points according to the [table](https://pastebin.com/NMzrRci8)....

Full text and comments »

Announcement of Codeforces Global Round 28
  • Vote: I like it
  • +563
  • Vote: I do not like it

47.
By EvenImage, history, 8 years ago, In English
A problem collection (Spoiler Alert) SPOILER ALERT : If you didn't solve the problems in NEERC and you want to enjoy the problems, please don't read. <spoiler summary="Spoiler"> It looks there are few problems about general graph matching in the community. And there are a few teams who solved problem B in NEERC both online and onsite. However, the reduction from maximum cost perfection matching to this problem is simple to me. So I want to share some problems for practice. You can find the template [here](http://uoj.ac/problem/81/statistics) and [here](http://uoj.ac/problem/79/statistics). The [shortest code](http://uoj.ac/submission/282287) of the maximum cost matching problem is about 5.7k. There is a simple way to find the cardinality of the maximum matching, which is half of the rank of the Tutte matrix. We can use Gaussian elimination to compute the rank of a matrix. By the way, if the maximum cost is no more than $W$, we can also find the maximum cost matching by Tutte matrix and polynomial interp...
There is a simple way to find the cardinality of the maximum matching, which is half of therank of

Full text and comments »

  • Vote: I like it
  • +386
  • Vote: I do not like it

48.
By MikeMirzayanov, 11 years ago, translation, In English
The Second Revolution of Colors and Titles Over the last several months the Codeforces team has been looking anxiously at the inflation in the rating caused by both an influx of new users and the imperfect calculating formulas. In the end it lead to noticeable shifts in colors and titles. For example, getting red in 2015 became much easier than in 2013. We conducted a [survey about the way to introduce the color bounds](/blog/entry/20629). We are happy to announce the updated colors and titles! A summary of the main changes goes like that: * a new color: greenish-blue color or cyan &mdash; just like the name implies, this color takes its place between green and blue, now the participants of the second division will be better differentiated; * all the colors shift upwards along the rating scale &mdash; see the table below. Now reaching the top positions will be harder; * the legendary grandmaster &mdash; the new title and color for those who reached the sky high rating 2900. The cold colors (gray, green, cyan an...
The table below illustrates the new values of the color and rank borders:

Full text and comments »

  • Vote: I like it
  • +527
  • Vote: I do not like it

49.
By defnotmee, 2 years ago, In English
Catching the Mole II(Hard Version) (Psychotic_D cheating case aftermath) This is a part 2 of [my other blog](https://codeforces.me/blog/entry/131821) on the [user:Psychotic_D,2024-07-23] situation. I highly recommend you see it before this one for context. If you don't care that much, here is a quick recap of what was covered in the other blog before we get started: [user:Psychotic_D,2024-07-23] had a ridiculously good performance on his friend's ([user:wuhudsm,2024-07-23]) round. This let many people become suspicious of whether he achieved this legitimately. Then multiple accusations were thrown around and I did my blog doing my own investigation and compiling the most compelling evidence I found. The takeaway was that [user:Psychotic_D,2024-07-23] was probably cheating along [user:EndlessDreams,2024-07-23], who would give him code for [user:Psychotic_D,2024-07-23] to copy. [user:Psychotic_D,2024-07-23] would alter them heavily to avoid plagiarism, but it was clear beyond a reasonable doubt that he was cheating. Well, I finished writing that blog, ...
international grandmaster role (which is the same rank as [user:amenotiomoi,2024-07-23]):

Full text and comments »

  • Vote: I like it
  • +586
  • Vote: I do not like it

50.
By lk_ZeroMaker, 7 years ago, In English
See what's CodeChef's response to their mistake Several days ago, when I was participating in Code Chef March Challenge 2020, I found this announcement [here](https://www.codechef.com/MARCH20): ![announcement](/predownloaded/49/8a/498ae23d79aa3d22e9d05a18cee962200da39452.png) CodeChef [gives cash prizes to the top 2 global contestants](https://discuss.codechef.com/t/how-do-i-win-a-codechef-goodie/7344/2), so, does "double the number of prizes" apply to cash prizes as well? With this doubt, I sent an email to CodeChef, and received this: ![reply1](/predownloaded/88/66/88664f35dab8107d9f901f07ffbd468e00330e88.png) When I got this reply, I was at rank 3. Since he said "The number of cash prizes will be double", which sounded like top 1~4 will get cash prizes, I thought I didn't need to optimize my solution in order to win the cash prize. After the final ranking was out, I was still rank 3, so I sent another email to confirm that I would get the cash prize, but this time the reply was different: ![reply2](/predownlo...
this reply, I was at rank 3. Since he said "The number of cash prizes will be double", which sounded, After the final ranking was out, I was still rank 3, so I sent another email to confirm that I, When I got this reply, I was at rank 3. Since he said "The number of cash prizes will be double

Full text and comments »

  • Vote: I like it
  • +566
  • Vote: I do not like it

51.
By Imakf, history, 4 years ago, In English
Codeforces Global Round 24 Hello Codeforces!<img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width: 200.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;"> On [contest_time:1764] we will host [contest:1764]. **Note the unusual time of the round.** It is the sixth round of a 2022 series of [Codeforces Global Rounds](https://codeforces.me/blog/entry/65002). The rounds are open and rated for everybody. The prizes for this round: - 30 best participants get a t-shirt. - 20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive. The prizes for the 6-round series in 2022: - In each round top-100 participants get points according to the [table](https://pastebin.com/QT5sXEaT). - The final result for each participant is equal to the sum of points he gets in the four rounds he placed the highest. - The best 20 participants over all series get sweatshirts and place certificates. Thanks to XTX, which ...

Full text and comments »

Announcement of Codeforces Global Round 24
  • Vote: I like it
  • +513
  • Vote: I do not like it

52.
By SlavicG, 5 years ago, In English
How to use Codeforces [GUIDE] I see a lot of newcomers struggling to use the website to it's fullest, so I decided to write a blog that has all important information about how to use Codeforces in a single place. I will update it with time, so feel free to write your suggestions/questions in case I missed something and I will be glad to add it to the post! I would like to thank [user:_Vanilla_,2022-02-05] and [user:mesanu,2022-02-05] for helping me write the blog, and [user:Monogon,2022-02-05], [user:down,2022-02-05] and [user:AlperenT,2022-02-05] for proofreading and giving suggestions. #### Navigating through pages ![ ](https://media.discordapp.net/attachments/705371983650619454/928235498487570442/bandicam_2022-01-05_12-36-00-134.jpg?width=991&height=110) It's possible to navigate through most pages of Codeforces using the bar on the top, I will talk about what each tab does more in depth below: #### The Help Page The help page contains the answer to a lot of questions about Codeforces, such as rati...
graph represent the rank of the users, in the following way:

Full text and comments »

  • Vote: I like it
  • +726
  • Vote: I do not like it

53.
By ArshiaDadras, 2 years ago, In English
Rayan 2024 Selection Round (Div. 1 + Div. 2, Rated, Prizes!) &#128075; Salam, Codeforces! ------------------ <img src="/predownloaded/10/20/1020443c4ada8a8d0aeaa46f6dd4a34120fe8030.png" style="width: 30.0%;float: right;margin: 0 0.5em 0.5em 0.5em;max-width: 100.0%;max-height: 100.0%;"> We are thrilled to invite you to the [contest:2034]. The **Selection Round** is a rated contest for Div. 1 + Div. 2, taking place on [contest_time:2034]. The problems for this round were crafted and prepared by [user:ArshiaDadras,2024-11-19], [user:MohammadParsaElahimanesh,2024-11-19], [user:AmShZ,2024-11-19], [user:AmirrzwM,2024-11-19], and [user:Keshi,2024-11-19]. The **top 60 trusted participants** (with a maximum of three from each country) will qualify for the onsite **Final Round** in Tehran, in Spring 2025. An additional quota is reserved for the host country. Hotel accommodation, local transportation, and meals will be provided to all finalists. More details about the final contest will be available on the [Rayan](https://rayan.global/) website. ...

Full text and comments »

  • Vote: I like it
  • +546
  • Vote: I do not like it

54.
By buffering, history, 2 years ago, In English
Codeforces Global Round 26 Hello, Codeforces! We are pleased to announce Codeforces Global Round 26! Thanks to XTX Markets for supporting the initiative! In 2024, we are holding 4 such rounds. The series results will take into account the best 3 participations out of 4. On [contest_time:1984] we will host [contest:1984]. **<img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width: 200.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;">** Codeforces Global Round 26 marks the second round in the 2024 series of Codeforces Global Rounds. These rounds are open and rated for everyone. The prizes for this round are as follows: - The top 30 participants will receive a t-shirt. - 20 t-shirts will be randomly distributed among participants ranked between 31 and 500, inclusive. The prizes for the 4-round series in 2024: - In each round, the top-100 participants get points according to the [table](https://pastebin.com/QT5sXEaT). - A part...

Full text and comments »

Announcement of Codeforces Global Round 26
  • Vote: I like it
  • +595
  • Vote: I do not like it

55.
By chenjb, history, 15 months ago, In English
Comments on World Finals Baku's Problemset Distribution **UPD:** I modify the title to a more moderate version. I once again would like to emphasize that I am only questioning the medal distribution should be better and many things can be done to prevent a close cut-off line this year. I am sorry for whoever feel offended. Let’s keep this as a discussion and exchanging of views. Now that the results are released, let's congratulate all teams that made it to the World Finals, and especially those who have won medals and the trophy. **Disclaimer 1:** I respect all efforts from judges, and this blog is purely based on my observations and is not intended to be personal. It is not easy to make a problemset and your work is greatly appreciated. **Disclaimer 2:** I haven't read the problemset, which means I know nothing about the problems so far. Therefore, feel free to consider this as nonsense. **Disclaimer 3:** I don't know anything about the pipeline in the World Finals' problem setting. OK, I only want to emphasize one phenomen...
://nac.icpc.global/scoreboard/2024/. FYI, Rank 7 has the same number of solves as everyone tilRank 21, with, OK, I only want to emphasize one phenomenon from this contest: Rank 4 (Gold) has the same number of

Full text and comments »

  • Vote: I like it
  • +351
  • Vote: I do not like it

56.
By 300iq, 9 years ago, translation, In English
Avito Code Challenge 2018 Hi! I'm glad to invite you to take part in [contest:981] which starts on [contest_time:981]. Any participant can join the round and it will be rated for each participant. Hope to see you among the participants! Problems are prepared by me — Ildar Gainullin. This round is conducted on the initiative and support of [Avito](https://www.avito.ru/). Avito.ru is a Russian classified advertisements website with sections devoted to general good for sale, jobs, real estate, personals, cars for sale, and services. Avito.ru is the most popular classifieds site in Russia and is the third biggest classifieds site in the world after Craigslist and the Chinese website 58.com. Many thanks to Vladislav [user:winger,2018-05-24] Isenbaev, Grigory [user:gritukan,2018-05-24] Reznikov, Ivan [user:isaf27,2018-05-24] Safonov,Alexander [user:AlexFetisov,2018-05-24] Fetisov and Shiqing [user:cyand1317,2018-05-24] Lyu for the round testing, Nikolay [user:KAN,2018-05-24] Kalinin for helping me to...
| List place | Contest | Rank | Name | |--|--|--|--| | 6 | 981 | 36 | [user:snuke,2018-05-30

Full text and comments »

Announcement of Avito Code Challenge 2018
  • Vote: I like it
  • +565
  • Vote: I do not like it

57.
By sigma_g, history, 6 years ago, In English
CodeCraft-21 and Codeforces Round #711 (Div. 2) Hello all! We are proud to invite you to **CodeCraft-21**, which takes place on [contest_time:1498]. It is rated for all Div2 participants (rating under 2100). This contest comes under **Threads'21**, as a part of our annual techno-cultural fest [Felicity, IIIT Hyderabad](https://felicity.iiit.ac.in). We have **special prizes for Indian participants**! <img src="/predownloaded/8e/0a/8e0a76faf6acc96ba6ffb9b873136259066b5211.png" width="450px"> You will be given **six problems** to solve in a duration of **two hours**. We have tried our best to keep clean statements, useful samples with good explanations, and strong pretests! We have written step-wise editorials, and will also release video editorials! We would like to thank these amazing people for helping make the contest happen: - [user:bleddest,2021-03-27] for great coordination of our round - [user:ninja_28,2021-03-27], [user:dixitgarg,2021-03-27], [user:ltc.groverkss,2021-03-27] and myself for amazing problem...

Full text and comments »

  • Vote: I like it
  • +535
  • Vote: I do not like it

58.
By -is-this-fft-, history, 5 years ago, In English
Statistics of New Year Magic #### Introduction New Year's traditional masquerade of colors and ranks is going to end pretty soon, and before it goes away, I decided to download a snapshot of everyone's true ratings and current handle colors to see how everyone's using the feature. I regret that I only have one snapshot; I only managed to push myself to finish this today. It would have been really cool to see how people's usage of the feature has evolved &mdash; perhaps an initial surge of masquerading as a nutella, then slowly coming to one's senses and opting for something milder? Data was collected on January 9th, at about 01:00 UTC. I collected the data by scraping the pages of the "rating" tab (sorry for making a lot of requests!) &mdash; the table contains people's actual ratings, and by looking at the title-text of people's handles, I could also get their possibly-magicked ranks. I only included the active people because it was already taking a lot of time, and I believe we got most of the interesting ...
participating in magic, and for each true rank, look at the percentage of people of thatrank that are, First, let's look at the basic data: how many people of a given rank are masquerading as another, The percentage of fake nutellas goes down so smoothly as the true rank increases, it's very

Full text and comments »

  • Vote: I like it
  • +275
  • Vote: I do not like it

59.
By Agnimandur, history, 5 years ago, In English
April Fools Day Contest 2022 With [user:Nickolas,2022-03-29] not writing a contest this year, [user:magnus.hegdahl,2022-03-29] and I have decided to take up this sacred duty :). We would like to invite everyone on Codeforces to the [contest: 1663]. Special thanks to [user:BucketPotato,2022-03-29] for volunteering to test this contest! The 10th April Fools Day Contest will take place on [contest_time:1663]. This is a joke competition in which solving the problem is often easier than figuring out what the actual task is. In this round you'll be given several weird problems and 2 hours to solve them. The contest will use ACM ICPC rules (no hacks, the standings are decided by the number of solved problems and penalty time earned on them), and it will be unrated. You can submit solutions in any language allowed by Codeforces, unless the problem says otherwise. To get an idea of what the contest will look like, you can check out the contests of the past years: [2012](https://codeforces.me/contest/171), [2013](htt...
| Rank | Username | Score | ----------- | ----------- | ----------- | | 1

Full text and comments »

  • Vote: I like it
  • +538
  • Vote: I do not like it

60.
By SlavicG, history, 4 years ago, In English
The Toxic Mindset in Competitive Programming and How to Fight It #### Introduction Rating is a great measure of skill and a nice way to observe progress by comparing yourself to your past self and seeing where you stand in the community. As great measure as it is, there are a lot of problems that come with it. They have nothing to do with how the rating system works but rather with how human beings function. In this blog post, I will talk about some of the most pressing personal problems that come up with rating and try to provide some advice on how to solve them, speaking from personal experience and from the experience of a lot of other people I know. #### Associating self-worth to rating This is, in my opinion, the most significant problem people face, and it also pretty much contains all the following problems as a subset. It's extremely easy to fall into this rabbit hole since, as a competitive programmer, it only feels natural to associate our rating with intelligence and, respectively, our intelligence with self-worth. Why is this su...
five more, I would have gotten a new rank! Why couldn't I have gotten the five extra points? Am I too, important thing in the world. It isn't. No, getting your dream rank won't be the thing that will make, more than your rank. Don't judge yourself solely based on your rating.

Full text and comments »

  • Vote: I like it
  • +432
  • Vote: I do not like it

61.
By dario2994, history, 5 years ago, In English
Italian Olympiad in Informatics (OII) 2021 — Online Contest <img src="/predownloaded/e9/99/e999d7930072f828723759fc17dff92d3f6b2727.png" style="width:60%; display: block; margin-left: auto; margin-right: auto;"/> For the sixth time, the Italian national contest (valid for the selection of the Italian IOI team) will be mirrored into an online contest. Everyone is welcome to participate! There are both easy subtasks (div2A) and very hard ones (div1D+), so it can be enjoyable both for newcomers and for very high rated contestants. 1. The **problem statements** will be available in both **English and Italian**. 2. Tasks will be **IOI-like** (with graders and subtasks) and you will have **5 hours** to solve them. 3. The only language allowed is **C++**. 4. The **time window for the practice contest** (featuring original problems) will start on [2021 November 13th, 08:00 CET](https://www.timeanddate.com/worldclock/fixedtime.html?msg=OII+2021+-+Practice&iso=20211113T08&p1=215) and will end on [2021 November 15th, 23:59 CET](https://ww...

Full text and comments »

  • Vote: I like it
  • +247
  • Vote: I do not like it

62.
By kostka, 12 years ago, In English
Hackers ranking (beta) ### FAQ **What is this?** Have you ever wondered who is the best hacker on Codeforces? Here is simple solution, which would try to answer for your problem! I would like to introduce new system of grading hackers in rounds. [cut] <p></p> <b>How does it work?</b> The whole rating system is based on <a href="http://en.wikipedia.org/wiki/Elo_rating">Elo rating</a>. The problem is how to measure user's performance in each round. **Yes, how?** The whole system is now in phase of testing, so some solutions may be changed (and probably will be changed :)). So let's consider some user during some round. Let's call him Bob. **I want to choose another name, may I?** No. **Ok.** So, let's say that Bob solved three problems: A, B and C (Bob is pretty sad), but also hacked one solution for B and had one unsuccessful hack attempt. Bob doesn't know that his solution for C won't pass system tests. How would we know if it was good or bad? At first, we will look at al...

Full text and comments »

  • Vote: I like it
  • +82
  • Vote: I do not like it

63.
By TheScrasse, history, 4 years ago, In English
Italian Olympiad in Informatics (OII) 2022 — Online Contest <img src="/predownloaded/dc/d6/dcd6d0755244b6210c34d04c36f841fc6ee20f92.png" style="display: block; margin-left: auto; margin-right: auto;"> For the seventh time, the Italian national contest (valid for the selection of the Italian IOI team) will be mirrored into an online contest. The contest is primarily intended for high school contestants, but everyone is welcome to participate! There are both easy subtasks (div2A) and very hard ones (div1D+), so it can be enjoyable both for newcomers and for very high rated contestants. 1. The **problem statements** will be available in both **English and Italian**. 2. Tasks will be **IOI-like** (with graders and subtasks) and you will have **5 hours** to solve them. 3. The only language allowed is **C++**. 4. The **time window for the practice contest** (featuring original problems) will start on [2022 September 13th, 00:01 CET](https://www.timeanddate.com/worldclock/fixedtime.html?msg=OII+2022+-+Practice&iso=20220913T0001&p1=215) and wi...

Full text and comments »

  • Vote: I like it
  • +181
  • Vote: I do not like it

64.
By FelixArg, history, 2 years ago, translation, In English
Codeforces Round 955 (Div. 2, with prizes from NEAR!) Hello, Codeforces! It's been a long journey, and I'm finally pleased to invite you to participate in our [contest:1982], which will take place on [contest_time:1982]. This round will be <b>rated</b> for all participants with a rating is <b>below 2100</b>. Participants with higher ratings can participate out of competition. During the round, you will need to solve <b>6 problems</b>. You will have <b>2 hours</b> to solve them. The problems for the round were prepared by [user:nik1998,2024-06-21], [user:egor4444ik,2024-06-21], [user:iamdimonis,2024-06-21] and me. We sincerely thank everyone who provided invaluable assistance in preparing this round: <ul style="list-style-type:square"> <li>Our insightful coordinator [user:74TrAkToR,2024-06-21] for excellent communication, helpful advice and assistance in problem preparation!</li> <li>[user:Kolychestiy,2024-06-21] for improving one of the problems.</li> <li>[user:EJIC_B_KEDAX,2024-06-21], [user:A_G,2024-06-21], [user:zw...
The round also features prizes in NEAR. Participants who rank in the top 16 will receive Ⓝ 16 each

Full text and comments »

  • Vote: I like it
  • +434
  • Vote: I do not like it

65.
By mtnshh, history, 6 years ago, In English
Divide by Zero 2021 and Codeforces Round #714 (Div. 2) [The Programming Club, IIT Indore](https://www.linkedin.com/company/progclub-iiti) is proud to present our flagship event, **Divide By Zero**! The contest will take place on [contest_time:1513]. This round will be rated for all participants with a rating lower than 2100. ![Divide By Zero 2021](/predownloaded/bd/91/bd91b097406e37c0d35b474bbf0d95b5a097d840.jpeg) Thanks to the following people for making the round possible: - [user:KAN,2021-04-10] for coordinating throughout the round. - [user:kalpitk,2021-04-10], [user:ajit,2021-04-10] and [user:7dan,2021-04-10] for setting the problems. - [user:dvshah,2021-04-10], [user:bhanushali,2021-04-10], [user:sundesh,2021-04-10], [user:AniketSangwan,2021-04-10], [user:krishanu21saini,2021-04-10], [user:somyamehta_24,2021-04-10] and [user:hk2102,2021-04-10] for their contribution to the problemset. - [user:Um_nik,2021-04-10], [user:dorijanlendvaj,2021-04-10], [user:chctxdy68,2021-04-10], [user:Osama_Alkhodairy,2021-04-10], [user:Scarle...
- Top 10 Indian Participants - Random 10 from top 100 (rank 11-100) Indian participants, Random 10 from top 100 (rank 11-100) Indian participants

Full text and comments »

  • Vote: I like it
  • +502
  • Vote: I do not like it

66.
By Arpa, 15 months ago, In English
Rayan 2025 World Finals **&#128075; Salam, Codeforces!** ------------------ We are excited to announce that the final round of the **Rayan Programming Contest** will be held **onsite in Tehran**, from **November 25–29, 2025**! All participants ranked **1-1000** in the [Rayan Selection Round](https://codeforces.me/contest/2034/standings) are invited to complete the [registration form](https://rayan.global/registration/) by <s>August 25, 2025</s> **August 27, 2025**. The final list of invited participants—selected based on rank and geographical diversity—will be announced shortly thereafter. Beyond the chance to win **top-tier prizes worth $40,000 USD**, finalists will enjoy a unique opportunity to experience the timeless beauty and rich heritage of **ancient Persia**, with special highlights from the vibrant city of [Tehran](https://rayan.global/gallery/tehran-attractions/). <img src="https://rayan.global/files/Golestan-Palace.jpg" style="width: 100%;"> **Hotel accommodation, local transportat...
on rank and geographical diversity—will be announced shortly thereafter.

Full text and comments »

  • Vote: I like it
  • +298
  • Vote: I do not like it

67.
By DNR, 6 months ago, In English
So you're a proud ratist? Here's why that's problematic (GRAYtist v1.1 out now) Just kidding, I'm one too. <img src="https://raw.githubusercontent.com/welcome-to-the-sunny-side/graytist/main/public/wordmark.png?v=2" alt="GRAYtist" style="float:right; width:400px; height:auto; margin-left:24px; margin-bottom:8px;"> Introducing [GRAYtist](https://chromewebstore.google.com/detail/graytist/bflnfmllkbhilogfbdilcckpkfganelc), a browser extension that helps you filter out low-quality content from Codeforces. You might say: "B-b-but [user:DNR,2026-06-12], such a tool would surely spam some API calls or use some heavyweight classifier models! My potato PC couldn't handle it, right?!". Wrong. We instead use the principle of ratism ($P(\text{low rating} \iff \text{low quality}) \approx 1$) to optimize away all of that nonsense. <div style="clear:both;"></div> ### Features ##### 1. Filter blogs by author rank and title. - Don't want to see blogs from grays because they're annoying, and blogs from nutellas because they make you feel inferior? GRAYtis...
open the standings during a round? GRAYtist lets you filter standings by rank. - Choose a set of, ##### 1. Filter blogs by author rank and title., ##### 2. Filter comments by author rank, ##### 3. Filter standings by participant rank

Full text and comments »

  • Vote: I like it
  • +295
  • Vote: I do not like it

68.
By Geothermal, history, 5 years ago, In English
Thoughts on Reaching Cyan? Hi, Codeforces! Recently, [user:Wind_Eagle,2022-04-03] wrote a blog with his thoughts on practicing in which he asserted the standard advice to solve more problems is not a reliable way for gray/green users to improve. I don't agree with some of his conclusions: for example, he asserts that it is difficult/impossible to practice at the gray/green level without a coach; as anecdotal evidence, I have never had a coach coordinating my competitive programming practices, and I think many other top competitive programmers have also never had access to coaching. However, I agree that the standard "just solve problems" advice is not working, and I don't know what *is* the best advice to give to gray/green users on how best to practice, so I wanted to start a discussion of what has worked for people in the past. Therefore, I have a request for everyone reading this blog: if you are cyan or above, please post a comment sharing what you did to advance to cyan (or perhaps even blue). Ever...
comment, no matter your current rank and no matter when you made the climb to cyan.

Full text and comments »

  • Vote: I like it
  • +313
  • Vote: I do not like it

69.
By Lyde, 4 years ago, In English
Sometimes it's not their fault. Hello! It's 2023 now, and everyone is happy and hoping for a good year, which many good contests to come. So I want to say about one thing that I saw in most of the contests from last year, which I was pretty much annoyed about it and decided to speak about so that this year we will hope to have a better experience doing contests here. I have been in this community for more than 3 years now, not very long, but definitely enough to say that although the number of participants did increase, the number of users increase dramatically, but the number of people that respond to the contests positively don't. It actually did decrease though. I still remember that 500+ upvotes for a contest announcement are a normal thing back then, but I rarely see them now. And a common thing right now, every single contest that is over will have some comments criticizing it, but not in a good way at all. So I will make this quick for certain types of comments like that. I don't know if you do but I ...
as well. If you have a bad rank, everyone else above you, or you have many WAs, then no, it's not

Full text and comments »

  • Vote: I like it
  • +680
  • Vote: I do not like it

70.
By catgirl, 12 months ago, In English
I have solved problems on Codeforces for 500 days in a row It's been a while since I started my journey into competitive programming and in this year and (almost) a half I would say that I learned a bit not only about problem solving but also about myself, so I wanted to share my reflections on some mental aspects of practicing competitive programming hoping they can help someone else. Please note that these reflections are merely personal and mostly stem from personal experience, if you disagree with something I would like to know your point of view! I would also like to thank [user:Intellegent,2025-12-08], [user:turska,2025-12-08] and [user:LMeyling,2025-12-08] for proofreading. ![ ](/predownloaded/07/0b/070b72002cfad69b15bb24a5a086d9b8466bcb96.png) #### Some background I used to do math olympiads for 8 years before starting university, in hindsight I did not really like it that much since I never practiced on my own and would've rather played League of Legends / Minecraft / VALORANT or whatever game I was obsessed at the time. ...

Full text and comments »

  • Vote: I like it
  • +529
  • Vote: I do not like it

71.
By TheScrasse, history, 2 years ago, In English
Italian Olympiad in Informatics (OII) 2024 — Online Contest <img src="/predownloaded/dc/d6/dcd6d0755244b6210c34d04c36f841fc6ee20f92.png" style="display: block; margin-left: auto; margin-right: auto;"> For the ninth time, the Italian national contest (valid for the selection of the Italian IOI team) will be mirrored into an online contest. The contest is primarily intended for high school contestants, but everyone is welcome to participate! There are both easy subtasks (div2A) and very hard ones (div1D+), so it can be enjoyable both for newcomers and for very high rated contestants. This year, there will be three online contests in total, held in the following order: 1. a mirror of the **practice contest** (featuring original problems); 2. an official (rated) **Codeforces round** based on the main contest; 3. a mirror of the **main contest**. ### Official Codeforces round The format of the Codeforces round (2.) will be the usual Codeforces format, so you don't need any extra steps to register / participate. Another blog will be ...

Full text and comments »

  • Vote: I like it
  • +140
  • Vote: I do not like it

72.
By KAN, 8 years ago, translation, In English
Codeforces Global Round 1 Hi! Tomorrow, at [contest_time:1110] we will host [contest:1110]. It is the first round of a new series of [Codeforces Global Rounds](/blog/entry/65002). The rounds are open for everybody, the rating will be updated for everybody. The prizes for this round: - 30 best participants get a t-shirt. - 20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive. The prizes for the 6-round series in 2019: - In each round top-100 participants get points according to the [table](https://pastebin.com/QT5sXEaT). - The final result for each participant is equal to the sum of points he gets in the four rounds he placed the highest. - The best 20 participants over all series get sweatshirts and place certificates. The problems of this round were developed by a team of authors: [user:aitch,2019-02-06], [user:simonlindholm,2019-02-06], [user:grphil,2019-02-06], [user:V--gLaSsH0ldEr593--V,2019-02-06], [user:GreenGrape,2019-02-06], [user:Nebuchadnezz...

Full text and comments »

Announcement of Codeforces Global Round 1
  • Vote: I like it
  • +655
  • Vote: I do not like it

73.
By errorgorn, 4 years ago, In English
[Tutorial] Theoretically Faster HLD and Centroid Decomposition This blog was going to be translation of $[1]$ (which is in Chinese) but I think I ended up deviating too much from the source material that it would not be appropriate to call this a translation. Anyways, I am honestly amazed by how ahead of its time this paper is. In its abstract, it starts by saying that the state of art for tree path queries is $O(n \log n + q \sqrt n \log n)$, which I honestly can't fathom how one would arrive, then proceeds to claim that it has found an $O((n+q) \log n)$ algorithm. All the more, in 2007. While I was in the process of writing this blog, [user:smax,2022-07-18] sniped me and posted $[9]$. However, we will focus on static trees **only**. Thanks to [user:oolimry,2022-07-18], [user:everule,2022-07-18] and [user:timreizin,2022-07-18] for proofreading. Note to reader: I am expecting the reader to be familiar with what a splay tree and HLD is. You do not really need to know why splay trees are $O(\log n)$ amortised but you should know what the z...
— zig, zig-zig, zig-zag. Let $r$ and $r'$ be the rank functions before and after we perform the, - $s(v)$ as the size of the subtree of $v$ - $r(v)=\log s(v)$, the rank function

Full text and comments »

  • Vote: I like it
  • +245
  • Vote: I do not like it

74.
By Seyaua, 12 years ago, In English
Rockethon 2015 Announcement <a href="http://rocketfuel.com/"><img src="http://assets.codeforces.com/images/rockethon/HZ-LOGO-TAG-RGB-big.png" style="float:right;margin:0 2em 2em 2em;"/></a> Hello Codeforces community, I am happy to announce that [Rocket Fuel Inc.](http://rocketfuel.com/) will be hosting a Rockethon competition again! The contest is prepared by Rocket Fuel employees Eldar Bogdanov, Anton Lomonos, Lasha Lakirbaia, Alexander Ruff, Nikhil Goyal and me, Ievgen Soboliev. We hope everyone will find some interesting problems in the contest and everyone will have as much fun solving these problems as we had preparing them. Just like last year, the best participants will receive valuable prizes and top performers will get Rockethon 2015 T-shirts! Also, Rocket Fuel is interested in hiring people after this event, so please fill out the simple form during registration. About Rocket Fuel --------------------- Rocket Fuel is building technology platform to do automatic targeting and optimization of a...

Full text and comments »

  • Vote: I like it
  • +607
  • Vote: I do not like it

75.
By Hamed_Ghaffari, history, 16 months ago, In English
Atto Round 1 (Codeforces Round 1041, Div. 1 + Div. 2) Hello, Codeforces! We are proud to invite you to participate in [contest:2127] which will be held on [contest_time:2127]. The round will be **rated for everyone**. You will be given **8 problems**, one of which is divided into two subtasks, and **3 hours** to solve them. One of the problems will be interactive, so make sure to read the [guide for interactive problems](https://codeforces.me/blog/entry/45307) before the contest. The problems are authored and prepared by [user:Ali_BBN,2025-08-03], [user:Bahamin,2025-08-03], [user:_R00T,2025-08-03], [user:eren__,2025-08-03], [user:sweetweasel,2025-08-03], and me. We would like to thank: - [user:Error_Yuan,2025-08-03] for his great coordination. - [user:Alexdat2000,2025-08-03] for Russian translation. - [user:errorgorn,2025-08-03], [user:StarSilk,2025-08-03] for nutella testing. - [user:_istil,2025-08-03], [user:abc864197532,2025-08-03], [user:yuanruiqi,2025-08-03], <a class="rated-user user-red" title="International Gran...
- _**Rank 1:** Apple MacBook + backpack + branded T‑shirt + sports bag_ - _**Ranks 2-3:** Apple

Full text and comments »

  • Vote: I like it
  • +239
  • Vote: I do not like it

76.
By LorentzianExpanders, history, 23 months ago, In English
Convolution, In the Perspective of 3-Dimensional Tensors Hello everyone! Convolution is perhaps the first class of algorithms that one encounters in competitive programming requiring algebraic knowledge. There are many types of convolutions that we are interested in, including: - **Sequential convolution** (i.e., polynomial multiplication), - **XOR convolution**, - **AND/OR convolution**, - **GCD/LCM convolution**, - **Subset convolution**, and others. One of the most well-known ways to understand fast algorithms for these convolutions is through their associated algebraic structures. These algebraic structures can often be decomposed using the Chinese Remainder Theorem (CRT) into simpler components, i.e., direct products. For instance, in the case of XOR convolution, the algebraic structure arises from the computation rules of the group algebra: $$ R[\mathbb Z_2^n]\colon \left(\sum_{g\in \mathbb Z_2^n} a_g g\right) \left(\sum_{g\in \mathbb Z_2^n} b_g g\right) = \left(\sum_{g,h\in \mathbb Z_2^n} a_g b_h (g+h) \right), $$...
## Border Rank, ## Tensor Rank Decomposition, . $$ Although its tensor rank is $3$, we can perturb it slightly to approximate a tensor ofrank $2, Formally, the border rank $\underline{\mathbf{R}}(T)$ is defined as the smallest $r$ such that a, In this blog, tensor rank and border rank appear as alternative perspectives to describe well-known, Tensor rank serves as a relaxed measure of the complexity of bilinear problems. While it provides a, The above algorithm demonstrates the use of border rank, as it enables an algorithm with a time, The concept of tensor rank extends to $d$-dimensional tensors, where the case $d=2$ corresponds to, The concept of tensor rank successfully explains the fast transforms associated with XOR/AND/OR, {\leq r}$ denotes the set of tensors with rank at most $r$, then $\underline{\mathbf{R}}(T) \leq r$ if

Full text and comments »

  • Vote: I like it
  • +238
  • Vote: I do not like it

77.
By Xiaohuba, 13 months ago, In English
Codeforces Global Round 30 Hello, Codeforces! We are pleased to announce the resumption of the Global Rounds. Thanks to XTX Markets for supporting the initiative! In 2025, we will hold 3 such rounds. The series results will take into account the best 2 participations out of 3. On [contest_time:2164] we will host [contest:2164]. **<img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width: 200.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;">** Codeforces Global Round 30 marks the second round in the 2025 series of Codeforces Global Rounds. These rounds are open and rated for everyone. The prizes for this round are as follows: - The top 30 participants will receive a t-shirt. - 20 t-shirts will be randomly distributed among participants ranked between 31 and 500, inclusive. The prizes for the 3-round series in 2025: - In each round, the top-100 participants get points according to the [table](https://pastebin.com/NMzrRc...

Full text and comments »

  • Vote: I like it
  • +405
  • Vote: I do not like it

78.
By StarSilk, history, 22 months ago, In English
Ethflow Round 1 (Codeforces Round 1001, Div. 1 + Div. 2) Hi Codeforces! As the Chinese New Year approaches, we are glad to invite you to our Codeforces Round [contest:2062] which will be held on [contest_time:2062]. You will be presented with $8$ problems, one of which is divided into two subtasks, and $2.5$ hours to solve them. This round will be rated for all participants. This round is the first Div. 1 + Div. 2 round on Codeforces with a four-digit round number, and it is also my first round. We hope you will enjoy this round. Great thanks to: - [user:SSerxhs,2025-01-23] for helping me prepare most problems, - [user:Yakumo_Ran,2025-01-23] for providing some problems, - [user:TheScrasse,2025-01-23] for good coordination of this round, - [user:alexdat2000,2025-01-23] for translating all statements to Russian, - [user:jqdai0815,2025-01-23], [user:ugly2333,2025-01-23], [user:dXqwq,2025-01-23], [user:Sugar_fan,2025-01-23], [user:propane,2025-01-23], [user:LuCpp,2025-01-23], [user:triple__a,2025-01-23], [user:PinkieRabbit,20...
and rank below 50th place.

Full text and comments »

  • Vote: I like it
  • +220
  • Vote: I do not like it

79.
By Hori, 2 years ago, In English
Codeforces Global Round 27 Hello, Codeforces! We are pleased to announce the resumption of the Global Rounds. Thanks to XTX Markets for supporting the initiative! In 2024, we will hold 4 such rounds. The series results will take into account the best 3 participations out of 4. On [contest_time:2035] we will host [contest:2035]. **<img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width: 200.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;">** Codeforces Global Round 27 marks the third round in the 2024 series of Codeforces Global Rounds. These rounds are open and rated for everyone. The prizes for this round are as follows: - The top 30 participants will receive a t-shirt. - 20 t-shirts will be randomly distributed among participants ranked between 31 and 500, inclusive. The prizes for the 4-round series in 2024: - In each round, the top-100 participants get points according to the [table](https://pastebin.com/NMzrRci...

Full text and comments »

Announcement of Codeforces Global Round 27
  • Vote: I like it
  • +467
  • Vote: I do not like it

80.
By AquaMoon, 4 years ago, In English
Polynomial Round 2022 (Div. 1 + Div. 2, Rated, Prizes!) Hello, Codeforces! <img alt="Polynomial" src="https://codeforces.me/predownloaded/31/39/3139af7f9a6628da7d4b7ce4353a192cf59ee3f5.png" style="float:right;height: 250px; margin: 10px; max-width:50%;"/> Winter holiday is coming! And we are excited to invite you to our third round, [contest:1774], which will be held on [contest_time:1774]. You are given **8 problems** and **2.5 hours** to solve them. All problems were written and prepared by [user:Ecrade_,2022-12-14], [user:Little09,2022-12-14], [user:ChthollyNotaSeniorious,2022-12-14], [user:DataStructures,2022-12-14], [user:Cirno_9baka,2022-12-14], [user:mejiamejia,2022-12-14] and me. And thanks to [user:dorijanlendvaj,2022-12-14], [user:gisp_zjz,2022-12-14], [user:gamegame,2022-12-14], [user:triple__a,2022-12-14], [user:Chenyu_Qiu,2022-12-14], [user:Suiseiseki,2022-07-25], [user:q-w-q-w-q,2022-12-14], [user:leukocyte,2022-12-14], [user:waaitg,2022-12-14], [user:Kubic,2022-12-14], [user:LHQing,2022-12-14], [user:zrmpaul...
[user:sd0061,2022-12-18] and [user:regian0001,2022-12-18]!!! (The rank contained the virtual participants at

Full text and comments »

  • Vote: I like it
  • +351
  • Vote: I do not like it

81.
By maroonrk, history, 2 years ago, In English
AtCoder World Tour Finals 2024 Announcement (with Unrated Mirror) We will hold AtCoder World Tour Finals 2024. List of Finalists: <table border="1"> <tr align="center"><td>AtCoder ID</td><td>Codeforces ID</td></tr> <tr align="center"><td>[zhoukangyang](https://atcoder.jp/users/zhoukangyang)</td><td>[user:zhoukangyang,2024-07-11]</td></tr> <tr align="center"><td>[Stonefeang](https://atcoder.jp/users/Stonefeang)</td><td>[user:Radewoosh,2024-07-11]</td></tr> <tr align="center"><td>[ecnerwala](https://atcoder.jp/users/ecnerwala)</td><td>[user:ecnerwala,2024-07-11]</td></tr> <tr align="center"><td>[tourist](https://atcoder.jp/users/tourist)</td><td>[user:tourist,2024-07-11]</td></tr> <tr align="center"><td>[heno239](https://atcoder.jp/users/heno239)</td><td>[user:heno239,2024-07-11]</td></tr> <tr align="center"><td>[ksun48](https://atcoder.jp/users/ksun48)</td><td>[user:ksun48,2024-07-11]</td></tr> <tr align="center"><td>[jiangly](https://atcoder.jp/users/jiangly)</td><td>[user:jiangly,2024-07-11]</td></tr> <tr align="center"><td>[apiad](http...

Full text and comments »

  • Vote: I like it
  • +297
  • Vote: I do not like it

82.
By majk, 7 years ago, In English
Codeforces Global Round 6 <img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width:200px; float:right; margin: 0 1em 1em 1em"/> Hi! Are you tired after a weekend of three (3) contests? Or are you ready for another one? On [contest_time:1266] we will host [contest:1266]! It is the sixth round of a new series of [Codeforces Global Rounds](https://codeforces.me/blog/entry/65002) supported by XTX Markets. The rounds are open for everybody, the rating will be updated for everybody. You will be given 8 problems and 150 minutes to solve them. The scoring distribution will be **500-750-1250-1750-2000-2500-3500-4000**. The prizes for this round: - 30 best participants get a t-shirt. - 20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive. The prizes for the 6-round series in 2019 (<a href="/blog/entry/70626">current results</a>): - In each round top-100 participants get points according to the [table](https://pastebin.com/QT5s...

Full text and comments »

  • Vote: I like it
  • +323
  • Vote: I do not like it

83.
By galen_colin, 3 years ago, In English
WF23 Luxor _(Long blog ahead. Reader discretion advised.)_ I feel we have a rather interesting WF story (note: we did the 47th finals, as the University of Maryland, <b><i>as 2 people</i></b>... explained below), so I figured I'd tell it. Exposition ---------- It actually starts way before WF, too. Our teams were decided on (some form of) merit based on an internal qualifier. My team for the regional and NAC (North America superregional) ended up as {me, [user:Navick,2024-04-24], [user:mr.banana,2024-04-24]}. We did [fairly](https://nasouth22d1.kattis.com/contests/nasouth22d1/standings) [well](https://nac.icpc.global/wp-content/uploads/2023/06/NAC23-scoreboard.pdf) in those. However, for WF, my two teammates only had single-entry visas for the US, meaning that if they left, they couldn't come back into our country. So they couldn't really go with me... Luckily, in such situations, ICPC lets you just replace your teammates. So we held another internal qualifier, and ended up with two ...
Our coach mentioned as a joke that we may have had the worst rank out of any team with a first

Full text and comments »

  • Vote: I like it
  • +457
  • Vote: I do not like it

84.
By beaaaan, history, 20 months ago, In English
The very first red LLM cheater? Let me introduce you to [user:lequoctran181,2025-04-06] a.k.a Lê Trần Quốc Anh, a shining star in the competitive programming community from National Economics University, Hanoi. He is a philosopher who talks about CP-ing quite a lot on his Facebook page, sharing tips, talking about his journey, etc... ![ ](https://i.imgur.com/VAEYfGh.png) ![ ](https://i.imgur.com/vTQHQrk.jpeg) ![ ](https://i.imgur.com/cT5jp7Y.png) I admit, he is skilled, but not at cp, but at cheating. The first time I paid attention to this account was in December of 2024, where he had 2 different templates, submitting C and D only around 10 minutes apart from each other, and achieving rank 35 on [contest:2042], notice how he didn't space down, and the different way of naming variables: ![ ](https://i.imgur.com/0t0x1OD.png) ![ ](https://i.imgur.com/5OFpgeX.png) Now, after this "achievement", of course, he would be very proud, as seen bragging about it here on the blog post of the round: ![ ](h...
minutes apart from each other, and achieving rank 35 on [contest:2042], notice how he didn't space

Full text and comments »

  • Vote: I like it
  • +546
  • Vote: I do not like it

85.
By TheScrasse, history, 3 years ago, In English
Italian Olympiad in Informatics (OII) 2023 — Online Contest <img src="/predownloaded/dc/d6/dcd6d0755244b6210c34d04c36f841fc6ee20f92.png" style="display: block; margin-left: auto; margin-right: auto;"> For the eighth time, the Italian national contest (valid for the selection of the Italian IOI team) will be mirrored into an online contest. The contest is primarily intended for high school contestants, but everyone is welcome to participate! There are both easy subtasks (div2A) and very hard ones (div1D+), so it can be enjoyable both for newcomers and for very high rated contestants. 1. The **problem statements** will be available in both **English and Italian**. 2. Tasks will be **IOI-like** (with graders and subtasks) and you will have **5 hours** to solve them. 3. The only language allowed is **C++**. 4. The **time window for the practice contest** (featuring original problems) will start on [2023 September 30th, 00:00 CET](https://www.timeanddate.com/worldclock/fixedtime.html?msg=OII+2023+-+Practice&iso=20230930T00&p1=215) and will ...

Full text and comments »

  • Vote: I like it
  • +106
  • Vote: I do not like it

86.
By 74TrAkToR, history, 3 years ago, translation, In English
Codeforces Round #905 (Div. 1, Div. 2, Div. 3) Hello, Codeforces! We are happy to invite you to our experimental round for three divisions, which will take place at [contest_time:1887]. <b>Please note the non-standard start time for the round</b>. Each division will have 5-7 tasks. The round will be held according to the Codeforces rules and will be rated for all three divisions. A few changes regarding the ratings of participants in this competition: <ul style="list-style-type:square"> <li>In Div.3 the rating of participants is less than 1600. </li> <li>In the Div.2 ranking, participants range from 1600 to 2099. </li> <li>In Div.1 the rating of participants is no less than 2100.</li> <li><b>Please note</b> that after [contest:1884] the rating will not be recalculated until the end of this competition. </li> </ul> Let us note that two team Olympiads will be held in parallel on this day and the rounds are based on their tasks: <ul style="list-style-type:square"> <li> XXI Moscow Team Olympiad, high school stud...

Full text and comments »

  • Vote: I like it
  • +506
  • Vote: I do not like it

87.
By adamant, history, 3 years ago, In English
Efficient linear algebra for dummies Hi everyone! Some time ago I started developing a linear algebra library for Library Checker, and it turned out to be much fun. I'd like to write this blog to outline how one can implement a linalg library with a very good Library Checker performance, while also avoiding highly technical low-level details that are common in other similar blogs. Instead, we will learn a few high level ideas that will let us write a code that the compiler will then optimize using all these fancy techniques _in our stead_. Huge thanks to ~ToxicPie9,2024-05-08 and [user:magnus.hegdahl,2024-05-08] for explaining me some of the optimizations used here! You may also look into ~sslotin,2024-05-08's [entry](https://codeforces.me/blog/entry/101655) about how it can be sped up even further with more advanced and low-level techniques. ### Tl'dr. In this blog, I present my [matrix library](https://cp-algorithms.github.io/cp-algorithms-aux/cp-algo/linalg/matrix.hpp), which maintains a simple and elegant...
the rank of a matrix; - Finding a solution to a system of linear equations., Now that we have the code above, we can find matrix rank, determinant or the inverse matrix in a, ```cpp size_t rank() const { if(n() > m()) { return T().rank(); } return

Full text and comments »

  • Vote: I like it
  • +259
  • Vote: I do not like it

88.
By awoo, history, 6 years ago, translation, In English
Educational Codeforces Round 90 [Rated for Div. 2] Hello Codeforces! On [contest_time:1373] [contest:1373] will start. Series of Educational Rounds continue being held as [Harbour.Space University](https://harbour.space/) initiative! You can read the details about the cooperation between [Harbour.Space University](https://harbour.space/) and Codeforces in the <a href="http://codeforces.me/blog/entry/51208">blog post</a>. This round will be **rated for the participants with rating lower than 2100**. It will be held on extended ICPC rules. The penalty for each incorrect submission until the submission with a full solution is 10 minutes. After the end of the contest you will have 12 hours to hack any solution you want. You will have access to copy any solution and test it locally. You will be given **6 or 7 problems** and **2 hours** to solve them. The problems were invented and prepared by Roman [user:Roms,2020-06-24] Glazov, Adilbek [user:adedalic,2020-06-24] Dalabaev, Vladimir [user:vovuh,2020-06-24] Petrov, Ivan [us...
Congratulations to the best hackers: Rank, Congratulations to the winners: Rank

Full text and comments »

  • Vote: I like it
  • +550
  • Vote: I do not like it

89.
By Dominater069, 23 months ago, In English
ICPC India Amritapuri 2024 Stream, Problems and Editorial Hi everyone, The second Indian ICPC Amritapuri onsite regional round will be held tomorrow in Bengaluru, Coimbatore and Kollam. We plan to host a stream covering the round. The stream links will be posted shortly. The problems will be posted in this blog when the contest starts. The editorial will be posted after the contest ends. Hope you enjoy the contest! Contest Details - Public ranklist Link — [ICPC Amrita Website](https://amritaicpc.in/final-rank-list) - Date & Time — [29 December 2024, Sunday, 9:00 IST](https://www.timeanddate.com/worldclock/fixedtime.html?day=29&month=12&year=2024&hour=9&min=00&sec=0&p1=1799) (Tentative start time) - Duration — 5 Hours - There will be 8 to 20 problems to solve - Problem statements : NA - Will follow standard ICPC scoring system (20 minutes penalty and 1 point per problem) - The questions may not be sorted by difficulty - Stream link &mdash; [Codechef Chann...
- Public ranklist Link — [ICPC Amrita Website](https://amritaicpc.in/final-rank -list, - Rank 1 : Ice Shard, CMI (10/12) : [user:sheercold,2025-01-03], [user:Sid0309,2025-01-03, ://amritaicpc.in/final-rank-list). Congratulations to the Top 3 teams!

Full text and comments »

  • Vote: I like it
  • +155
  • Vote: I do not like it

90.
By errorgorn, 5 years ago, In English
On Div2ABs 2 years ago, [user:antontrygubO_o,2022-04-27] wrote [a blog](https://codeforces.me/blog/entry/75163) about div2ABs where he expressed his opinions that d2ABs should not be about "here is a statement, please implement what is written there". Thanks to him, the quality of d2ABs (and problem quality in general) have certainly improved. However, I still believe that there still quite large differences between how coordinators/problemsetters view d2ABs and how the intended participants view them. From the survey made by [user:kpw29,2022-04-27], we can see that most people agree that most people agree that we should **primarily** consider the target audience when proposing a task. I too think if a task is boring to div 1 contestants, we should not think of that as a reason to immediately disqualify a problem from being a d2A. ![ ](https://codeforces.me/predownloaded/70/b5/70b515da85a4dc3b362cf4eb0963dbd1fb642819.png) I think when people judge the interesting-ness of d2As, they try...
points are colored by the rank (or rating) of the user., In the words of [user:dario2994,2022-04-27], "it seems to me as "rank from 1 to 10 these apples

Full text and comments »

  • Vote: I like it
  • +330
  • Vote: I do not like it

91.
By dXqwq, 18 months ago, In English
The 7th Turing Cup Tournament # 2025 · The 7th Turing Cup Tournament The Turing Cup is an invitational competition that is organized by one of the most successful informatics competition teams in China, the XinYouDui and partner with X-Camp Academy. ## Timeline | Event | Time (UTC+8) | |----------------------|-----------------------------------------| | Registration Time | May 06, 2025, 06:00 PM &mdash; May 25, 2025, 12:29 PM | | Opening Ceremony | May 25, 2025, 07:50 AM &mdash; 08:30 AM | | Contest Time | May 25, 2025, 08:30 AM &mdash; 12:30 PM | --- ## Contest Details ### Staff - Writers: [user:dXqwq,2025-05-22], [user:Flamire,2025-05-22], [user:myee,2025-05-22], [user:orzdevinwang,2025-05-22], [user:zhaohaikun,2025-05-22] - Testers: [user:dspt,2025-05-22], [user:emptyhope,2025-05-22], [user:jqdai0815,2025-05-22], [user:Kubic,2025-05-22], [user:le0n,2025-05-22], [user:zhaohiakun,2025-05-22] ### Features - **High Contest Q...
China's national competitions. - **Real-time Contest Ranking**: Besides the real-timerank list

Full text and comments »

  • Vote: I like it
  • +188
  • Vote: I do not like it

92.
By BitByBit123, 4 months ago, In English
Suspicious Master yql0991666 Update on 8/18/2026: [user:yql0991666,2026-08-18] have cheated to become a Master. How can he still not be banned? Update: Congratulations to [user:yql0991666,2026-08-18], the CHEATER is disabled! Good job, Mike! I, [user:BitByBit123,2026-08-10], suspect that [user:yql0991666,2026-08-18] is a cheater. I would like to report some suspicious behaviors and request an investigation. # Update on 8/18/2026 [user:yql0991666,2026-08-18], could you explain [387437964](/contest/2257/submission/387437964 "Submission 387437964 by yql0991666") [387437988](/contest/2257/submission/387437988 "Submission 387437988 by yql0991666") how can you write 1.6KB code in 3 seconds? Looking at the code for Problem E, what kind of person would write such a long definition on a single line (the fourth line)? If you interpret this as a way to make the code more compact (by consolidating lines), then why are the assignment statements on lines 19 through 24 separated? The only explanation is that...
[user:yql0991666,2026-08-18] previously had performances around the 10000+ rank range, but recently

Full text and comments »

  • Vote: I like it
  • +423
  • Vote: I do not like it

93.
By The-Winner, history, 12 months ago, In English
[Tips; personal stuff] I got red rank. Here's some stuff I learned Hello everyone! This blog will be a collection of ideas, thoughts and personal experiences I gathered over the past ~7 years (darn, I am old). It might not contribute much to the world so feel free to skip it, but I do believe most people can get something interesting out of it. I waited on writing this until my opinion was actually worth something (still, take the following with a grain of salt or two). It is be a big wall of text (you have been warned). Sorry for taking a week to post this, University is crazy at times. [cut] Tips (and some personal experience) for problems solving (can probably extend to whatever else it is you want to do): - The most important thing: **Have fun**. If you don't have fun doing whatever it is you are doing, you are motivated by an external factor, that when removed from the equation will remove you from the action. Without a reason to come back, you will not, and the whole experience will slowly fade away (congrats, you wasted your time). ...
[Tips; personal stuff] I got red rank. Here's some stuff I learned

Full text and comments »

  • Vote: I like it
  • +454
  • Vote: I do not like it

94.
By DS007, 6 years ago, In English
Codeforces Round #695 (Div. 2) Hello Codeforces! I am pleased to invite you to my first contest [contest:1467], which will take place on [contest_time:1467]. The problems were written by [user:alimq,2021-01-07] and [user:DS007,2021-01-07]. The round is rated for all users with rating less than 2100, while other users can participate unofficially. You will be given 5 problems and 2 hours to solve them. You are strongly advised to read all the problems. I would really like to thank: <ul> <li> [user:BledDest,2021-01-07] for his amazing coordination of the round. </li> <li> [user:Aggu_01000101,2021-01-07] and [user:infinitepro,2021-01-07] for helping me in shortening the problem statements and solving one of the problems. <li> [user:MikeMirzayanov,2021-01-07] for creating the Codeforces and Polygon systems. </li> <li> The following people for testing the round: </li> </ul> <table style="border:0px"> <tr style="border:0px"> <td style="border:0px"></th> <td style="border:0px"><font color="blue"><a cl...

Full text and comments »

  • Vote: I like it
  • +424
  • Vote: I do not like it

95.
By Lewin, 8 years ago, In English
Forethought Future Cup Hi Codeforces! I'm excited to announce the Forethought Future Cup! It will consist of two rounds, an online round on [April 20th, 11:05am PDT](https://www.timeanddate.com/worldclock/fixedtime.html?day=20&month=4&year=2019&hour=21&min=5&sec=0&p1=166), and an onsite round on [May 4th, 10:05am PDT](https://www.timeanddate.com/worldclock/fixedtime.html?day=4&month=5&year=2019&hour=20&min=5&sec=0&p1=166). **Both of these rounds will be rated and open for all participants**. The top 25 local contestants near San Francisco will be invited to the Forethought office to take part onsite. Each round will be a combined round. In the first round, there will be 8 problems in 2.5 hours. There will be at least one interactive problem in this round. Please read the [interactive problem guide](https://codeforces.me/blog/entry/45307) if you haven’t already. The problems in this round were all written by me. Thanks to [user:ismagilov.code,2019-04-18], [user:mohammedehab2002,2019-04-18], [user:Je...

Full text and comments »

  • Vote: I like it
  • +423
  • Vote: I do not like it

96.
By 300iq, 7 years ago, In English
Codeforces Global Round 7 <img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width:200px; float:right; margin: 0 1em 1em 1em"/> Hi! On [contest_time:1326] we will host [contest:1326]. It is the first round of a 2020 series of [Codeforces Global Rounds](/blog/entry/65002). The rounds are open for everybody, the rating will be updated for everybody. The prizes for this round: - 30 best participants get a t-shirt. - 20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive. The prizes for the 6-round series in 2020: - In each round top-100 participants get points according to the [table](https://pastebin.com/QT5sXEaT). - The final result for each participant is equal to the sum of points he gets in the four rounds he placed the highest. - The best 20 participants over all series get sweatshirts and place certificates. The problems of this round were developed by [user:isaf27,2020-03-17] and me. Thanks to the testers [user:m...

Full text and comments »

Announcement of Codeforces Global Round 7
  • Vote: I like it
  • +565
  • Vote: I do not like it

97.
By amul_agrawal, 5 years ago, In English
CodeCraft-22 and Codeforces Round #795 (Div 2.) **Namaste Codeforces!** We are excited to invite everyone to **CodeCraft-22** which will take place on [contest_time:1691]. It is rated for all people who are below **<font color="#ff8c00">yellow</font>**! (rating under 2100) The [**Programming Club at IIIT-H**](https://iiit-programming-club.github.io/) organizes this event under Threads'22, as a part of our techno-cultural fest [**Felicity, IIIT Hyderabad**](http://felicity.iiit.ac.in). <img src="/predownloaded/91/7b/917ba5fc64144c1effe15bd932cfb39dab2f7fda.png" width="400px"> There are **6** Problems with **2 hours** to solve them. The scoring distribution will be released soon! We have worked hard to keep the statements clean and the pretests strong! After the contest, **step-wise tutorial** and **video tutorial** will be released along with the code! - This round was wonderfully co-ordinated by [user:darkkcyan,2022-05-27] and [user:KAN,2022-05-27] orz! - This round was a joint effort by [user:rahulgoel,2022-05-...
These ranks are determined from the combined unofficial rank list. People who have their Country

Full text and comments »

  • Vote: I like it
  • +386
  • Vote: I do not like it

98.
By lumibons, 6 years ago, In English
BOI 2021 The year is 2021. Like every year, contestants from all of the baltic countries meet for the Baltic Olympiad in Informatics. Well, not entirely... One small virus still holds the entire world under its spell. And life is not easy for BOI contestants who have to participate remotely from their own homes... ![ ](https://www.boi2021.de/wp-content/uploads/2021/03/BOI2021-Logo-1.png) This weekend, the **Baltic Olympiad in Informatics 2021** (BOI 2021) is going to take place! BOI is a programming contest for secondary school students from countries around or close to the Baltic sea. This year, around 60 contestants from Denmark, Estonia, Finland, Germany, Latvia, Lithuania, Norway, Poland, Sweden and our guest countries Israel and Ukraine will compete against each other, solving difficult problems of algorithmic nature. Each participating country sends 6 contestants from their national olympiads which take place in the months beforehand. The contest consists of two days, Saturday an...

Full text and comments »

  • Vote: I like it
  • +354
  • Vote: I do not like it

99.
By awoo, history, 5 years ago, translation, In English
Educational Codeforces Round 128 [Rated for Div. 2] Hello Codeforces! On [contest_time:1680] [contest:1680] will start. Series of Educational Rounds continue being held as [Harbour.Space University](https://harbour.space/) initiative! You can read the details about the cooperation between [Harbour.Space University](https://harbour.space/) and Codeforces in the <a href="http://codeforces.me/blog/entry/51208">blog post</a>. This round will be **rated for the participants with rating lower than 2100**. It will be held on extended ICPC rules. The penalty for each incorrect submission until the submission with a full solution is 10 minutes. After the end of the contest you will have 12 hours to hack any solution you want. You will have access to copy any solution and test it locally. You will be given **6 or 7 problems** and **2 hours** to solve them. The problems were invented and prepared by Adilbek [user:adedalic,2022-05-12] Dalabaev, Vladimir [user:vovuh,2022-05-12] Petrov, Ivan [user:BledDest,2022-05-12] Androsov, Mak...

Full text and comments »

  • Vote: I like it
  • +169
  • Vote: I do not like it

100.
By dario2994, 6 years ago, In English
Italian Olympiad in Informatics (OII) 2020 — Online Contest <img style="" src="/predownloaded/2e/c1/2ec1a48ed1c67f2a0bdad15b4af3673e2fdeaf1c.png"> For the fifth time, the Italian national contest (valid for the selection of the Italian IOI team) will be mirrored into an online contest. The contest is primarily intended for high school contestants, but everyone is welcome to participate! #### 1. The problem statements will be available in both English and Italian. #### 2. Tasks will be IOI-like (with graders) and you will have 5 hours to solve them. #### 3. The languages allowed are C and C++. #### 4. The time window for the practice contest (featuring original problems of the same level as the main contest) will start on [2020 November 22th, 00:01 CET](https://www.timeanddate.com/worldclock/fixedtime.html?msg=OII+2020+Practice&iso=20201122T0001&p1=215) and will end on [2020 November 24th, 23:59 CET](https://www.timeanddate.com/worldclock/fixedtime.html?msg=OII+2020+Practice&iso=20201124T2359&p1=215) #### 5. The time window for...

Full text and comments »

  • Vote: I like it
  • +156
  • Vote: I do not like it

101.
By soullless, history, 17 months ago, translation, In English
Codeforces Round 1037 (Div. 3) Hello, Codeforces! I am very excited to invite you to our contest [contest:2126], which starts on [contest_time:2126]. You will be given **7 problems** and **2 hours and 15 minutes** to solve them. The problems were authored by me, [user:__rose,2025-07-15], [user:Pishka12,2025-07-15], [user:Chalishkan,2025-07-15] and [user:I_HATE_MD_DM,2025-07-15] to solve and alter them. The round will be hosted by the rules of educational rounds (extended **ICPC**). Thus, all solutions will be judged on preliminary tests during the round, and after the round, there will be a **12-hour phase** of open hacks. After the open hack phase, all accepted solutions will be rejudged on successful hacks. Also, note that there is no score distribution — rank will be determined by number of problems solved, followed by penalty; wrong submissions will incur the usual penalty of 10 minutes, following the rules of educational rounds. [Remember](https://mirror.codeforces.com/blog/entry/59228) that only t...
successful hacks. Also, note that there is no score distribution — rank will be determined by number of

Full text and comments »

  • Vote: I like it
  • +525
  • Vote: I do not like it

102.
By Sugar_fan, 3 years ago, In English
A tool for hacking rolling hashes with fixed modulos and bases Hello, Codeforces! For the convenience of hacking codes that incorrectly use rolling hashes (i.e., using fixed modulos and bases), I wrote a tool in Rust, which runs entirely on the frontend and requires WebAssembly support. [Try it here](https://heltion.github.io/anti-hash) and feel free to create issues. Explanation of parameters: - `length`: the length of generated strings; - $\lambda$ (`lambda`):detail follows; - $\delta$ (`delta`) and $\eta$ (`eta`) : parameters of $L^2$ algorithm; - `precision`: floating-point precision in decimal. Given the modulos $\lbrace p_i\rbrace_{i=0}^{n-1}$ and the bases $\lbrace q_i\rbrace_{i=0}^{n-1}$, define $h_i(a)=\Big(\sum\limits_{j=0}^{\text{length}-1} q_i^js_j\Big)\bmod p_i$, where $a$ is a string of $\text{length}$. We want to find two strings $a$ and $b$ of $\text{length}$ such that $h_i(a)=h_i(b)$ for every $i$. If we find a integer array $d$ of $\text{length}$ satisfying that $h_i(d)=0$ for every $i$, $|d_j|<26$ for every ...
every $i$, - $M$ is full rank.

Full text and comments »

  • Vote: I like it
  • +328
  • Vote: I do not like it

103.
By Kuroni, 18 months ago, In English
VNOI Cup 2025 ![ ](/predownloaded/79/22/7922b975c9cab6378b05cfb3da97b29dad08653c.png) Hello Codeforces\! **VNOI Cup is back in 2025**, entering its fourth season after successful editions in 2022, 2023, and 2024\. We invite you to join the **mirror rounds** of our contest\! The official rounds are open to all **Vietnamese participants**, so if you're Vietnamese, we encourage you to participate in the official competition on **VNOJ**. This year, we also plan to **invite a few top international participants** from the **Open Division mirror rounds** to join the **Final Round onsite in Vietnam**. These participants will compete in the **Open Division** of the Final Round — a **separate onsite leaderboard** from the official Vietnamese contestants. &#9888;&#65039; Please note: invited participants from the Open Division will need to **cover their own travel and accommodation expenses**. However, **VNOI will assist with hotel booking** to make logistics easier for you. --- **Overview...

Full text and comments »

  • Vote: I like it
  • +148
  • Vote: I do not like it

104.
By -is-this-fft-, history, 23 months ago, In English
Statistics of Magic Guessing Game Two weeks ago I [made](https://codeforces.me/blog/entry/137983) a game where you have to guess the true ratings of New Year magic users. You can still play it [here](https://magic.fft.ee/). Now, let's have a look at some results and interesting comments. The most accurate responses are to comments that just straight up tell you their real rating: ![ ](/predownloaded/a4/c8/a4c8d019e8b15782f51b5af0df911833f45c192e.png) But this can backfire! The funniest comment, to me, is this: ![ ](/predownloaded/f7/56/f756a60d01ad1a7b25200581bc68404055b9238a.png) With this one, you actually know they're not really LGM. I think a lot of players missed this, but the database only includes comments where the author was a magic user. Since you see a black-and-red name, you know that this user is not really nutella. The most inaccurate guesses went to this comment. I would not have guessed LGM either. ![ ](/predownloaded/4e/18/4e18bbd469951a6101407bfa6e5651caaa56d31d.png) Any math...
"Mean guessed rank" is calculated by assigning each rank a numeric value (Newbie = 0 to LGM = 7; M, Finally, here's the comparison of "mean guessed rank" and the actual rating:

Full text and comments »

  • Vote: I like it
  • +434
  • Vote: I do not like it

105.
By -is-this-fft-, history, 2 years ago, In English
Is it just me or has discussion on Codeforces become a lot less lively? A few months ago, I was pretty disheartened. I wrote a [blog](https://codeforces.me/blog/entry/128552) that I put thought and effort into, and it got only +163 votes and basically no discussion. Meanwhile, a [dumb parody](https://codeforces.me/blog/entry/128316) I had published just 5 days earlier got +959 votes. Ok, but let's say that this is a bad example, maybe my explanation was bad or uninteresting or people just don't care about residual graphs that much. That's fair. But I suspect this is a bigger trend. I don't know if my memory deceives me here, but I feel like some years ago there were more high-quality, educational blogs with active discussion. [user:WeakestTopology,2024-09-16] posted a math blog recently and there are no comments, the blog might just slide out of Recent Actions pretty soon. This seems to happen a lot with such blogs, especially on "advanced" topics. What I see a lot instead is poor quality content. Lots of blogs like "please debug my code" and "how...
bother with screenshots or links to someone bragging about their rank 2632 on LinkedIn. And

Full text and comments »

  • Vote: I like it
  • +316
  • Vote: I do not like it

106.
By BernatP, history, 15 months ago, In English
Codeforces Global Round 29 Hello, Codeforces! We are pleased to announce the resumption of the Global Rounds. Thanks to XTX Markets for supporting the initiative! In 2025, we will hold 3 such rounds. The series results will take into account the best 2 participations out of 3. On [contest_time:2147] we will host [contest:2147]. **<img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width: 200.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;">** Codeforces Global Round 29 marks the first round in the 2025 series of Codeforces Global Rounds. These rounds are open and rated for everyone. The prizes for this round are as follows: - The top 30 participants will receive a t-shirt. - 20 t-shirts will be randomly distributed among participants ranked between 31 and 500, inclusive. The prizes for the 3-round series in 2025: - In each round, the top-100 participants get points according to the [table](https://pastebin.com/NMzrRci...

Full text and comments »

  • Vote: I like it
  • +375
  • Vote: I do not like it

107.
By adamant, 5 months ago, In English
OCPC 2026 Summer Hi everyone! <center><a href="https://ocpc.camp"><img src="https://ocpc.camp/images/ocpc_light.svg?nocache" height="80px"></a> <a href="https://icpc.foundation/"><img src="https://ocpc.camp/images/ICPC.svg?nocache" height="80px"></a></center> The [OCPC](https://ocpc.camp/) (Osijek Competitive Programming Camp), an [award-winning](https://www.linkedin.com/feed/update/urn:li:activity:7368330111089131522/) camp for university students preparing for ICPC and other coding competitions, is back this **Summer 2026** — this time with **two onsite editions**: - **Hong Kong** — **8–16 August 2026**, hosted at the City University of Hong Kong. - **Iași, Romania** — **12–20 September 2026**, hosted at Alexandru Ioan Cuza University of Iași. Both editions are organized by us together with local hosts at each site, and use the **same contest set** — so you take part in **one** of them. As a rough guide, the **Iași** edition is most convenient for teams based in Europe, and **Hong Kong*...

Full text and comments »

  • Vote: I like it
  • +233
  • Vote: I do not like it

108.
By adamant, history, 5 years ago, In English
Randomized general matching with Tutte matrix Hi everyone! Some time ago [user:1-gon,2021-07-01] wrote an [article](https://codeforces.me/blog/entry/92339) about Edmonds blossom algorithm to find the maximum matching in an arbitrary graph. Since the problem has a very nice algebraic approach, I wanted to share it as well. I'll start with something very short and elaborate later on. **[Library Checker &mdash; Matching on General Graph](https://judge.yosupo.jp/problem/general_matching)**. Given a simple undirected graph on $N \leq 500$ vertices, find the maximum matching. <hr> **tl;dr**. The Tutte matrix of the graph $G=(V, E)$ is \begin{equation} T(x_{12}, \dots, x_{(n-1)n}) = \begin{pmatrix} 0 & x_{12} e_{12} & x_{13} e_{13} & \dots & x_{1n} e_{1n} \newline -x_{12} e_{12} & 0 & x_{23} e_{23} & \dots & x_{2n} e_{2n} \newline -x_{13} e_{13} & -x_{23} e_{23} & 0 & \dots & x_{3n} e_{3n} \newline \vdots & \vdots & \vdots & \ddots & \vdots \newline -x_{1n} e_{1n} & -x_{2n} e_{2n} & -x_{3n} e_{3n} & \dots & 0 \end{...
already mentioned, this size is equal to the rank $\text{rank }T$ of Tutte matrix., occur if matrix rank turned out to be less than actual maximum matching size., -singular, making rank of $T$ at least $m$. That being said, one can find a set of vertices on which, Let $\text{rank }T=m$ and $\{a_1, \dots, a_m\}$ is the set of linearly independent rows of $T$. By

Full text and comments »

  • Vote: I like it
  • +223
  • Vote: I do not like it

109.
By awoo, history, 6 years ago, translation, In English
Educational Codeforces Round 91 [Rated for Div. 2] Hello Codeforces! On [contest_time:1380] [contest:1380] will start. Series of Educational Rounds continue being held as [Harbour.Space University](https://harbour.space/) initiative! You can read the details about the cooperation between [Harbour.Space University](https://harbour.space/) and Codeforces in the <a href="http://codeforces.me/blog/entry/51208">blog post</a>. This round will be **rated for the participants with rating lower than 2100**. It will be held on extended ICPC rules. The penalty for each incorrect submission until the submission with a full solution is 10 minutes. After the end of the contest you will have 12 hours to hack any solution you want. You will have access to copy any solution and test it locally. You will be given **6 or 7 problems** and **2 hours** to solve them. The problems were invented and prepared by Roman [user:Roms,2020-07-11] Glazov, Adilbek [user:adedalic,2020-07-11] Dalabaev, Vladimir [user:vovuh,2020-07-11] Petrov, Ivan [us...
Congratulations to the best hackers: Rank, Congratulations to the winners: Rank

Full text and comments »

  • Vote: I like it
  • +515
  • Vote: I do not like it

110.
By purplesyringa, history, 5 years ago, In English
Analysis of polynomial hashing Unfortunately, most derivations of the chance of polynomial hashing collision are invalid, wrong, or misleading, and finding reliable public sources with proofs is incredibly difficult. This article is a formal analysis of the method. The goal of this article is to complement well-known empirical facts with theory, provide boundaries on the probability of collision, justify common choices, and advise against certain popular parameters. There is no code in this article, and it's mostly theoretical. It's more of a summa of everything we know about polynomial hashing in integers rather than a guide for beginners. You'll probably find something of interest still. I do, however, describe some methods of cracking hashes, which I can provide code and additional explanation for if someone asks in the comments and some general guidelines in the last section of the present article. ## Table of contents - The concept of polynomial hashing - Classical justification of the coprimality r...
Due to the rank-nullity theorem, the kernel of $H$ is a linear space of dimension $n - 1$, one

Full text and comments »

  • Vote: I like it
  • +308
  • Vote: I do not like it

111.
By Hexagons, 2 years ago, In English
OMORI CONTEST Announcement Assalamualaikum (peace be upon you), Codeforces people &#128075;. I'm glad to invite you to the mashup [OMORI CONTEST](https://codeforces.me/contestInvitation/fc8da6d6845e77adc452e754d3d84c1086148c59) which will be held inshallah on [Thursday, October 17, 2024 at 19:30 (GMT+3)](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20241017T1930&p1=426). You will be given **3.5 hours (210 minutes)** to solve **7 cool problems** in an **ICPC-styled** contest, themed about the videogame [OMORI](https://www.google.com/search?q=omori) (Which is a great game that you might want to give a try). There will be exactly one interactive problem, so I suggest you should read the [guide for interactive problems](https://codeforces.me/blog/entry/45307). All problems have been written and prepared by me, [user:Hexagons,2024-10-04]. I would like to give a lot of thanks to: - [user:MikeMirzayanov,2024-10-04] for the great codeforces and polygon systems &#128077;, without them I wou...
on codeforces. Rank people based on solve count, and rank based on penalty in case of tie. The

Full text and comments »

Announcement of OMORI CONTEST
  • Vote: I like it
  • +370
  • Vote: I do not like it

112.
By CelioPassos, 2 years ago, In English
Snapshot of finite calculus and using it to solve a 3000 rated problem Hey all, First, I'll give a brief overview of what finite calculus is about and I'll then show you how I used it to solve [problem:1951G]. This may be not the most elegant way to solve that problem, but it requires few observations and I find it interesting enough to share it. I am also taking part in the [Month of Blog Posts challenge](https://codeforces.me/blog/entry/133806). You can find better introductions googling terms "finite calculus", "discrete calculus", etc, although I still have not found an in-depth, thorough, introduction for these ideas, only some short expositions scattered around the web. But these ideas are pervasive throughout competitive programming (think of adjacent differences, prefix sums, slopes and the like). _Disclaimer_: this blog requires some mathematics background to fully understand it. ### A short intro to finite calculus If you know calculus, you have seen derivatives, integrals and the fundamental theorem of calculus. For a function $...
rank-nullity theorem.

Full text and comments »

  • Vote: I like it
  • +453
  • Vote: I do not like it

113.
By awoo, history, 6 years ago, translation, In English
Educational Codeforces Round 100 [Rated for Div. 2] Hello Codeforces! On [contest_time:1463] [contest:1463] will start. Series of Educational Rounds continue being held as [Harbour.Space University](https://harbour.space/) initiative! You can read the details about the cooperation between [Harbour.Space University](https://harbour.space/) and Codeforces in the <a href="http://codeforces.me/blog/entry/51208">blog post</a>. This round will be **rated for the participants with rating lower than 2100**. It will be held on extended ICPC rules. The penalty for each incorrect submission until the submission with a full solution is 10 minutes. After the end of the contest you will have 12 hours to hack any solution you want. You will have access to copy any solution and test it locally. You will be given **6 or 7 problems** and **2 hours** to solve them. The problems were invented and prepared by Roman [user:Roms,2020-12-16] Glazov, Adilbek [user:adedalic,2020-12-16] Dalabaev, Vladimir [user:vovuh,2020-12-16] Petrov, Ivan [us...
Congratulations to the best hackers: Rank, Congratulations to the winners: Rank

Full text and comments »

  • Vote: I like it
  • +422
  • Vote: I do not like it

114.
By hehezhou, 3 years ago, In English
2024-The 6th Turing Cup Tournament **Turing Cup Tournament** The Turing Cup is an invitational competition that is organized by one of the most successful informatics competition teams in China, the XinYouDui and partner with X-Camp Academy. **Registration time:** April 19th &mdash; May 5th 8:00 AM(BJT)/ May 4th 5:00 PM PDT/ May 4th 8:00 PM EDT **Registration method:** Click [XinYouDui contest system](https://contest.xinyoudui.com/recommend) directly for registration. So register here while you can! (It is recommended to use Chrome, Firefox browser) **Registration requirements:** There are no age, level, or identity restrictions. These awesome problems and editorials are written, prepared, and tested by the XinYouDui from Hangzhou Xuejun High School. Quality is ensured by top-notch participants of IOI 2024 China National Team and NOI gold medalists. **Divisions:** Novice, Intermediate, Advanced - Novice group: The entry-level level of programming with basic language application and basic algorithms ...
- Real-time Contest Ranking: Besides the real-time rank list during the contest, the final

Full text and comments »

  • Vote: I like it
  • +195
  • Vote: I do not like it

115.
By awoo, history, 6 years ago, translation, In English
Educational Codeforces Round 89 [Rated for Div. 2] Hello Codeforces! On [contest_time:1366] [contest:1366] will start. Series of Educational Rounds continue being held as [Harbour.Space University](https://harbour.space/) initiative! You can read the details about the cooperation between [Harbour.Space University](https://harbour.space/) and Codeforces in the <a href="http://codeforces.me/blog/entry/51208">blog post</a>. This round will be **rated for the participants with rating lower than 2100**. It will be held on extended ICPC rules. The penalty for each incorrect submission until the submission with a full solution is 10 minutes. After the end of the contest you will have 12 hours to hack any solution you want. You will have access to copy any solution and test it locally. You will be given **6 or 7 problems** and **2 hours** to solve them. The problems were invented and prepared by Roman [user:Roms,2020-06-10] Glazov, Adilbek [user:adedalic,2020-06-10] Dalabaev, Vladimir [user:vovuh,2020-06-10] Petrov, Ivan [us...
Congratulations to the best hackers: Rank, Congratulations to the winners: Rank

Full text and comments »

  • Vote: I like it
  • +510
  • Vote: I do not like it

116.
By MiracleMagician, 2 months ago, In English
Indian ICPC Prelims Massive Cheating ================== We did 6/10 with 0 WAs in First Half. Yet After seeing the leaderboard/Stats it's kind of sad state that I will get 400-500 rank. Even Similar Performance Last year for our team would have gave out almost around 100 rank, at worst case 200-300 but i am shocked. For reference, Top team from our University did perform similar to present prelims last year and got top 10 in Prelims and this time even after doing 8/10, They are at rank 80s. If u do not believe lemme show you the stats. ![ ](/predownloaded/28/55/2855d541d665acf60dac8c9d4825a33176444ccc.jpeg) The question were really tough from G-H onwards. We had fun and we believed that ICPC prelims is a fair Competition among every teams. But when i reached home, I heard no Proctoring in Many Institutions due to which they got like all teams Aked. What are we heading towards in this country as a whole if this unfair system is going on, where in our Uni, Everyone, the staff followed strict ru...
got top 10 in Prelims and this time even after doing 8/10, They are at rank 80s., leaderboard/Stats it's kind of sad state that I will get 400-500 rank. Even Similar Performance Last

Full text and comments »

  • Vote: I like it
  • +393
  • Vote: I do not like it

117.
By Um_nik, 8 years ago, In English
How to read problem statements But [user:Um_nik,2018-10-26], we all know how to read, we have our whooping 2 month of experience! Oh, my sweet summer child, my experiments show that many people with kinda cool achievements like medals on ROI don't know how to read statements. But don't worry, I'll teach you. Well, probably you won't understand anything, because you didn't try to understand anything in your life, you expect all hard work to be done for you by someone else. Let's start! Basic rules ================== - The result of reading the statement is usually pure math model. If story helps to build correct understanding, you can keep it, but still try to discard as many unnecessary details as possible. - Imagine you want to tell the problem to someone else. What parts you want to tell? (According to my PM, this rule won't help you). - Shorter = better. - Simpler = better. - Limitations are part of problem statement. Especially small limitations, because for small data you can try all the possib...
modulo $Q$ and get zero vector modulo $Q$. Or matrix rank modulo $Q$ is less than $n$. Or determinant

Full text and comments »

  • Vote: I like it
  • +381
  • Vote: I do not like it

118.
By adamant, history, 5 years ago, In English
On linear recurrences and the math behind them Hi everyone! There are already dozens of blogs on linear recurrences, why not make another one? In this article, my main goal is to highlight the possible approaches to solving linear recurrence relations, their applications and implications. I will try to derive the results with different approaches independently from each other, but will also highlight similarities between them after they're derived. ### Definitions **Def. 1**. An order $d$ **homogeneous linear recurrence with constant coefficients** (or _linear recurrence_) is an equation of the form $$ F_n = \sum\limits_{k=1}^d a_k F_{n-k}. $$ **Def. 2**. In the equation above, the coefficients $a_1, \dots, a_d \in R$ are called the **recurrence parameters**, **Def. 3**. and a sequence $F_0, F_1, \dots \in R$ is called an order $d$ **linear recurrence sequence**. <hr> The most common task with linear recurrences is, given initial coefficients $F_0, F_1, \dots, F_{d-1}$, to find the value of $F_n$. <hr> **Example...
_As you may see, $F^{(k)}$ is the generalized eigenvector of $\Delta$ of rank $k$, and the

Full text and comments »

  • Vote: I like it
  • +266
  • Vote: I do not like it

119.
By Amir_Parsa, 3 years ago, In English
Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) Salam, Codeforces! $\color{white}{\text{ «Be attentive about your thought that becomes your behavior» «Be attentive about your behavior that becomes your speech» «Be attentive about your speech because it becomes your habit»«Be attentive about your habit because it becomes your personality»«Be attentive about your personality because it becomes your destiny» Said by: Imam Ali}}$ We're so excited to invite you to take part in our round [contest:1864] which will start on [contest_time:1864]. The round will be **rated and open for everyone**. The problems were prepared and authored by [user:amenotiomoi,2023-08-19], Dhruvil [user:Psychotic_D,2023-08-19] Kakadiya, Han [user:wuhudsm,2023-08-19] Jinlong, Amir Hossein [user:Amir_Parsa,2023-08-19] Farhadi, Matthew [user:Chromate00,2023-08-19] Roh, [user:JohnVictor,2023-08-19], [user:odt,2023-08-19], [user:ugly2333,2023-08-19], [user:lavine,2023-08-19], [user:RiverHamster,2023-08-19], [user:flowerletter,2023-08-19] and [user:Aquamoon...
**Top Performers** Rank Name

Full text and comments »

  • Vote: I like it
  • +614
  • Vote: I do not like it

120.
By awoo, history, 6 years ago, translation, In English
Educational Codeforces Round 93 [Rated for Div. 2] Hello Codeforces! On [contest_time:1398] [contest:1398] will start. Series of Educational Rounds continue being held as [Harbour.Space University](https://harbour.space/) initiative! You can read the details about the cooperation between [Harbour.Space University](https://harbour.space/) and Codeforces in the <a href="http://codeforces.me/blog/entry/51208">blog post</a>. This round will be **rated for the participants with rating lower than 2100**. It will be held on extended ICPC rules. The penalty for each incorrect submission until the submission with a full solution is 10 minutes. After the end of the contest you will have 12 hours to hack any solution you want. You will have access to copy any solution and test it locally. You will be given **6 or 7 problems** and **2 hours** to solve them. The problems were invented and prepared by Roman [user:Roms,2020-08-13] Glazov, Adilbek [user:adedalic,2020-08-13] Dalabaev, Vladimir [user:vovuh,2020-08-13] Petrov, Ivan [us...
Congratulations to the best hackers: Rank, Congratulations to the winners: Rank

Full text and comments »

  • Vote: I like it
  • +478
  • Vote: I do not like it

121.
By BledDest, 7 months ago, translation, In English
Educational Codeforces Round 189 — Editorial [problem:2225A] Author: [user:BledDest,2026-04-21] <spoiler summary="Tutorial"> [tutorial:2225A] </spoiler> <spoiler summary="Solution 1 (BledDest)"> ~~~~~ t = int(input()) for i in range(t): x, y = map(int, input().split()) good = False for z in range(x * 2, y, x): if y % z != 0: good = True break if good: print('YES') else: print('NO') ~~~~~ </spoiler> <spoiler summary="Solution 2 (BledDest)"> ~~~~~ t = int(input()) for i in range(t): x, y = map(int, input().split()) print('YES' if y > 2 * x else 'NO') ~~~~~ </spoiler> [problem:2225B] Author: [user:FelixArg,2026-04-21] <spoiler summary="Tutorial"> [tutorial:2225B] </spoiler> <spoiler summary="Solution (FelixArg)"> ~~~~~ #include <bits/stdc++.h> using namespace std; #define int long long void solve() { string s; cin >> s; int ans = 0; for (int i = 0; i < (int)s.size() - 1; i++){ ...
pair, vector> get_chain(int start, int rank) { if(rank == 0) return

Full text and comments »

  • Vote: I like it
  • +38
  • Vote: I do not like it

122.
By KAN, 9 years ago, translation, In English
Codeforces Round #423: rated, based on VK Cup 2017 Finals Hi! [On Tuesday, July 11, 2017, at 16:35 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=Codeforces+Round+%23423&iso=20170711T1935&p1=352&ah=2) Codeforces Round #423 will be held. Some of the problems will be from VK Cup 2017 Finals, some are prepared by Codeforces team to complete the problemset. **Note that there will be two rounds based on VK Cup Finals, so I want to ask finalists not to discuss problems until the end of the second round.** There will be *six* problems in each division, four of them shared. The problems of this round are proposed, prepared and tested by: [user:gritukan,2017-07-10], [user:demon1999,2017-07-10], [user:fcspartakm,2017-07-10], [user:Perforator,2017-07-10], [user:MikeMirzayanov,2017-07-10], [user:PavelKunyavskiy,2017-07-10], [user:qwerty787788,2017-07-10], [user:Belonogov,2017-07-10], [user:izban,2017-07-10], [user:tourist,2017-07-10], [user:vepifanov,2017-07-10], [user:AlexFetisov,2017-07-10], [user:winger,2017-07-10], [user:Erri...
| Eligible list place | Contest | Rank | Handle | |--|--|--|--| | 19 | 827 | 19 | [user:zeliboba

Full text and comments »

  • Vote: I like it
  • +389
  • Vote: I do not like it

123.
By ko_osaga, history, 11 years ago, In English
Union find tree without ranks The traditional implementation of union find tree (aka disjoint set) utilizes rank compression &mdash; this is the code with it. ~~~~~ int parent[1000], rank[1000]; int find(int x){ return parent[x] = (parent[x] == x ? x : find(parent[x])); } void Union(int p, int q){ p = find(p); q = find(q); if(rank[p] < rank[q]) parent[p] = q; else parent[q] = p; if(rank[p] == rank[q]) rank[p]++; } ~~~~~ But in competitive programming, I found out that the rank compression was useless. Without rank compression, the code was shorter, and even the program ran faster. This is my implementation without rank compression. ~~~~~ int parent[1000]; void Union(int p, int q){ parent[find(p)] = find(q); } ~~~~~ and for some cases, I found implementing rank compression is quite hard (maybe impossible). I will give you a sample problem : "Given a tree T, you should process Q queries &mdash; "paint the edge's value into x (>0) from path s to ...
But in competitive programming, I found out that the rank compression was useless. Withoutrank, The traditional implementation of union find tree (aka disjoint set) utilizes rank compression, and for some cases, I found implementing rank compression is quite hard (maybe impossible)., void Union(int p, int q){ p = find(p); q = find(q); if(rank[p] < rank[q]) parent[p, ~~~~~ int parent[1000], rank[1000];

Full text and comments »

  • Vote: I like it
  • +14
  • Vote: I do not like it

124.
By zimpha, 6 years ago, In English
List of All Open Cup Contests Open Cup has very high quality problems. I made a list for all the contests containing the standings, sources, upsolving links, statements and discuss blog in codeforces. Some materials and links of old opencup contests are missing, maybe [user:snarknews,2020-11-10] could help to fill these entries. I will update the list when new opencup stages published. Note: most of the upsolving links need the logins for yandex.contest or opentrains. ## XXI Open Cup named after E.V. Pankratiev | # | Contest | Upsolving | Materials | |:--:|:------------|:--:|:--:| | Stage 1 | [Grand Prix of Eurasia](https://official.contest.yandex.ru/opencupXXI/contest/20063/standings)<br/> [XXI All-Siberian Programming Contest. Online](https://olympic.nsu.ru/files/inet_res_2020_0.pdf) | [baekjoon](https://www.acmicpc.net/category/detail/2403)<br/> [yandex](http://official.contest.yandex.ru/opencupXXI/contest/20063) | [statement](https://yadi.sk/i/dsRvTxbgJ9fDXw) [discuss](https://codeforces.me/blog/...
://ac.nowcoder.com/acm/contest/7502#rank) | [baekjoon](https://www.acmicpc.net/category/detail/2408)

Full text and comments »

  • Vote: I like it
  • +842
  • Vote: I do not like it

125.
By mostafa.saad.fci, 6 years ago, In English
Releasing my private problems lists for ICPC/IOI/Online training **Updating** from time to time to **reach** more guys.. ........ Since 2019 and I receive very positive feedback about the quality of my **problem selections** in my international [supervision](http://codeforces.me/blog/entry/59131). I intended to make my problem lists public one day to help trainees to train in a more efficient and effective way. This program started in 2016 and has been changed and improved a lot based on the received feedback from my trainees. I ended up with 2 big lists of problems: one for guys training toward **IOI** and another for **ICPC/OnlineContest** styles. Specifically 4 critical features: - **Problem difficulty level** [1-10] per problem is a manual weighted average of the assigned levels from my trainees’ sheets. A common complaint about 'online tools/ways for ranking problems by difficulty' is that they are not accurate. The issue is more severe for OI problems. - **Problem importance level**: ~ 5 levels (important, very interesting, int...

Full text and comments »

  • Vote: I like it
  • +470
  • Vote: I do not like it

126.
By I_Love_Tina, history, 8 years ago, In English
Does IOI rank correlate with CF rating? **Background** I have recently stumbled across [a paper](https://www.imf.org/en/Publications/WP/Issues/2018/12/07/Invisible-Geniuses-Could-the-Knowledge-Frontier-Advance-Faster-46383) which analyzed the correlation between the IMO medal and future success in the mathematical field. So, inspired by annual predictions of IOI rankings based on CF ratings, I <s> don't know what to do with my time </s> decided to take a more "serious" approach. **Method** I collected the data from the last $7$ editions of IOI in order to create the graph of $f(x)$ is the maximal rating of the participant with rank $x$. For the last $6$ editions, I relied almost solely on the IOI statistics website. The $2012$ edition, however, is missing a lot of information and I collected the CF handles either from snarknews or by finding the handle on search engines. I put the participants in the same order they were arranged in the scoreboard, so if there are multiple people on the same position, they would ...
Does IOI rank correlate with CF rating?, the maximal rating of the participant with rank $x$. For the last $6$ editions, I relied almost solely, So, unsurprisingly, on average you can see that the function is decreasing by rank, however it

Full text and comments »

  • Vote: I like it
  • +96
  • Vote: I do not like it

127.
By T1duS, history, 5 years ago, In English
India ICPC — Gwalior-Pune 2020 Regionals Hi Codeforces, **ICPC Gwalior-Pune 2020 Regional Round will be held on [Codedrills](https://codedrills.io/) tomorrow.** **Contest Details** - Contest Link — [ICPC Gwalior-Pune 2020 Regional Round](https://codedrills.io/contests/icpc-gwalior-pune-2020-regional-round) - Date & Time — 18 August 2021, Wednesday, 18:00 IST - Duration — **4 Hours** - There is a ranklist freeze of 60 minutes. Ranklist will freeze at 21:00 IST. - There will be 10-13 questions to solve - Will follow standard ICPC scoring system (20 minutes penalty and 1 point per problem) - The problems may not be sorted by difficulty **Selection Criteria** - Top *few* teams will advance to World Finals <spoiler summary="Spoiler"> ![ ](https://i.kym-cdn.com/photos/images/newsfeed/001/462/400/978.jpg) </spoiler> **Clarifications** - Only ask the clarifications about the problems by messaging the [private clarification group via discuss](https://discuss.codedrills.io/g/clarifications). - Do not a...
**UPD 3:** Rank list has been released provisionally subject to plag checks. Check it out [HERE

Full text and comments »

  • Vote: I like it
  • +338
  • Vote: I do not like it

128.
By Geothermal, history, 3 years ago, In English
I'm Geothermal. AMA! After reaching 3200 in yesterday's contest, now feels like as good a time as any to hop on this bandwagon. Feel free to ask questions in the comments and I'll respond to as many as I can. A few sidenotes: ### Thoughts on Practicing In my streams, by far the most common questions I receive are variants of "how can I improve at competitive programming?" I'm happy to offer advice if people have specific questions about training related to their particular circumstances, but I wanted to write down some general thoughts so that I can redirect people who ask about general practice strategies (in this AMA or in my future streams) to this post. I endorse most of the advice given [at this link](https://github.com/Errichto/youtube/wiki/How-to-practice%3F). In short, I recommend solving problems around or slightly above your skill level (I like to go to [clist.by](https://clist.by/problems/) and choose Codeforces problems with luck between around 25% and 75%). If you run out of id...
to questions of the form "How do I reach X rank?" because my practice strategy outlined above is

Full text and comments »

  • Vote: I like it
  • +206
  • Vote: I do not like it

129.
By wuhudsm, 3 years ago, In English
Codeforces Round 930 (Div. 1, Div. 2) Editorial Thank you for participation and we hope you enjoy this round :) #### [D2A &mdash; Shuffle Party](https://codeforces.me/contest/1937/problem/A) Idea : [user:chromate00,2023-08-27] <spoiler summary="Hint (for thinkers)"> If you think in terms of $k$, it might be hard to find the solution. Maybe it will be helpful if you fix $d$ and find the $k$ which will be swapped with $d$. </spoiler> <spoiler summary="Hint (for observers)"> Try bruteforcing for, say, $n \le 20$. Do you see a pattern? </spoiler> <spoiler summary="Tutorial"> On $n=1$, the answer is trivially $1$. On $n=2$, index $1$ and $2$ are swapped. The answer is therefore $2$. For $n>2$, let us assume the element $1$ is on index $a$ and it will be swapped with index $k$. Then, $a$ must be $k/2$. We will prove this by contradiction. Let us assume that there is no divisor greater than $a$, and $a$ is lesser than $k/2$. But then, as $a$ is a multiple of $2$ in the base condition, $k$ must be a multiple of $2...
]; rank[id][j] = i + 1; dec[i + 1][j] = id; } }, if (rank[x][t] < n) { int z = dec[rank[x][t] + 1][t, if (rank[x][t] > 1) { int z = dec[rank[x][t] - 1][t, vector> rank(n + 1, vector(m + 1)); vector> dec(n + 1

Full text and comments »

  • Vote: I like it
  • +192
  • Vote: I do not like it

130.
By cgy4ever, 13 years ago, In English
Codeforces Round #190 — Editorial **Update 1** Added links to my code. **Update 2** The links to my code seems not work, so I push my codes on github, and you find all of them here: [https://github.com/cgy4ever/cf190](https://github.com/cgy4ever/cf190) **Update 3** Fixed my solution of Div1-C (Div2-E). In this problem, we must find [centroid of tree](http://acm.sgu.ru/problem.php?contest=0&problem=134) instead of [center of tree](http://stackoverflow.com/questions/4020122/finding-center-of-the-tree). Thanks [user:RomaWhite,2013-07-03] for pointing this out and provide test case. And it seems that many solutions can pass the system test will fail on his test case (including my model solution). I feel apologetic for the weak test cases and wrong solution. **Update 4** Reformat the passage, I hope it would looks better. [problem:322A] Let's define remainNew = # of people haven't danced before. So at beginning remainNew = n+m, and we have: - During the 1st song, remainNew must decreased by at least 2. (B...
1. If there are a node with rank t exposes at Ti and a node with t exposes at Tj (i!=j), thenrank, So we can solve these subtree independently: the only different is that we can't userank A anymore., Suppose we assign an officer with rank A at node x. Then for two distinct subtree rooted by x, says, The rank of x should satisfy:

Full text and comments »

  • Vote: I like it
  • +107
  • Vote: I do not like it

131.
By djm03178, 2 years ago, In English
Everything about Codeforces scoring system This is a tutorial to how Codeforces scoring system works and some basic strategies about it. I will only explain about rated rounds here, but note that there are other types of scoring in unrated contests. Please do share this blog when you see questions about it. Scoring types ------------------ There are two different types of scoring system: - Standard (Div. 1 / Div. 2, Div. 1 + Div. 2) - Extended ICPC (Educational, Div. 3, Div. 4) The standard (this is not a formal name, but I don't know if one exists) scoring is Codeforces' own scoring system where each participant's rank is determined solely by their **final score**. On the other hand, extended ICPC literally uses the ICPC rule for calculating ranks, using **number of solved problems & penalty**, with slight modifications. Standard ------------------ Contests using this scoring system have pre-determined initial scores on each problem. By initial it means you get that score when you solve it in the $0$-th min...
one's rank:, scores in ICPC rules, and all problems have equal effect on the rank., scoring system where each participant's rank is determined solely by their **final score**. On the

Full text and comments »

  • Vote: I like it
  • +191
  • Vote: I do not like it

132.
By Sad_reacts_only, 6 years ago, In English
Changes in Codeforces problem style over 2020 Sorry for my poor English. I am talking only from Div2 perspective as I think Div1 contest are still ok from this point of view. During 2020 codeforces moved from having problems with variation over known algorithms and data structures to constructive heavy contests. I am not saying that having constructive problems are bad but their amount is way too high and I guess most of us will agree that now a days problems on topics like binary search, DP, Graphs or segment tree or other data structures etc are almost extinct in Div2 rounds. Lets take last Div2 [contest:1474] as an example someone who knows programming language and basic number theory could solve problems till E and can get 1st rank. So in theory someone could become a master or International Master with just number theory and programming language knowledge. I used to like constructive problems a lot (Actually one of my stronger topics) but now a days there are just so much constructive problems that they ...
number theory could solve problems till E and can get 1st rank. So in theory someone could become a

Full text and comments »

  • Vote: I like it
  • +499
  • Vote: I do not like it

133.
By orz, history, 4 years ago, In English
First Ever Users to Reach Some Rating Milestones Hi there! Recently after [contest:1696] [user:Um_nik,2022-06-29] [noticed](https://t.me/umnik_team_eng/2201) that he might be the ninth or tenth person to reach <b>3600</b> rating points, but still he did it earlier than [user:Petr,2022-06-29]. I wondered whether [user:Um_nik,2022-06-29] really was <i>that</i> attentive to know for sure how many people reached <b>3600</b> before him. As this is an objective truth or an objective misconception, I decided to simply check it. [cut] After several hours of programming and abusing Codeforces API I am ready to state that [user:Um_nik,2022-06-29] was indeed correct — he and [user:jiangly,2022-06-29] both broke through the <b>3600</b> mark simultaneously, being the ninth and tenth person to achieve it. I wanted to get more interesting facts from the fetched information — for example, although [user:Petr,2022-06-29]'s maximum is <b>3597</b> and he hasn't got to <b>3600</b> so far, he was the second one to get to <b>3550</b> points, and ...
by rank in the contest.

Full text and comments »

  • Vote: I like it
  • +364
  • Vote: I do not like it

134.
By Psychotic_D, 3 years ago, In English
Codeforces Round 930 (Div. 1, Div. 2) _"You are braver than you believe, stronger than you seem, and smarter than you think." &mdash; A.A. Milne_ Hello Codeforces! I have the pleasure of inviting you to participate in [contest:1936] and [contest:1937], which will start on [contest_time:1936]. You will be given **6 problems** and **2 hours** to solve them in both divisions. One of the problems may be **interactive**. So, please refer to the guide on [interactive problems](https://codeforces.me/blog/entry/45307) if you are unfamiliar with them. The problems were prepared and authored by [user:wuhudsm,2024-02-26], [user:chromate00,2024-02-26], [user:Psychotic_D,2024-02-26] and [user:MagicalFlower,2024-02-26]. We would like to thank : - [user:irkstepanov,2024-02-26] for coordinating the round; - [user:BurnedChicken,2024-02-26] for the only <a class="rated-user user-legendary">LGM</a> testing; - [user:amenotiomoi,2024-02-26],[user:siganai,2024-02-26], [user:vgtcross,2024-02-26], [user:amethyst0,2024-02...
Rank Name

Full text and comments »

  • Vote: I like it
  • +487
  • Vote: I do not like it

135.
By zltzlt, history, 20 months ago, In English
Teza Round 1 (Codeforces Round 1015, Div. 1 + Div. 2) Hi, Codeforces! We are pleased to invite you to [Teza Round 1 (Codeforces Round 1015, Div. 1 + Div. 2)](https://codeforces.me/contests/2084), which will be held on [contest_time:2084] The problems are authored and prepared by [user: CharlieV, 2025-3-27] and me. You will be given **8 problems**, one of which is divided into two subtasks, and **3 hours** to solve them. **The round will be rated for everyone.** I would like to thank everyone who has helped prepare for this round: - [user: Sugar_fan, 2025-3-27] for his excellent coordination. - [user: Alexdat2000, 2025-3-27] for the Russian translation. - [user: CharlieV, 2025-3-27], [user: ExplodingKonjac, 2025-3-27], [user: QwQwf, 2025-3-27], [user: sinsop90, 2025-3-27] for providing problem ideas despite a few unused. - [user: 244mhq, 2025-3-27] for reviewing some of the problems when coordinating my previous rounds. - [user: jqdai0815, 2025-3-27], [user: StarSilk, 2025-3-27], [user: 244mhq, 2025-3-27], [user: N_z__, 20...

Full text and comments »

  • Vote: I like it
  • +200
  • Vote: I do not like it

136.
By TheScrasse, history, 15 months ago, In English
Italian Olympiad in Informatics (OII) 2025 — Online Contest <img src="/predownloaded/dc/d6/dcd6d0755244b6210c34d04c36f841fc6ee20f92.png" style="display: block; margin-left: auto; margin-right: auto;"> For the tenth time, the Italian national contest (valid for the selection of the Italian IOI team) will be mirrored into an online contest. The contest is primarily intended for high school contestants, but everyone is welcome to participate! There are both easy subtasks (div2A) and very hard ones (div1D+), so it can be enjoyable both for newcomers and for very high rated contestants. This year, there will be three online contests in total, held in the following order: 1. a mirror of the **practice contest** (featuring original problems); 2. an official (rated) **Codeforces round** based on the main contest; 3. a mirror of the **main contest**. ### Official Codeforces round The format of the Codeforces round (2.) will be the usual Codeforces format, so you don't need any extra steps to register / participate. Another blog will be ...

Full text and comments »

  • Vote: I like it
  • +63
  • Vote: I do not like it

137.
By awang11, history, 9 months ago, In English
Codeforces Round 1085 (Div. 1 + Div. 2) Editorial <center> <table class="tex-tabular bordertable" style="border-left: none; border-right: none; border-top: 1px solid; border-bottom: 1px solid; border-collapse: collapse;"> <tbody> <tr> <td class="tex-tabular-text-align-center" style="border-left: none; border-right: none; border-top: none; border-bottom: none;"> <span class="tex-font-size-small"> <span class="tex-font-style-it"> <a href="https://www.youtube.com/watch?v=HCYKLnT0UNU">Trophy Presentations — Asuka Ota, Ryo Nagamatsu, Mario Kart Wii</a> </span> </span> </td> </tr> </tbody> </table> </center> **UPD 1:** added hints, problem credits, more specific acknowledgements and some remarks. Implementations are on the way, sorry for making y'all wait! **UPD 2:** Implementations are finally here. [problem:2207A] Author: [user:awang11,2026-03-09] Preparers: [user:awang11,2026-03-09], [user:IceSerpent,2026-03-09] Anal...
Some rank clues must be given for all cards to be played. If two

Full text and comments »

  • Vote: I like it
  • +146
  • Vote: I do not like it

138.
By Wxssim, 2 years ago, In English
From 0 to ICPC in 1 Year **Welcome to my first blog!!** <br> &nbsp;&nbsp;&nbsp;&nbsp; I'll be sharing my journey in the cp world and how I managed to qualify to ICPC 1 year and 3 months (sorry for the clickbait) into my cp career. If you're curious what it took to achieve this, or if you're looking for some motivation or inspiration, this blog is for you :) <br> A special thank you to [user:alnq417,2024-12-12] for helping me cook this blog <3 <br><br> ### _Starting My CP Career:_ _LCPC 2023 Fail_ &nbsp;&nbsp;&nbsp;&nbsp; One month before LCPC 2023 (Lebanese Collegiate Programming Contest), my university informed me about the competition. I was a second year student at that time so I quickly formed a team and registered, not knowing anything about the competition at all. I had high hopes, thinking it would be something similar to what I was studying at university and I assumed I'd do well. <br><br> &nbsp;&nbsp;&nbsp;&nbsp; Fast forward a month, I solved the easiest 4 problems in the competition and r...
We managed to rank second and lost on time to Boomerang from AUB

Full text and comments »

  • Vote: I like it
  • +359
  • Vote: I do not like it

139.
By myst-6, history, 3 years ago, In English
My Story, Thoughts and Motivation Hello Codeforces! Over the weekend I attended the British Informatics Olympiad final. Today I'd like to share my CP journey so far, some thoughts on how it was, and my plans going forward. I started programming in general when I was 12; I learned JavaScript from an old book that was lying around in my house and wrote some small websites &mdash; as a lot do when starting out &mdash; and generally dabbled in whatever interested me. Through the COVID lockdown I played multiplayer video games with some school friends such as Minecraft, and played various JRPGs with my sister such as Tales of Symphonia. I took a hiatus from programming but towards the end of the lockdown and as in-person school began to start, I decided to pick it back up again. In April of 2021, I signed up to [Codewars](https://www.codewars.com/users/myst-6). I wouldn't describe this website as a competitive programming &mdash; problems feel less math-y and (usually) don't require complex algorithms but instead f...
algorithms like Dijkstra's and A*, and some simple DP like knapsacks. I hit the second-highestrank, 1 dan

Full text and comments »

  • Vote: I like it
  • +274
  • Vote: I do not like it

140.
By reirugan, 17 months ago, In English
Codeforces Round 1034 (Div. 3) Hello, Codeforces! ================== I am very excited to invite you to my first-ever contest, [contest:2123], which will start on [contest_time:2123]! In this contest, you will be given **2 hours and 15 minutes** to solve **7 problems**. The round will be hosted by the rules of educational rounds (extended ICPC). Thus, all solutions will be judged on preliminary tests during the round, and after the round, there will be a 12-hour phase of **open hacks**. After the open hack phase, all accepted solutions will be rejudged on successful hacks. Also, note that there is no score distribution &mdash; rank will be determined by number of problems solved, followed by penalty; wrong submissions will incur the usual penalty of **10 minutes**, following the rules of educational rounds. [As a reminder](https://codeforces.me/blog/entry/59228), only trusted participants of the third division will be included in the official standings table. This is a compulsory measure for combating unspo...
successful hacks. Also, note that there is no score distribution — rank will be determined by number

Full text and comments »

  • Vote: I like it
  • +478
  • Vote: I do not like it

141.
By Ashishgup, 5 years ago, In English
Invitation to CodeChef July CookOff 2021 (with prizes!) We invite you to participate in CodeChef’s [July Cookoff](https://www.codechef.com/COOK131?utm_source=codeforces_blog&utm_medium=organic&utm_campaign=JulyCook), today &mdash; 28th July, from [8:00 PM &mdash; 10:30 PM IST](https://www.timeanddate.com/worldclock/fixedtime.html?msg=July+Cook-off+2021&iso=20210728T2000&p1=44&ah=2&am=30). **Note the unusual time**. There will be **7 problems** in all divisions. The contest will be rated for all three Divisions. The July Cook-Off also marks the launch of our new prize structure for global & Indian participants. More details are given below. Joining us on the problem setting panel are: - Contest Admins: Ashish [user:ashishgup,2020-12-19] Gupta and Jatin [user:jtnydv25,2021-05-30] Yadav - Head Admin: Alex [user:Um_nik,2021-06-26] Danilyuk - Tester: Aryan [user:aryanc403,2021-07-28] Choudhary - Statement Verifier: Riley [user:1-gon,2021-07-28] Borgard - Editorialist: Vichitr [user:Vichitr,2021-07-28] Gandas, Srikkanth [u...
**Global Rank List:**, **Indian Rank List:**

Full text and comments »

  • Vote: I like it
  • +163
  • Vote: I do not like it

142.
By AmShZ, 3 weeks ago, In English
Repovive SWE Round 1: Vive Market ($750 in Prizes!) Hello everyone! Have you ever wondered what a competitive programming contest for **real-world software engineering** would look like? Instead of writing code from scratch, imagine being given an existing project full of bugs, with the clock ticking and a live leaderboard showing everyone's progress. That's what we're building at Repovive! We're excited to announce **Repovive SWE Round 1: Vive Market**, a live debugging contest where your goal is to find and fix bugs in Python projects. You'll also have an **AI agent** working alongside you. The interesting part is that the agent knows what the software is supposed to do, but hasn't seen the actual implementation. More on that below! * Start Time: [Saturday, 14 November 2026, 14:35 (UTC)](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20261114T1435&p1=1440&msg=Repovive+SWE+Round+1) * Duration: $3$ hours * Problems: $4$ Python projects * Registration: https://repovive.com/contests/swe1 * Rules: https://r...

Full text and comments »

  • Vote: I like it
  • +68
  • Vote: I do not like it

143.
By antontrygubO_o, 5 years ago, translation, In English
SnackDown 2021 Grand Finale, Parallel Contest & Closing Ceremony It’s finally time for one of the biggest events in the competitive programming world. The SnackDown ‘21 Grand Finale is here. The entire Grand Finale event is scheduled to be completed in two days &mdash; January 8 (Saturday), and January 9 (Sunday). ### For the Finalists All the information has been shared over email, but summarising &mdash; The Grand Finale will be spread over two days and will be a closed event accessible only to the finalists, and a few invited guests. The SnackDown 2021 Final contest will be held on Jan 9th between 6:30 &mdash; 10:30 PM (IST). For the last time for this SnackDown, meet the panelists! <ul> <li>Contest Admins: Anton [user:antontrygubO_o,2022-01-08] Trygub and Yahor [user:mhq,2022-01-08] Dubovik</li> <br> <li>Head Admin: Alex [user:Um_nik,2022-01-08] Danilyuk</li> <br> <li>Testers: Ashley [user:errorgorn,2022-01-08] Khoo and Andrew [user:ecnerwala,2022-01-08] He </li> <br> <li>Setters: Federico [user:dario299...
will be a restricted session, the rank list can be viewed [here](https://www.codechef.com/public, rank list can be viewed here. Note that the rank list will be frozen for the last hour, and will be

Full text and comments »

  • Vote: I like it
  • +203
  • Vote: I do not like it

144.
By MikeMirzayanov, 11 months ago, In English
Wrapping up the Global Rounds 2025 <img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width: 240.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;"> Hello Codeforces, As 2025 comes to an end, it is time to start summing up the results. This post is about the Global Rounds. Since September, we have held a series of three Global Rounds, numbered from 29 to 31. This is the perfect moment to once again express our gratitude to XTX Markets for their initiative in organizing these rounds and their constant support over the years. Such stability in supporting the competitive programming movement is truly admirable and highly appreciated by the community. I wish XTX Markets a fantastic 2026, full of success and victories! In each of the three rounds, 50 t-shirts were awarded (to the top 30 participants and 20 random participants ranked between 31st and 500th). This year, we had to change the manufacturing and shipping process, so it is still a work...
possible rounds. Participants received points depending on their rank (points were awarded to the top

Full text and comments »

  • Vote: I like it
  • +276
  • Vote: I do not like it

145.
By Elegia, history, 5 years ago, In English
Optimal Algorithm on Polynomial Composite Set Power Series This is a part of my [report](https://github.com/EntropyIncreaser/ioi2021-homework/blob/master/thesis/main.tex) on China Team Selection 2021. I might translate some other parts later if you are interested. I'm going to show that we can calculate $f(G)$ for any polynomial $f\in R[x]$ and set power series $G: 2^{n} \rightarrow R$ under $\Theta(n^2 2^n)$ operations on $R$. Let's first consider a special case: calculate $F = \exp G$. We consider set power series as truncated multivariate polynomial $R[x_1,\dots,x_n]/(x_1^2,\dots,x_n^2)$. We can see that $F' = FG'$ whichever partial difference $\frac{\partial}{\partial x_k}$ we take. Then we can rewrite this equation as $[x_n^1] F = ([x_n^1]G)\cdot [x_n^0]F$. Hence we reduced the problem into calculating $[x_n^0] F$, and then one subset convolution gives the rest part. The time complexity is $T(n)=\Theta(n^22^n) + T(n-1)$, which is exactly $\Theta(n^22^n)$. I call this method "Point-wise Newton Iteration". This method sounds more r...
This method sounds more reasonable than calculating the $\exp$ on each rank vector. Because $\frac

Full text and comments »

  • Vote: I like it
  • +312
  • Vote: I do not like it

146.
By _ja, 6 months ago, In English
Order Capital Round 2 (Codeforces Round 1104, Div. 1 + Div. 2) Hello / Selamat sejahtera / 你好 Codeforces! ================== <div style="float:right; margin-left:15px; width:200px;"> <img src="/predownloaded/80/7f/807f4117591c25d5cd189f81cecec2afc0afceef.jpg" width="200px" > <div style="font-size:smaller; text-align:center;"> Crochet penguin plushie,<br> credits to [user:gry3125,2026-06-15] </div> </div> We, [user:quacksaysduck,2026-06-15] and [user:_ja,2026-06-15] are excited to invite you to [contest:2237], which will start on [contest_time:2237]! In this round, you will help Ja the Ghost and Quack the Duck on their daily shenanigans. <strike>This round will be in the format of an IMO mock.</strike> There will be $9$ problems which you will have to solve in $3$ hours. This round will be combined for Division 1 and Division 2 and will be rated for everyone. Please note that this contest contains **at least one run-twice problem,** so please read the guide for [run-twice problems](https://codeforces.me/blog/entry/14799...

Full text and comments »

  • Vote: I like it
  • +324
  • Vote: I do not like it

147.
By BERNARB.01, 3 years ago, In English
IIOT 2024 (UPD: +Online mirror) The international finals of the International Informatics Olympiad in Teams (IIOT) 2024 will be happening in the next couple of days. It will be hosted by Syria as a hybrid event. There will be 20 participating teams from 10 different countries. Contest format: <ul list> <li>7-10 problems (including subtasks)</li> <li>4 hours</li> <li>4 contestants and 2 computers per team</li> </ul> Authors of the problems used in this contest: Péter [user:peti1234,2024-05-09] Gyimesi, Áron [user:mraron,2024-05-09] Noszály, Bernard [user:BERNARD,2024-05-09] Brahimsha, Alessandro [user:bortoz,2024-05-09] Bortolin, Zsolt [user:birka0,2024-05-10] Németh, Mihnea-Vicențiu [user:MVB,2024-05-09] Bucă, Péter Csorba, and Gabriella Blénessy. People who helped preparing the problems: [user:davi_bart,2024-05-10], [user:Kaey,2024-05-10], [user:Virv,2024-05-10], [user:ApraCadabra,2024-05-10], and [user:stefdasca,2024-05-10]. The practice round will be tomorrow on [Friday, 10 May 2024, 17:30](htt...

Full text and comments »

  • Vote: I like it
  • +210
  • Vote: I do not like it

148.
By Ashishgup, 5 years ago, In English
CodeChef September CookOff 2021 (with prizes and new admins!) We invite you to participate in CodeChef’s [September Cookoff](https://www.codechef.com/COOK133), today &mdash; 19th September from [9:30 PM &mdash; 12:30AM IST](https://www.timeanddate.com/worldclock/fixedtime.html?msg=September+Cook-off+2021&iso=20210919T2130&p1=44&ah=3&am=00). The contest will be **3 hours long**. There will be **7 problems** in Div 1/2 and **8 problems** in Div 3. It will be rated for all three Divisions. Joining us on the problem setting panel are: - Contest Admins: Ashish [user:ashishgup,2020-12-19] Gupta and Anton [user:antontrygubO_o,2021-09-19] Trygub - Head Admin: Alex [user:Um_nik,2021-06-26] Danilyuk - Tester: Anshu [user:_runtimeTerror_,2021-09-19] Garg - Setters: [user:abc864197532,2021-09-19], Ashish [user:ashishgup,2021-09-19] Gupta, Utkarsh [user:Utkarsh.25dec,2021-09-19] Gupta, Rahim [user:Nots0fast,2021-09-19] Mammadli, [user:flamestorm,2021-09-19], Anirudh Krishna, Chaithanya [user:Dragonado,2021-09-19] Shyam, Amruth [user:amruth_...
**Global Rank List:**, **Indian Rank List:**

Full text and comments »

  • Vote: I like it
  • +150
  • Vote: I do not like it

149.
By Wind_Eagle, history, 5 years ago, translation, In English
Where the author of the contest came up entertaining. Cheating cheaters. Hello, Codeforces! A month ago I have wrote [my blog about cheaters](https://codeforces.me/blog/entry/94300). Under that blog, a number of suggestions have accumulated, and there is a number of interesting ideas that could be applied to sabotage a group of cheaters. I've often seen comments along the lines of: <spoiler summary="Pictures">. <a href="https://imgbb.com/"><img src="https://i.ibb.co/r65zfTL/cheat1.png" alt="pic1" border="0"></a> <a href="https://imgbb.com/"><img src="https://i.ibb.co/Yh6ZfY8/cheat2.png" alt="pic2" border="0"></a> </spoiler> Well, doing what [user:Ari,2021-09-28] suggested wasn't really what I wanted to do, but it was worth checking out what would happen if the wrong solutions were sent. I asked some famous user what would happen if I sent the wrong solutions to cheaters. He told me that someone had done this before and that he was quickly debunked. I wondered whether I could cheat cheaters without getting caught. But for this, I had to do so...

Full text and comments »

  • Vote: I like it
  • +526
  • Vote: I do not like it

150.
By plagues, 3 months ago, In English
The most outrageous cheating in the history of Huawei Challenge ![ ](/predownloaded/e4/f0/e4f0838fd7d6c43c6a92c2655748800519c78bd3.jpg) I am writing this because I believe that prohibited collaboration occurred during this Challenge and affected the prize positions. To state my personal conclusion plainly: I believe this is cheating, not merely a collection of innocent coincidences. The final positions relevant to the accounts discussed in this post were: | Rank | Handle | Final score | Result of my public-data review | |---:|---|---:|---| | 2 | [user:IceKylin,2026-08-28] | 16808.628 | Historical team with [user:candy0014,2026-08-28] named “IceKylin 0339 team”; all-time runtime/score leads with [user:candy0014,2026-08-28] and [user:Retired_Zhisheng,2026-08-28] | | 3 | [user:mahiro_zcy,2026-08-28] | 16757.390 | Repeated all-time runtime/score correlation with [user:mojo__hugo,2026-08-28]; repeated timing correlation with [user:Zinc-acetate,2026-08-28]; weak close event with [user:Mango2011,2026-08-28] | | 4 | [user:Zinc-acetate,2026-08-...
The fixed contest-wide screen found two repeated correlations involving final rank 3

Full text and comments »

  • Vote: I like it
  • +205
  • Vote: I do not like it

151.
By MikeMirzayanov, 17 years ago, translation, In English
Table of Ranks <p><b>According to&nbsp;<a href="http://codeforces.me/blog/entry/3064">The November Revolution of Colors and Titles</a>, the text below is not an actual and just a historical document.</b></p><p>Not so long ago a new rating system was introduced at Codeforces. To complete the picture I&rsquo;ll tell you about our Table of Ranks.</p> <p>From this moment on all the participants will be given ranks that reflect their skills and abilities at such a hard field as computer science and problem solving. Judging by the results of previous rounds you will gain (or lose, I hope it&rsquo;s not your case) points. If you score big success, you are promoted to a higher rank. You can see the dependence between rating and ranks in the table below. Moreover each rank has its color, which is reflected in the table.</p> <table style="width: 250.0px;border-collapse: collapse;"> <tbody><tr> <th style="border: 1.0px solid gray;padding: 0.25em;">Rating</th><th style="border: 1.0px solid gray;padding: 0.25e...
, you are promoted to a higher rank. You can see the dependence between rating and ranks in the table

Full text and comments »

  • Vote: I like it
  • +1
  • Vote: I do not like it

152.
By Xiaohuba, 13 months ago, In English
Codeforces Global Round 30 Editorial ## A Sequence Game Idea from [user:cmk666,2025-11-06], Prepared by [user:cmk666,2025-11-06] <spoiler summary="Hint 1"> Think some straightforward necessary conditions. They are also sufficient. </spoiler> <spoiler summary="Tutorial"> [tutorial:2164A] </spoiler> ## B Even Modulo Pair Idea from [user:244mhq,2025-11-06], Prepared by [user:NetSpeed1,2025-11-06] <spoiler summary="Hint 1"> Consider a brute force solution. What's the actual complexity of it? </spoiler> <spoiler summary="Tutorial"> [tutorial:2164B] </spoiler> ## C Dungeon Idea from [user:Link_Cut_qwq,2025-11-06], Prepared by [user:Xiaohuba,2025-11-06] <spoiler summary="Hint 1"> If you gain a new sword after killing a monster, its damage will be greater or equal than the previous sword. </spoiler> <spoiler summary="Hint 2"> When will we attempt to kill monsters with $c_i = 0$? </spoiler> <spoiler summary="Hint 3"> Consider a greedy approach. </spoiler> <spoiler summ...
## F1/F2 Chain Prefix Rank

Full text and comments »

  • Vote: I like it
  • +176
  • Vote: I do not like it

153.
By drastogi21, 6 years ago, In English
A serious proposal for Division 1.5 Hi Codeforces Community, Are you rated 2100 or higher? If yes, then it must be frustrating waiting for rated contests. I thus, bring to you a serious (not troll) proposal for Div 1.5 contests and some small changes in contest setups. Note that, I have also prepared a contest and know very well how hard it is to come up with interesting and novel ideas, so this is by no means a blog where I'm just criticizing setters that they are not setting frequent contests. _Why Division 1.5?_ The frequency of Div. 1's is extremely low is compared to Div. 2. Moreover, coming up with the last problem of a Div. 1 round is extremely hard. If you have got good enough ideas (up to let's say Div 1 D), you still get to make the contest! _How does it benefit the contestants?_ Well, more contests are always fun! _How does it benefit the setters?_ Read the answer to the 1st question. _Rated Range?_ Let's make it rated for up to 2600. _But you know, anyone will become red, blah bl...
rounds (let's say < 10 rank), you would get somewhere around rank 50 in a Div. 1 contest, which is

Full text and comments »

  • Vote: I like it
  • +637
  • Vote: I do not like it

154.
By dXqwq, 4 months ago, In English
The 8th Turing Cup Tournament **UPD 1: Submitting a recording will be required in order to win (division top 3 or best female coder) prize. The format of the recording & rules are the same with [AGC](https://atcoder.jp/posts/agc_proctoring_en).** **UPD 2: We've noticed that contest is unavailable in the X-Camp Contest System. We are investigating.** **UPD 3: International contestants should also register at XinYouDui contest system.** **UPD 4: You should submit your video file(or url) to `[email protected]`.** # 2026 · The 8th Turing Cup Tournament The Turing Cup is an invitational competition that is organized by one of the most successful informatics competition teams in China, the XinYouDui and partner with X-Camp Academy. ## Timeline | Event | Time (UTC+8) | |----------------------|-----------------------------------------| | Registration Time | Jun 18, 2026, 06:00 PM &mdash; Jul 30, 2026, 12:29 PM | | Opening Ceremony | Jul 30, 2026, 07:...
China's national competitions. - **Real-time Contest Ranking**: Besides the real-timerank list

Full text and comments »

  • Vote: I like it
  • +73
  • Vote: I do not like it

155.
By Mistra, history, 8 years ago, In English
Your Codeforces rating in CS:GO ranking system I enjoy both Codeforces and _Counter-Strike: Global Offensive_ , and I was wondering what would my Codeforces rating be in CS:GO ranking system. Well, I did the math, enjoy! The method ================== I used [this](https://csgo-stats.com/ranks) CS:GO rank distribution to find out the percentage of players in each skill group. - Silver I: 3.90% - Silver II: 4.23% - Silver III: 4.37% - Silver IV: 5.21% - Silver Elite: 6.44% - Silver Elite Master: 7.78% - Gold Nova I: 8.76% - Gold Nova II: 8.79% - Gold Nova III: 9.05% - Gold Nova Master: 8.08% - Master Guardian I: 7.55% - Master Guardian II: 6.61% - Master Guardian Elite: 5.24% - Distinguished Master Guardian: 4.15% - Legendary Eagle: 3.25% - Legendary Eagle Master: 3.20% - Supreme Master First Class: 2.64% - The Global Elite: 0.75% At the time of writing this blog, there were 21275 active users in Codeforces. I listed the ratings of all active users, sorted the list and divided the list into skill groups ...
I used [this](https://csgo-stats.com/ranks) CS:GO rank distribution to find out the percentage of

Full text and comments »

  • Vote: I like it
  • +129
  • Vote: I do not like it

156.
By BledDest, history, 6 years ago, translation, In English
Educational Codeforces Round 96 [Rated for Div. 2] Hello Codeforces! On [contest_time:1430] [contest:1430] will start. **Note that the start time is unusual**. Series of Educational Rounds continue being held as [Harbour.Space University](https://harbour.space/) initiative! You can read the details about the cooperation between [Harbour.Space University](https://harbour.space/) and Codeforces in the <a href="http://codeforces.me/blog/entry/51208">blog post</a>. This round will be **rated for the participants with rating lower than 2100**. It will be held on extended ICPC rules. The penalty for each incorrect submission until the submission with a full solution is 10 minutes. After the end of the contest you will have 12 hours to hack any solution you want. You will have access to copy any solution and test it locally. You will be given **6 or 7 problems** and **2 hours** to solve them. The problems were invented and prepared by Adilbek [user:adedalic,2020-10-10] Dalabaev, Alex [user:fcspartakm,2020-10-10] Frolov an...
Congratulations to the winners: Rank, Поздравляем победителей: Rank

Full text and comments »

  • Vote: I like it
  • +463
  • Vote: I do not like it

157.
By michao, history, 14 months ago, In English
CP trainer — a new tool for training Hello, <br/> I created a project for training and analyzing your performance during contests: [cp-trainer.com](https://cp-trainer.com). I believe it has some unique features non-existent in competitive platforms and can provide as a more sensible tool for training, especially for more experienced users, who have participated already in a bunch of contests. Below I will briefly discuss its functionalities: Problem recommender ------------------ In this section, we will discuss the heuristics used for problem recommender, the system offers for the user 10 problems with the highest value of this heuristics. First we need to introduce a couple of metrics: <ul> <li> <b> get_dict_accuracy </b> — Dictionary of form (<b>tag</b> : average number of submissions to accept problem with this tag during contest) </li> <li> <b> ratings_average_time_diffs </b> — Dictionary of form (<b>rating</b> : average time in seconds to solve the problem with this rating during contest) </li> <li...
contestant with some specific rank. It was realized by taking statistics for 40 average random users

Full text and comments »

  • Vote: I like it
  • +252
  • Vote: I do not like it

158.
By Sersawy, history, 13 months ago, In English
We Won Gold — Help Us Reach ICPC World Finals! Update #2: ACPC 2025 and ICPC Qualified --------------------------------------- Yesterday, we competed in the Arab & African Collegiate Programming Contest (ACPC) 2025, which we were able to attend thanks to the fundraising campaign and everyone who supported it. We are proud to announce that our team achieved the following results: - Ranked 10th overall across Africa and the Arab region - Won a Bronze Medal - Qualified for the ICPC World Finals 2026 <details> <img src="https://i.ibb.co/twxdzTGg/IMG-20251215-WA0274.jpg" width="400"> </details> We sincerely thank everyone who contributed, shared, or supported our campaign. Your support directly made this achievement possible. Update #1: We Did It! ------------------- We’ve successfully collected all the needed funds. We truly appreciate everyone who supported us and shared our campaign — your help made this achievement possible! <details> <img src="https://i.ibb.co/tppR7hgm/screenshot-2025-11-07-2...

Full text and comments »

  • Vote: I like it
  • +249
  • Vote: I do not like it

159.
By cry, 16 months ago, In English
CSES Additional Problems I (new problems only) Tutorial Hello Codeforces. I was stuck on a 3 hour flight with nothing to do, so what better way to spend my time than catching up on the new CSES problems. But it turns out I finished those too quick so I guess I'm writing the solutions for some of them here. No one probably asked. This will only cover the new problems from the 2025 update and in the **Additional Problems I** section. For old problem solutions you can probably find them somewhere on the internet. For new problems not in this section, some of their solutions are in [this blog](https://codeforces.me/blog/entry/142894). ### [Distinct Values Sum](https://cses.fi/problemset/task/3150/) <spoiler summary="Smash Me"> Consider each distinct value separately. Say we are focused on $x$ and denote the indices where $x$ occurs in $a$ as $b_1, b_2, \ldots, b_k$. We want to count the number of subarrays that covers at least one element in $b$. Let's break $[1, n]$ into intervals separated by each $b_i$, so we have intervals $[...
We can find the nullity of $M$ using the rank-nullity theorem. Let $r$ denote itsrank, then we are

Full text and comments »

  • Vote: I like it
  • +82
  • Vote: I do not like it

160.
By awoo, history, 7 years ago, translation, In English
Educational Codeforces Round 88 [Rated for Div. 2] Hello Codeforces! On [contest_time:1359] [contest:1359] will start. Series of Educational Rounds continue being held as [Harbour.Space University](https://harbour.space/) initiative! You can read the details about the cooperation between [Harbour.Space University](https://harbour.space/) and Codeforces in the <a href="http://codeforces.me/blog/entry/51208">blog post</a>. This round will be **rated for the participants with rating lower than 2100**. It will be held on extended ICPC rules. The penalty for each incorrect submission until the submission with a full solution is 10 minutes. After the end of the contest you will have 12 hours to hack any solution you want. You will have access to copy any solution and test it locally. You will be given **6 or 7 problems** and **2 hours** to solve them. The problems were invented and prepared by Roman [user:Roms,2020-05-27] Glazov, Adilbek [user:adedalic,2020-05-27] Dalabaev, Vladimir [user:vovuh,2020-05-27] Petrov, Ivan [us...
Congratulations to the winners: Rank

Full text and comments »

  • Vote: I like it
  • +355
  • Vote: I do not like it

161.
By NemanjaSo2005, 23 months ago, In English
I Reached GM! Hello, codeforces community, After the last round of 2024, [contest: 2053], I finally reached Grandmaster (GM)—an achievement I had dreamed of ever since I became a Master 2 years ago, but doubted I could achieve. In Spring 2024 I set myself a goal to reach GM before the end of 2024, which felt ambitious and even unrealistic at times. But here I am, thrilled to share that I have accomplished my goal! Some of you have noticed that upon reaching 2400 rating I used magic to change my rank to CM. Why? For two reasons: first, I quite like the CM color. Perhaps it is because CM seemed like such a cool rank when I started. Second, I wanted to give myself more time to write this blog, so I hope you will enjoy it! While some of you might know me, I assume most are seeing my name for the first time. Allow me to introduce myself briefly. I am a 19-year-old Serbian competitive programmer who has been doing CP for around 8 years now. My journey is filled with many highs and lows &mdash; ma...
Some of you have noticed that upon reaching 2400 rating I used magic to change myrank to CM. Why

Full text and comments »

  • Vote: I like it
  • +234
  • Vote: I do not like it

162.
By TimeWarp101, 4 years ago, In English
Codeforces Round #845 (Div. 2) and ByteRace 2023 Hello, Codeforces! NJACK &mdash; the Computer Science Club of IIT Patna is excited to invite you to **ByteRace 2023** &mdash; [contest:1777] under **Celesta** &mdash; the annual Techno-Management Fest of IIT Patna. The contest will take place on [contest_time:1777]. **This round will be rated for participants with rating lower than 2100.** ![ ](/predownloaded/fe/63/fe63baf2a3f195f519ff5907f40f0fb6fdd46ed7.png) Many thanks to all the people who made this round possible: - The problems were authored and prepared by me, [user:quantau,2023-01-19], [user:mayankfrost,2023-01-19], [user:ShivanshJ,2023-01-19], [user:Crocuta,2023-01-19] and [user:AwakeAnay,2023-01-19]. - [user:irkstepanov,2023-01-19] and [user:KAN,2023-01-19] for coordinating the round! - [user:jenishmonpara,2023-01-19], [user:100gods,2023-01-19] and [user:V_S_M,2023-01-19] for their guidance throughout the process. - VIP testers: [user:YashPant,2023-01-19] and [user:Newtech66,2023-01-19] <3 - Shoutout to [us...
- Top 20 Indian participants - Random 10 from top 100 (rank 21-100) Indian participants, Random 10 from top 100 (rank 21 — 100) Indian participants

Full text and comments »

  • Vote: I like it
  • +273
  • Vote: I do not like it

163.
By arsijo, 8 years ago, translation, In English
Codeforces Round #495 (Div. 2) Hi everybody! Summer... It is a wonderful time for traveling, walking with friends, new discoveries and, of course, writing new exciting contests at Codeforces. Thus, I bring to your attention my new Codeforces Round #495 (Div. 2) with interesting tasks that will take place on [contest_time:1004]. If your rating is less than 2100, this round will be rated for you; otherwise, you can participate out of competition. I would like to thank Mike [user:MikeMirzayanov,2018-07-04] Mirzayanov for his help with problems preparing and for Codeforces and Polygon platforms. Also, Ildar [user:300iq,2018-07-04] Gainullin, Dmitry [user:_kun_,2018-07-04] Sayutin, Daniil [user:danya.smelskiy,2018-07-04] Smelskiy, Chin-Chia [user:eddy1021,2018-07-05] Hsu, and Kevin [user:ksun48,2018-07-05] Sun for the problems testing. You will be given 6 problems and 2 hours to solve them. Scoring distribution will be announced later. In this round, you will have to help Sonya with her daily problems. Good ...
Rank Nickname Score

Full text and comments »

  • Vote: I like it
  • +379
  • Vote: I do not like it

164.
By E869120, 7 years ago, In English
My winning theory in IOI 2018 & 2019 — Why I won 2 golds in IOI Dear Codeforces community.<br /> According to [IOI 2019 Results](http://stats.ioinformatics.org/results/2019), I got the 25th place and got successful gold medals twice in a row.<br /> Although it was pretty close to the gold-medal border (only 6.14pts / 600 difference) and it was lower performance than IOI 2018, which I participated when I was orange in Codeforces, I had many chances to get more points in this IOI, even for top 10. Since there are not so many people who have got two gold medals in IOI (and there were many requests like "I want [user:E869120,2019-08-14] to talk about how to get gold in IOI" like [this comment](https://codeforces.me/blog/entry/66909?#comment-510127) and [this comment](https://codeforces.me/blog/entry/66909?#comment-513129)). I want to write something about IOI, which may be useful for people who will participate in IOI next year and also some years later.<br /> ![ ](https://i.ibb.co/TLmqRRX/E869120-IOI-01.png)<br /> <br /> ### A. First of all At...
Total Score Final Rank Medal

Full text and comments »

  • Vote: I like it
  • +608
  • Vote: I do not like it

165.
By Arpa, history, 16 months ago, In English
IOI 2025 Ranking Prediction Hello Codeforces! Less than a week to IOI 2025! I used accounts from [this blog](https://codeforces.me/blog/entry/142475) and made the **prediction** for the IOI 2025 ranking. Ratings are calculated based on the average of the current rating and the maximum rating. [cut] <table width="100%"> <thead> <tr> <th> Predicted Rank </th> <th> Actual Rank </th> <th> CF handle </th> <th> Name </th> <th> Country </th> <th> Rating </th> <th> Predicted Award </th> <th> Actual Award </th> </tr> </thead> <tbody> <tr style="background-color:#FFEE55;"> <td> 1 </td> <td> </td> <td> [user:JoesSR,2025-07-25] </td> <td> </td> <td> &#x1f1e8;&#x1f1f3; China </td> <td> 3163.0 </td> <td> &#x1f947; Gold </td> <td> </td> </tr> <tr style="background-color:#FFEE55;"> <td> 2 </t...

Full text and comments »

  • Vote: I like it
  • -150
  • Vote: I do not like it

166.
By aryanc403, 10 days ago, In English
Codeforces Round 1137 Discussion Stream (with Hints) The editorial video for [contest:2289] is now available [here](https://youtu.be/fdB2s_PBKlI). Do check out the [CF Video Editorial Finder](https://codeforces.me/blog/entry/154724) browser extension — it adds links to my video editorials directly from the contest/problems page. You can join in if something in this blog is unclear or if you have more questions. [problem:2289A] <spoiler summary="Hint 1"> What are we really counting here? Focus on the number of odd divisors vs even divisors of $x$. </spoiler> <spoiler summary="Hint 2"> Artem moves first and can choose any parity. He'll pick the parity with more divisors!<br> The second player wins only if the count of odd divisors equals the count of even divisors. </spoiler> <spoiler summary="Hint 3"> Case 1: If $x$ is odd, what can we say about all its divisors?<br> <br> All divisors of an odd number are odd. Artem chooses an odd card, and the second player has no even cards to play. Artem wins immediately. </...
1. Find the maximum rank on each side: $mx_u$ and $mx_v$ 2. Players from $u$ with rank $\geq, Look at the maximum rank from each side: let $mx_u$ = max rank in $winners[u]$, and $mx_v$ = max

Full text and comments »

  • Vote: I like it
  • +16
  • Vote: I do not like it

167.
By SpyrosAliv, 2 months ago, In English
WorldQuant Round 1 (Codeforces Round 1128, Div. 1 + 2) <h4>Καλησπέρα/안녕/สวัสดี/أهلا/你好 Codeforces!</h4> <center> <img src="https://i.ibb.co/x85ZGVjm/verity.png" alt="verity" style="float:right; height: 154px; padding-left: 35px; padding-right: 73px; padding-top: 41px; padding-bottom: 33px;"/> </center> With great felicity, immense joviality, and unparalleled positivity, we, a team of authors united by our creativity, originality, ingenuity, and curiosity, consisting of [user:omsincoconut,2026-10-08], [user:chromate00,2026-10-08], [user:ttamx,2026-10-08], [user:yse,2026-10-08], [user:marszpace,2026-10-08], an individual of mysterious identity, and me, [user:SpyrosAliv,2026-10-08], have the distinct opportunity and absolute pleasure to invite you to [contest:2261], an event of exceptional quality and remarkable diversity, which will become a reality on [contest_time:2261]. You will be presented with <b>8 problems</b> of varying complexity, difficulty, and subtlety, with exactly <b>3 hours</b> of availability to demonstrate your...

Full text and comments »

  • Vote: I like it
  • +288
  • Vote: I do not like it

168.
By employed, 2 months ago, In English
DeepInfra Round 1 (Codeforces Round 1126, Div. 1 + Div. 2) Hello, Codeforces! We are excited to invite you to [contest:2271], which will take place on [contest_time:2271]! **Note the unusual start time of the round**. You will have **3 hours** to solve **8 problems**, one of which is divided into subtasks. The problems were prepared by [user:employed,2026-10-03] and reviewed carefully by [user:nifeshe,2026-10-03]. We have put a lot of care into creating and testing this problemset, and we hope you will enjoy solving the problems as much as we enjoyed preparing them! A huge thank you to everyone who helped bring this round to life: - [user:nifeshe,2026-10-03] for coordinating the round and being funny, cool, and smart! - [user:dominater069,2026-10-03] for the early review of the problems. - [user:Evenimage,2026-10-03], [user:akslolcoding,2026-10-03], [user:apracadabra,2026-10-03], [user:Euclid73,2026-10-03], [user:linearspace,2026-10-03], [user:Mohammad_Hacker,2026-10-03], [user:naneosmic,2026-10-03], [user:nik_exists,2026-10-0...
>Random 10 from the top 100 (rank 11-100): merch** ****

Full text and comments »

  • Vote: I like it
  • +309
  • Vote: I do not like it

169.
By cry, 15 months ago, In English
Codeforces Round 1050 (Div. 4) Editorial #### [problem:2148A] <spoiler summary="Solution (written by cry)"> Notice that if we pair each odd-indexed element with an even-indexed element, it sums to $0$. Therefore, our strategy is to pair the $2i$'th element with the $(2i+1)$th element until there are no more elements to pair. Note that if $n$ is odd, then there exists an unpaired odd element at the end. In this case, the answer will just be that ending element, which will be $x$. Otherwise, when $n$ is even, we paired every element perfectly and the sum will be $0$. Time complexity: $\mathcal{O}(1)$ per test case. </spoiler> <spoiler summary="Code (C++) (MikeMirzayanov)"> ```cpp #include <bits/stdc++.h> using namespace std; #define forn(i, n) for (int i = 0; i < int(n); i++) int main() { int t; cin >> t; forn(tt, t) { int x, n; cin >> x >> n; if (n % 2 == 0) cout << 0; else cout << x; cout << endl; } } ``` </...
- The "rank" of the suffix starting at index $i+1$ (i.e. its relative order in the previous sorting

Full text and comments »

  • Vote: I like it
  • +74
  • Vote: I do not like it

170.
By radoslav11, history, 5 years ago, In English
Invitation to October Lunchtime 2021 — Wednesday, 27th October, 7:30 PM IST We invite you to participate in CodeChef’s [October Lunchtime](https://www.codechef.com/LTIME101?utm_source=codeforces_blog&utm_medium=organic&utm_campaign=OctLtime), this Wednesday, 27th October. Time: [7:30 PM &mdash; 10:30 PM IST](https://www.timeanddate.com/worldclock/fixedtime.html?msg=October+Lunchtime&iso=20211027T1930&p1=44). PS: Note the change in the date. The contest will be on a Wednesday this month instead of the usual Saturdays. The contest will be rated for all three Divisions. Joining us on the problem setting panel are: - Setters: Soumyadeep [user:palsoumyadeep,2021-10-27] Pal, Sandeep [user:dazlersan1,2021-10-27] V, Akshat [user:iamakshat01,2021-10-27] Mangal, Saarang [user:saarang123,2021-10-27] Srinivasan, Manan [user:mexomerf,2021-10-27] Grover, Shivam, Bhavya [user:pseudocoder10,2021-10-27] Girotra, Alex [user:Um_nik,2021-10-27] Danilyuk, Chaithanya [user:Dragonado,2021-10-27] Shyam - Testers: Danny [user:Tlatoani,2021-10-27] Mittal, Radostin [user:R...
**Global Rank List:**, **Indian Rank List:**

Full text and comments »

  • Vote: I like it
  • +148
  • Vote: I do not like it

171.
By awoo, history, 6 years ago, translation, In English
Educational Codeforces Round 92 [Rated for Div. 2] Hello Codeforces! On [contest_time:1389] [contest:1389] will start. Series of Educational Rounds continue being held as [Harbour.Space University](https://harbour.space/) initiative! You can read the details about the cooperation between [Harbour.Space University](https://harbour.space/) and Codeforces in the <a href="http://codeforces.me/blog/entry/51208">blog post</a>. This round will be **rated for the participants with rating lower than 2100**. It will be held on extended ICPC rules. The penalty for each incorrect submission until the submission with a full solution is 10 minutes. After the end of the contest you will have 12 hours to hack any solution you want. You will have access to copy any solution and test it locally. You will be given **6 or 7 problems** and **2 hours** to solve them. The problems were invented and prepared by Roman [user:Roms,2020-07-28] Glazov, Adilbek [user:adedalic,2020-07-28] Dalabaev, Vladimir [user:vovuh,2020-07-28] Petrov, Ivan [us...
Rank Competitor

Full text and comments »

  • Vote: I like it
  • +413
  • Vote: I do not like it

172.
By AliShahali1382, history, 5 years ago, In English
Codeforces Global Round 17 Hello, Codeforces! <img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width:200px; float:right; margin: 0 1em 1em 1em"/> On [contest_time:1610] we will host [contest:1610]. It is the fifth round of a 2021 series of [Codeforces Global Rounds](/blog/entry/65002). The rounds are open and rated for everybody. The prizes for this round: <ul> <li> 30 best participants get a t-shirt. <li> 20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive. </ul> The prizes for the 6-round series in 2021: <ul> <li> In each round top-100 participants get points according to the [table](https://pastebin.com/QT5sXEaT). <li> The final result for each participant is equal to the sum of points he gets in the four rounds he placed the highest. <li> The best 20 participants over all series get sweatshirts and place certificates. </ul> Thanks to XTX, which in 2021 supported the global rounds initiative! The problems we...

Full text and comments »

Announcement of Codeforces Global Round 17
  • Vote: I like it
  • +312
  • Vote: I do not like it

173.
By lumibons, 5 years ago, In English
BOI 2022 ![ ](/predownloaded/ef/78/ef78fa8b1e9d3d339a4315ca24c9d33b1a9d72fb.png) This weekend, the **Baltic Olympiad in Informatics 2022** (BOI 2022) is going to take place! BOI is a programming contest for secondary school students from countries around or close to the Baltic sea. This year, around 70 contestants from Denmark, Estonia, Finland, Germany, Iceland, Latvia, Lithuania, Norway, Poland, Sweden and our guest countries Israel and Ukraine will compete against each other, solving difficult problems of algorithmic nature. Each participating country sends 6 contestants from their national olympiads which take place in the months beforehand. The contest consists of two days, Saturday and Sunday, on each of which the contestants have 5 hours to solve 3 problems of varying difficulty. Each problem is worth 100 points that are distributed into multiple subtasks with different constraints that allow the participants to earn partial scores. During the contest, each participant receives the...

Full text and comments »

  • Vote: I like it
  • +205
  • Vote: I do not like it

174.
By Shayan, history, 6 years ago, In English
Iran National OI Team Selection Contests Hello everyone! We are glad to invite you to participate in the Iran National OI Team Selection contests. ![ ](https://i.ibb.co/cxS6SYL/Screen-Shot-1400-03-04-at-21-21-18.png) Every year in Iran, the Iranian National Olympiad in Informatics (INOI) committee conducts a summer camp to choose 8 top students to prepare them for next year's IOI and a spring camp to choose 4 out of those 8 to form the Iranian national team in IOI. After the successful experience of holding the mirror of last year’s summer camp contest with few contestants, we are going to have the mirror of our national team selection on a larger scale. The level of these contests is around the IOI, and harder than the contests of the summer camp, and the point of holding the mirror of these contests is to help the IOI participants from other countries to prepare better for the IOI, and Persian younger students to have experience of these contests and prepare better for the future. ![ ](https://i.ibb.co/GR8TJ...
In most of these last years we had rank around 3 to 5 in IOI, hope this team will end up withrank

Full text and comments »

  • Vote: I like it
  • +183
  • Vote: I do not like it

175.
By awoo, history, 6 years ago, translation, In English
Educational Codeforces Round 107 [Rated for Div. 2] Hello Codeforces! On [contest_time:1511] [contest:1511] will start. Series of Educational Rounds continue being held as [Harbour.Space University](https://harbour.space/) initiative! You can read the details about the cooperation between [Harbour.Space University](https://harbour.space/) and Codeforces in the <a href="http://codeforces.me/blog/entry/51208">blog post</a>. This round will be **rated for the participants with rating lower than 2100**. It will be held on extended ICPC rules. The penalty for each incorrect submission until the submission with a full solution is 10 minutes. After the end of the contest you will have 12 hours to hack any solution you want. You will have access to copy any solution and test it locally. You will be given **6 or 7 problems** and **2 hours** to solve them. The problems were invented and prepared by Roman [user:Roms,2021-04-11] Glazov, Adilbek [user:adedalic,2021-04-11] Dalabaev, Vladimir [user:vovuh,2021-04-11] Petrov, Ivan [us...
and top performers of IOI, IMO, ICPC, and participants with Codeforces rank above 2000._

Full text and comments »

  • Vote: I like it
  • +223
  • Vote: I do not like it

176.
By ACGN, 5 years ago, In English
What if tourist goes rainboy mode? (Simulation) DISCLAIMER: NO TOURISTS AND RAINBOYS WERE PINGED Ah yes, two names that most people on Codeforces have heard -- <b>t<span style="color:red;">ourist</span></b> and <b><span style="color:purple;">rainboy</span></b>, one known as the CP Legend, and one as the user who does everything reverse. Such a great idea to put them together &mdash; a hypothetical user with the same ability as <b>t<span style="color:red;">ourist</span></b>, and solves problems the <b><span style="color:purple;">rainboy</span></b> way. _For those unaware of the "rainboy way", it means solving the problems in reverse order. In particular, if he cannot solve the final problem, he solves no problems in the contest._ Unfortunately, <b><span style="color:purple;">rainboy</span></b> had not yet reached red, peaking at 2398 rating. How far can this user go? We shall simulate this user through all the contests that tourist and rainboy took part in comparably, which adds up to 60 contests from [contest:745] to [cont...
header">Rank Solved

Full text and comments »

  • Vote: I like it
  • +360
  • Vote: I do not like it

177.
By Anadi, 8 years ago, In English
Codeforces Round #519 by Botan Investments — announcement I would like to invite you to participate in the rated [contest:1043]. Date and time of the round: [contest_time:1043]. This is a combined round having 7 problems and lasting 2 hours, and it will be **rated**. Tasks for you were prepared by [user:FCB1234,2018-10-26], [user:Grzmot,2018-10-26], [user:isaf27,2018-10-26] and [user:Mateuszrze,2018-10-26]. Also thanks for: [user:KAN,2018-10-26] and [user:_kun_,2018-10-26] for help in preparing the problems; [user:pavel.savchenkov,2018-10-26], [user:Nerevar,2018-10-26], [user:map,2018-10-26], [user:GR1n,2018-10-26], [user:rutsh,2018-10-26], [user:AlexFetisov,2018-10-28] and [user:winger,2018-10-28] for testing the round; [user:MikeMirzayanov,2018-10-26] for Codeforces and Polygon platforms. The round is supported by Botan Investments. **Prizes!** Top 50 participants and 20 random participants with rank from 51 to 500 will receive personalized hoodie with CF handle. Scoring distribution will be announced later. I wish you a ...
**Prizes!** Top 50 participants and 20 random participants with rank from 51 to 500 will receive

Full text and comments »

  • Vote: I like it
  • +544
  • Vote: I do not like it

178.
By ICPCNews, 3 years ago, In English
ICPC 2023 Online Challenge powered by Huawei <img src="/predownloaded/60/ed/60eddb18a54159e57dd1ffc836857f58420039bf.jpg" align="right" style="height: 280px;" alt="text"/> #### Hello, Codeforces! From the ICPC 2023 World Finals, we are happy to bring you an exciting online event: **The ICPC 2023 Online Challenge powered by Huawei**,which will start on November 20, 2023 15:00 UTC (UTC+8) In this Challenge, you will have a unique chance: - to **compete with top programmers globally** - to **solve 1 exciting problem** prepared by Huawei - to **win amazing prizes** from Huawei! **It is an individual competition.** #### The ICPC 2023 Online Challenge powered by Huawei: **Start:** [November 20, 2023 15:00 (UTC+8)](https://www.timeanddate.com/worldclock/fixedtime.html?day=20&month=11&year=2023&hour=10&min=0&sec=0&p1=166) **Finish:** [December 4, 2023 15:00 (UTC+8)](https://www.timeanddate.com/worldclock/fixedtime.html?day=04&month=12&year=2023&hour=10&min=0&sec=0&p1=166) **We hope you'll enjoy this ...
-align: center;">Rank

Full text and comments »

  • Vote: I like it
  • +387
  • Vote: I do not like it

179.
By Arpa, history, 15 months ago, In English
Does a country’s IOI success come from GDP, schools — or something else? Some small countries do very well at the IOI — is that luck, culture, money, or a training system? Or maybe because some developed countries _don't care about IOI_ at all, so there is no investment in it? If that's the case in your country, please leave a comment. By the way, why do you think that is? See the first 20 countries at the IOI website (the full list is [here](https://stats.ioinformatics.org/countries/)): <br> <center> <be> <a href="https://algoritmiacademy.com/wp-content/uploads/2025/09/Screenshot-from-2025-09-11-11-41-51.png"> <img width="50%" src="https://algoritmiacademy.com/wp-content/uploads/2025/09/Screenshot-from-2025-09-11-11-41-51.png"> </a> <br> <i>The first 20 countries at the IOI</i> </center> <br> Also, this is the diagram showing the relation between a country’s IOI rank and its GDP per capita. A higher GDP per capita **usually** means the country is more developed and people have a good standard of living, so they can invest in area...

Full text and comments »

Tags ioi
  • Vote: I like it
  • +50
  • Vote: I do not like it

180.
By majk, 7 years ago, In English
CEOI 2019 Mirror [The 26th Central European Olympiad in Informatics](https://ceoi.sk/) will take place in Bratislava, Slovakia, during **July 23rd-29th 2019**. The most gifted high school students from 13 countries will have the opportunity to prove their knowledge and skills in informatics. Codeforces will organise the online mirror for this year's competition. The online mirrors will take place after the finish of each of the 2 competition days, having the same scoring format. The online mirror schedules are the following: - [contest_time:1192] - [contest_time:1193] **Contest format** - The contest will be unrated for all users. - You will have to solve 3 tasks in 5 hours. - There will be full feedback throughout the entire contest. - The scoreboard will be hidden until the end of the contest. - The tasks will have partial scoring. The maximum score for each problem will be 100 points. - Among multiple submissions only the one that achieves the maximum score is counted towards t...

Full text and comments »

  • Vote: I like it
  • +313
  • Vote: I do not like it

181.
By M.Mahdi, 10 years ago, In English
Codeforces Round #360 Editorial [+ Challenges!] Hi again! If you notice typos or errors, please send a private message. ### [688A: Opponents](http://codeforces.me/contest/688/problem/A) #### Solution Let's find out for each row of the given matrix if it is completely consisting of _ones_ or not. Make another array $canWin$, and set $canWin_i$ equal to one if the $i$-th row consists at least one _zero_. Then the problem is to find the maximum subsegment of $canWin$ array, consisting only ones. It can be solved by finding for each element of $canWin$, the closest zero to it from left. The complexity of this solution is $O(nd)$, but the limits allow you to solve the problem in $O(nd^2)$ by iterating over all possible subsegments and check if each one of them is full of _ones_ or not. <spoiler summary="C++ code"> ~~~~~ // . .. ... .... ..... be name khoda ..... .... ... .. . \\ #include <bits/stdc++.h> using namespace std; inline int in() { int x; scanf("%d", &x); return x; } const int N = 202; int ...
#define rank PAP, [e.u] = 0; rank[e.v] = rank[e.u] = 1; } }, int merge(Edge e) { if(rank[root(e.u)] > rank[root(e.v)]) swap(e.u, e.v); if(root(e.u

Full text and comments »

  • Vote: I like it
  • +94
  • Vote: I do not like it

182.
By gojira, 13 years ago, translation, In English
Rockethon 2014 Editorial In this post you will find the authors' solutions for the problems and subproblems featured in the competition, as well as some bonus questions related to these tasks. [problem:391A] -------------- Note that we can consider each maximal sequence of identical characters independently, since there is no way to insert a character and affect more than one such sequence. Also, note that there are multiple ways to correct a single maximal sequence by inserting one character into it: we can either insert a different character somewhere in this sequence and divide it into two sequences of odd length (this is always possible for a sequence of even length), or even just add the same character in any point of this sequence, thus increasing its length by 1 and changing its parity. Therefore, the answer to the problem is the number of maximal sequences of even length. One can find all such sequences in linear time. A pseudocode of the solution follows: ~~~~~ i = 1 ans = 0 while i ...
; rank = n + 1; for(int i = 0; i < n; i++) if (fighter[i].score < score - 1

Full text and comments »

Tutorial of Rockethon 2014
  • Vote: I like it
  • +101
  • Vote: I do not like it

183.
By Wind_Eagle, history, 4 years ago, translation, In English
Codeforces Round #843. One of the contests authors decided to entertain again Hello, Codeforces! Codeforces #843 (Div. 2) round took place not so long ago, and I was one of its authors. When an hour had passed since the contest had started, I (you could say, by tradition) decided to enter the groups with cheaters and make fun of them once again. And one more thing before we begin. [user:peltorator,2023-01-08] has launched a cool blog contest, I encourage everyone to participate: [blog](https://codeforces.me/blog/entry/110840). Next. [user:COOLMAARK,2023-01-13], thanks for writing about the cheaters group, but it was better to do it not in the comments to the announcement, for not to advertise the group. <spoiler summary="Comment under blog"> <a href="https://ibb.co/WtS5ZYz"><img src="https://i.ibb.co/NSwC5HN/pic1.png" alt="pic1" border="0"></a> </spoiler> Now to the point. So, since some cheaters recognize me, I invited [user:try_kuhn,2023-01-08] to help. In all the past cases, there was a problem: yes, sure, cheaters would submit the bad code, bu...

Full text and comments »

  • Vote: I like it
  • +257
  • Vote: I do not like it

184.
By greateric, history, 6 months ago, In English
Useless CP Information #1: Why DSU Runs in Inverse Ackermann Time Complexity _Originally written for my analysis of algorithms class. Shoutout to Prof Mikhail Atallah for being the GOAT_ The Tarjan proof is scary. This one is hopefully explained in a way us blues and purples can understand. Might turn this into a series if I think of more random useless information to talk about. Also if you are confused anywhere please ask :) Amortized Analysis Primer ================== We use the **potential method** to formally prove amortized time complexity. Here's how it works: - You start with a potential of 0. It is never allowed to go negative. Think of this as your bank account of CPU cycles. - You can increase your potential during cheap operations. Think of this as depositing CPU cycles into your bank account that you can use later. - You can draw your potential during expensive operations, like withdrawing CPU cycles from your bank account. For a concrete example, consider the `std::vector` that has to reallocate its internal array if it overflows...
$$A_k (\operatorname{rank} x) \le \operatorname{rank}(\operatorname{parent} x).$$, $$A_{\operatorname{level} x}^{(k)} (\operatorname{rank} x) \le \operatorname{ rank}(\operatorname, - $\Phi(x) = \alpha(n) \cdot \operatorname{rank}(x)$, if $x$ is a root or has rank 0. - If $x, Each node $v$ has a rank $\operatorname{rank} v$. Importantly, moving up to the parent of a non, Since $x$ is non-root, its own rank $\operatorname{rank}(x)$ is unchanged.

Full text and comments »

  • Vote: I like it
  • +76
  • Vote: I do not like it

185.
By KAN, 9 years ago, translation, In English
Codeforces Round #424: rated, based on VK Cup 2017 Finals Hi! [On Thursday, July 13, 2017, at 15:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=Codeforces+Round+%23424&iso=20170713T1805&p1=352&ah=2) Codeforces Round #424 will be held. Some of the problems will be from VK Cup 2017 Finals, some are prepared by Codeforces team to complete the problemset. There will be *six* problems in the second division, five as usual in the first, three of them shared. The problems of this round are proposed, prepared and tested by: [user:send_nodes,2017-07-10], [user:akvasha,2017-07-10], [user:ilya_the_lamer,2017-07-10], [user:fcspartakm,2017-07-10], [user:Perforator,2017-07-10], [user:MikeMirzayanov,2017-07-10], [user:PavelKunyavskiy,2017-07-10], [user:qwerty787788,2017-07-10], [user:Belonogov,2017-07-10], [user:izban,2017-07-10], [user:tourist,2017-07-10], [user:vepifanov,2017-07-10], [user:AlexFetisov,2017-07-10], [user:winger,2017-07-10], [user:Errichto,2017-07-10], [user:Gassa,2017-07-10], [user:naagi,2017-07-10], [user:ashmelev...
| Eligible list place | Contest | Rank | Handle | |--|--|--|--| | 65 | 830 | 65

Full text and comments »

  • Vote: I like it
  • +235
  • Vote: I do not like it

186.
By awoo, history, 4 years ago, translation, In English
Educational Codeforces Round 130 [Rated for Div. 2] Hello Codeforces! On [contest_time:1697] [contest:1697] will start. Series of Educational Rounds continue being held as [Harbour.Space University](https://harbour.space/) initiative! You can read the details about the cooperation between [Harbour.Space University](https://harbour.space/) and Codeforces in the <a href="http://codeforces.me/blog/entry/51208">blog post</a>. This round will be **rated for the participants with rating lower than 2100**. It will be held on extended ICPC rules. The penalty for each incorrect submission until the submission with a full solution is 10 minutes. After the end of the contest you will have 12 hours to hack any solution you want. You will have access to copy any solution and test it locally. You will be given **6 or 7 problems** and **2 hours** to solve them. The problems were invented and prepared by Adilbek [user:adedalic,2022-06-11] Dalabaev, Vladimir [user:vovuh,2022-06-11] Petrov, Ivan [user:BledDest,2022-06-11] Androsov, Mak...
(your Codeforces rank has to be added to your CV)_ - _Proficiency in English (Spanish is a plus)_

Full text and comments »

  • Vote: I like it
  • +150
  • Vote: I do not like it

187.
By rng_58, history, 8 years ago, In English
New season of AtCoder and announcement of WTF 2019/20 World Tour Finals 2018/19 has ended, and we will start the new season soon. The next two contests will be: - [AGC031](https://atcoder.jp/contests/agc031) <s>March 10th (Sun) 23:00 JST</s> [March 23rd (Sat) 22:00 JST](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20190323T2200&p1=248) UPD: Due to a fatal trouble (namely, the hardest problem turned out to be known) we had to reschedule it. We are very sorry about this. - [AGC032](https://atcoder.jp/contests/agc032) [March 16th (Sat) 21:00 JST](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20190316T2100&p1=248) And these two will be counted for this season's GP30 race. Like last year, the top 8 (or more, in case we get richer) people of the race ranking will be invited to the onsite finals in the beginning of 2020. There were several requests to increase the number of contests. Currently our goal is to hold - 1 AGC or other all-rated contests per month on average (or 12 per year). - 2 ARCs...

Full text and comments »

  • Vote: I like it
  • +492
  • Vote: I do not like it

188.
By hxu10, history, 4 years ago, In English
It's time to say goodbye, but not fairwell, to codeforces Hello everyone. I am a codeforcer for two and half years. I took part more than 130 contests, write hundreds of comments and blogs. Now it's time to say goodbye, but not fairwell, to contests. My English is not very good, but my words are sincere. As a Physics PhD new grad try to become a sofeware engineer, I took part in my first codeforces contest in 2020. My initial reason for the codeforces, is to practice algorithm, since I found it difficult to solve the hard tag problem in leetcode weekly contest, and a experience leetcoder told me: "if you want to solve harder problem in leetcode, try codeforces, and if you can solve 2400 rating problem in codeforces, leetcode problem is just piece of cake. " So I took part my first contest: educational codeforces 97. The results was very good, I solved four problems and get a ranking of 600+. However, my second contest is a disaster and give me huge lesson. I found it difficult even for reaching blue. I keep practicing, foc...

Full text and comments »

  • Vote: I like it
  • +440
  • Vote: I do not like it

189.
By adamant, history, 19 months ago, In English
OCPC 2025 Summer Hi everyone! <center><a href="https://ocpc.camp"><img src="https://ocpc.camp/images/ocpc_light.svg" height="100px"></a> <a href="https://icpc.foundation/"><img src="/predownloaded/43/08/43086529a28ccb5c9f2f2eec560ffa85e09c6881.svg" height="100px"></a></center> <center> <b>Supported by</b><br> <a href="https://www.janestreet.com/join-jane-street/open-roles/?type=students-and-new-grads&location=london"> <img src="/predownloaded/ee/f2/eef26616a3661c658d1545f18ed21fabb14d5871.svg" height="60px" style="margin: 10px 10px 10px 10px;"></a> <a href="https://pinely.com/"> <img src="/predownloaded/0a/0f/0a0f3f67435d1f6e467bc7203d4a2090ba8f92cc.svg" height="60px" style="margin: 10px 10px 10px 10px;"></a> </center> ... And a happy May day! We are very happy to announce that OCPC (formerly, the _Osijek Competitive Programming Camp_) is back this Summer, on **June 21-29, 2025**! While the dates are pretty tight, they appear to be the ones that are most suitable (among all the summ...
finalist or got top rank in this year Asia West Finals and have chances left for world finals then you

Full text and comments »

  • Vote: I like it
  • +222
  • Vote: I do not like it

190.
By hehezhou, history, 5 years ago, In English
Invitation to 4th Turing Cup Hey everyone, Here's an invitation for all programming lovers to participate in the 4th Turing Cup competition! The Turing Cup is an invitational competition that is organized by one of the most successful informatics competition teams in China, the XinYouDui, and X-Camp. Several top students of XinYouDui: [Chao Li](https://stats.ioinformatics.org/people/2672) (IOI 2012 Gold Medalist);[Yinzhan Xu](http://stats.ioinformatics.org/people/5059) (IOI 2014 Individual 1st place winner);[Ce Jin](https://stats.ioinformatics.org/people/5872) (IOI 2016 Individual 1st place winner): Top contestants such as IOI Gold medalists, and other top CPers joined the past contest as well. The 4th Turing Fun cup is open for registration, come and code with us! [Registration link](https://contest.xinyoudui.com/22a) (No Registration Fee) Novice Group: We'd recommend programmers who have completed learning the language and basic algorithms and who are in USACO silver division, are eligible ...
**A:** Click the link below to check the [rank list](https://ranklist.turingstar.com.cn/22a), you

Full text and comments »

Announcement of The 4th Turing Cup
  • Vote: I like it
  • +129
  • Vote: I do not like it

191.
By __baozii__, 16 months ago, In English
Codeforces Round 1042 (Div. 3) Hello Codeforces! We are glad to invite you to participate in [contest:2131], which will start on [contest_time:2131]. You will be given **2 hours and 15 minutes** to solve **8** problems. The problems are authored and prepared by [user:-firefly-,2025-08-07], [user:efishel,2025-08-07], [user:Tobo,2025-08-07], and [user:__baozii__,2025-08-07]. The round will be hosted by the rules of educational rounds (extended ICPC). Thus, all solutions will be judged on preliminary tests during the round, and after the round, there will be a 12-hour phase of **open hacks**. After the open hack phase, all accepted solutions will be rejudged on successful hacks. Also, note that there is no score distribution &mdash; rank will be determined by number of problems solved, followed by penalty; wrong submissions will incur the usual penalty of **10 minutes**, following the rules of educational rounds. [As a reminder](https://codeforces.me/blog/entry/59228), only trusted participants of the th...
successful hacks. Also, note that there is no score distribution — rank will be determined by number

Full text and comments »

  • Vote: I like it
  • +358
  • Vote: I do not like it

192.
By Arpa, history, 4 years ago, In English
Ten years of competitive programming 3 Hey Codeforces! I’m AmirReza PourAkhavan, the former Codeforces Contest Coordinator. I let the story become complete and I’m sharing it now. The story is about a 16-year competitive programmer, who left his family and migrated to another city alone to follow competitive programming. After seven years, he advanced to the International Collegiate Programming Contest World Finals, twice. Read the previous post [here](https://codeforces.me/blog/entry/108838). **Read the Persian version** [**here**](https://docs.google.com/document/d/e/2PACX-1vSUoFC9tLgDCji6rSCYy-RYoUG1_6uOQnHz_LlLKe6KksWBYWO4r6clDly5YxIgzu1g3Tj31weDxgWz/pub). What happened previously === I was a lone programmer, in a small city, trying to learn CP and prepare for the Iran national olympiad. It was not as successful as I expected. I tried to change my school and I migrated to Tehran, alone. I entered AE high school to learn from its inspiring teachers. 11th grade === First day of school. I got to ...

Full text and comments »

  • Vote: I like it
  • +179
  • Vote: I do not like it

193.
By Arpa, history, 16 months ago, In English
IOI vs CF performance: 2025 Edition <blockquote> Popular opinion: CF ratings are unrelated to your IOI results. CF contests differ significantly from IOI contests. </blockquote> &#10060; **False!** <blockquote> Unpopular opinion: A contestant's Codeforces rating is more predictive of their final IOI result than their score on Day 1 is of their score on Day 2. </blockquote> &#9989; **True!** A higher CF rating, with a gap of at least 50, correlates with an **84%** chance of achieving a better placement at IOI. The relationship between IOI placement and CF rating is strongly connected. The [Pierson Correlation Coefficient](https://en.wikipedia.org/wiki/Pearson_correlation_coefficient) for these two factors is **-0.813**. At the same time, the Pierson Correlation Coefficient between the scores of day 1 and day 2 of IOI is **0.804**. A side note for IOI participants: If you performed poorly on the first day, just think of it as a single bad Codeforces contest—you can always do better next time! You can lik...

Full text and comments »

  • Vote: I like it
  • +114
  • Vote: I do not like it

194.
By 300iq, 6 years ago, In English
Invitation to CodeChef October Long Challenge 2020 We invite you to participate in CodeChef’s [October Long Challenge](http://bit.ly/OCT20-Codeforces), this Friday, 2nd October, from [15:00 IST](https://www.timeanddate.com/worldclock/fixedtime.html?msg=October+Long+Challenge&iso=20201002T15&p1=44) onwards. The contest will be open for 10 days i.e. until 12th October. Also, if you have some original and engaging problem ideas, and you’re interested in them being used in CodeChef's contests, you can share them [here](https://www.codechef.com/problemsetting/new-ideas). Joining me on the problem setting panel are: - Setters: Ildar [user:300iq,2020-10-02] Gainullin, Aleksandr [user:MrDecomposition,2020-10-02] Abelyan, Ivan [user:isaf27,2020-10-02] Safonov, Chaithanya [user:Dragonado,2020-10-02] Shyam, John Smith, Md. Reyad [user:Fiction,2020-10-02] Hossain - Admin: Ildar [user:300iq,2020-10-02] Gainullin - Editorialist: Jelmer Firet, Srikkanth [user:srikkanthr,2020-10-02] - Tester: Radoslav [user:radoslav11,2020-10-02] Dimitrov ...
distribution of reward. For the Indian rank list, we'll distribute 5000 laddus amongst all the top

Full text and comments »

  • Vote: I like it
  • +131
  • Vote: I do not like it

195.
By maroonrk, history, 3 years ago, In English
AtCoder World Tour Finals 2022 Announcement (with Rated Mirrors) We will hold AtCoder World Tour Finals 2022. List of Finalists: <table border="1"> <tr align="center"><td>AtCoder ID</td><td>Codeforces ID</td><td>Advanced Years</td></tr> <tr align="center"><td>[tourist](https://atcoder.jp/users/tourist)</td><td>[user:tourist,2023-09-06]</td><td>2019,2020,2021,2022</td></tr> <tr align="center"><td>[ksun48](https://atcoder.jp/users/ksun48)</td><td>[user:ksun48,2023-09-06]</td><td>2019,2021,2022</td></tr> <tr align="center"><td>[Benq](https://atcoder.jp/users/Benq)</td><td>[user:Benq,2023-09-06]</td><td>2020,2021</td></tr> <tr align="center"><td>[Um_nik](https://atcoder.jp/users/Um_nik)</td><td>[user:Um_nik,2023-09-06]</td><td>2019,2020</td></tr> <tr align="center"><td>[apiad](https://atcoder.jp/users/apiad)</td><td>[user:amiya,2023-09-06]</td><td>2019,2021,2022</td></tr> <tr align="center"><td>[Stonefeang](https://atcoder.jp/users/Stonefeang)</td><td>[user:Radewoosh,2023-09-06]</td><td>2020</td></tr> <tr align="center"><td>[ecnerwala](https...

Full text and comments »

  • Vote: I like it
  • +235
  • Vote: I do not like it

196.
By awoo, history, 6 years ago, translation, In English
Educational Codeforces Round 103 [Rated for Div. 2] Hello Codeforces! On [contest_time:1476] [contest:1476] will start. Series of Educational Rounds continue being held as [Harbour.Space University](https://harbour.space/) initiative! You can read the details about the cooperation between [Harbour.Space University](https://harbour.space/) and Codeforces in the <a href="http://codeforces.me/blog/entry/51208">blog post</a>. This round will be **rated for the participants with rating lower than 2100**. It will be held on extended ICPC rules. The penalty for each incorrect submission until the submission with a full solution is 10 minutes. After the end of the contest you will have 12 hours to hack any solution you want. You will have access to copy any solution and test it locally. You will be given **6 or 7 problems** and **2 hours** to solve them. The problems were invented and prepared by Roman [user:Roms,2021-01-28] Glazov, Adilbek [user:adedalic,2021-01-28] Dalabaev, Vladimir [user:vovuh,2021-01-28] Petrov, Ivan [us...
Congratulations to the winners: Rank

Full text and comments »

  • Vote: I like it
  • +376
  • Vote: I do not like it

197.
By dario2994, history, 8 years ago, In English
Italian Olympiad in Informatics (OII) 2018 — Online Contest ![OII logo](/predownloaded/a3/94/a39431128a8625cc7a7d06ada6eb42207e9e7af1.png) For the third time, the Italian national contest (valid for the selection of the Italian IOI team) will be mirrored into an online contest. The contest is primarily intended for high school contestants, but everyone is welcome to participate! The contest timing will be USACO-like: it will be open for 24 hours but you will be able to compete for up to **5 hours** (you can decide when to "start" your time window, after the login). Participation will be available upon registration to the Italian trainings website (localized also in english). #### 1. The problem statements will be available in both **English** and **Italian**. #### 2. The time window will start on [2018 September 14th, 10:00 CEST](https://www.timeanddate.com/worldclock/fixedtime.html?msg=OII+2018+%E2%80%94+Campobasso&iso=20180914T10&p1=215) and will end on [2018 September 15th, 10:00 CEST](https://www.timeanddate.com/worldclock/fixed...

Full text and comments »

  • Vote: I like it
  • +107
  • Vote: I do not like it

198.
By darkshadows, 12 years ago, In English
CodeCraft'15 IIIT Hyderabad Editorial [problem:100589A] ------------------ Given a rooted tree(at node 1) of **N** nodes,you have to handle a total of **Q** operations of type: **1 U L X**: Increase coins by **X** of all nodes at a distance of **L** from root. **2 X**: Report sum of all coins in subtree rooted at **X**. **N** <= 10<sup>5</sup> **Q** <= 10<sup>4</sup> #### Difficulty: Medium-Hard ####Explanation: This approach uses a very specific technique of maintaining a buffer of update queries and updating the whole tree once buffer size exceeds a constant limit(we maintain this limit as sqrt(M)). ~~~~~ buffer=[] q=input while q--: query = input() if query==update: buffer.add(query) else: //say query is “2 X” //the answer that has been already calculated for node X prevans= ans(X) for i=0 to buffer.size(): //add to prevans the effect of buffer[i] //let’s say buffer[i]=”1 U L...
A=input rank[i] = rank of A[i] in sorted(A[i])

Full text and comments »

  • Vote: I like it
  • +81
  • Vote: I do not like it

199.
By Error_Yuan, 15 months ago, In English
Codeforces Round 1046 (Div. 1, Div. 2) Editorial <spoiler summary="Rate the Contest!"> - Amazing round: - Good round: - Average round: - Bad round: - Horrible round: </spoiler> [problem:2136A] Idea: [user:Alan_dong,2025-08-25] Preparation: [user:Register,2025-08-25] <spoiler summary="Hint"> If one team got a score of $x$ in the first half, what is the maximum score the other team could get? </spoiler> <spoiler summary="Solution"> We can consider the first half and the second half separately. The dream might come true if and only if the scores in both halves are possible. In the second half, the RiOI team scored $(c - a)$ goals, while the KDOI team scored $(d - b)$ goals. Suppose the RiOI team scored $x$ goals in some half. Denoting the score of the KDOI team as $y$, one can see that the maximal value of $y$ is $2\cdot x + 2$, under the goal order $\tt{\color{red}K\color{red}K\color{black}RK\color{red}K\color{black}R...RK\color{red}K\color...

Full text and comments »

  • Vote: I like it
  • +218
  • Vote: I do not like it

200.
By awoo, history, 7 years ago, translation, In English
Educational Codeforces Round 85 [Rated for Div. 2] Hello Codeforces! On [contest_time:1334] [contest:1334] will start. Series of Educational Rounds continue being held as [Harbour.Space University](https://harbour.space/) initiative! You can read the details about the cooperation between [Harbour.Space University](https://harbour.space/) and Codeforces in the <a href="http://codeforces.me/blog/entry/51208">blog post</a>. This round will be **rated for the participants with rating lower than 2100**. It will be held on extended ICPC rules. The penalty for each incorrect submission until the submission with a full solution is 10 minutes. After the end of the contest you will have 12 hours to hack any solution you want. You will have access to copy any solution and test it locally. You will be given **6 or 7 problems** and **2 hours** to solve them. The problems were invented and prepared by Roman [user:Roms,2020-04-09] Glazov, Adilbek [user:adedalic,2020-04-09] Dalabaev, Vladimir [user:vovuh,2020-04-09] Petrov, Ivan [us...
Congratulations to the winners: Rank

Full text and comments »

  • Vote: I like it
  • +361
  • Vote: I do not like it

201.
By awoo, 6 years ago, translation, In English
Educational Codeforces Round 97 [Rated for Div. 2] Hello Codeforces! On [contest_time:1437] [contest:1437] will start. Series of Educational Rounds continue being held as [Harbour.Space University](https://harbour.space/) initiative! You can read the details about the cooperation between [Harbour.Space University](https://harbour.space/) and Codeforces in the <a href="http://codeforces.me/blog/entry/51208">blog post</a>. This round will be **rated for the participants with rating lower than 2100**. It will be held on extended ICPC rules. The penalty for each incorrect submission until the submission with a full solution is 10 minutes. After the end of the contest you will have 12 hours to hack any solution you want. You will have access to copy any solution and test it locally. You will be given **6 or 7 problems** and **2 hours** to solve them. The problems were invented and prepared by Roman [user:Roms,2020-10-26] Glazov, Adilbek [user:adedalic,2020-10-26] Dalabaev, Vladimir [user:vovuh,2020-10-26] Petrov, Ivan [us...
Congratulations to the winners: Rank

Full text and comments »

  • Vote: I like it
  • +356
  • Vote: I do not like it

202.
By brunomont, 6 weeks ago, In English
tgen::miniblog(7): random simple polygons <center> <img src="/predownloaded/72/82/7282f22a0748c711b1964af0315893578b0d32d5.png" style="width: 350.0px;max-width: 100.0%;max-height: 100.0%;"> </center> <i>This is blog 7 of a series of blogs about algorithmic challenges I came across when creating [tgen](https://codeforces.me/blog/entry/154468).</i> In this blog we will tackle: 1. Given $n$ distinct points that are not all collinear, order them as the vertices of a random simple polygon, in $\mathcal O(n\log n)$ expected time. <center> <img src="/predownloaded/62/2d/622d80615310a2bf5fc005ab7924ff87d1f413d3.gif" alt="Animation of a simple polygon being built by recursively splitting the points" style="width: 560.0px;max-width: 100.0%;max-height: 100.0%;"> <br> <i>Building a simple polygon by recursively splitting the points.</i> </center> A polygon is **simple** if its boundary does not intersect itself. A random permutation of the points usually has many crossings, and repeatedly removing crossings by local ...

Full text and comments »

  • Vote: I like it
  • +90
  • Vote: I do not like it

203.
By Satoru, history, 3 years ago, In English
Codeforces blocking my account for a fake cheating accuse Requested to publish from [user:Basilhijaz,2023-10-09]: " Hello, I am [user:Basilhijaz,2023-10-09]. I participated in lots of Codeforces rounds and the last one I did was [contest:1879]. Unfortunately, I was trying to login to my account today and got the message "User is disabled by administrators". I checked my email and it looks like I was accused of cheating in that specific round. Apparently my Submission on Problem B [submission:224888371] is so close to [user:LetsPractice,2023-10-09]'s Submission [submission:224901176]. This problem we both got accused of copying from each other is B in an Educational round which means solutions can get actually really close and if you notice the solutions are so short which increases the probability of matching. Previous Accuses of Cheating Attempts (Problem, My Submission, Similar Submission/s)(problem classification): - ([problem:1462D], [submission:101301240], [submission:101299306]) (D div3). - ([problem:1670A], [submi...

Full text and comments »

  • Vote: I like it
  • +276
  • Vote: I do not like it

204.
By MathModel, history, 13 months ago, In English
Codeforces Round 1061 (Div. 2) Editorial ### Thank you for participating ! Special Thanks to [user:hxu10,2025-10-24] for giving me the chance to write the editorial and for [user:maomao90,2025-10-24] for enhancing the editorial !. Editorial of Problems E and F are written by hxu10, and the rest are written by me. I hope they're insightful and concise, please let me hear your opinion about it or any feedback in general &#128153;. #### [problem:2156A] <spoiler summary="Hints"> <spoiler summary="Hint 1"> Since $m_1 \le m_2$, the total number of slices Alice ate is always at least as much as the total number of slices Bob ate. What's optimal construction ? </spoiler> <spoiler summary="Hint 2"> We want to try to minimize the difference between the total number of slices Alice ate and the total number of slices Bob ate. </spoiler> <spoiler summary="Hint 3"> The optimal construction is to let both $m_1$ and $m_2$ to be equals to one. The sequence of operations, denoted by $(m_1, m...
To speed up the process, keep a pointer at the smallest alive index $i$ and check itsrank. If the

Full text and comments »

  • Vote: I like it
  • +159
  • Vote: I do not like it

205.
By awoo, history, 6 years ago, translation, In English
Educational Codeforces Round 101 [Rated for Div. 2] Hello Codeforces! On [contest_time:1469] [contest:1469] will start. Series of Educational Rounds continue being held as [Harbour.Space University](https://harbour.space/) initiative! You can read the details about the cooperation between [Harbour.Space University](https://harbour.space/) and Codeforces in the <a href="http://codeforces.me/blog/entry/51208">blog post</a>. This round will be **rated for the participants with rating lower than 2100**. It will be held on extended ICPC rules. The penalty for each incorrect submission until the submission with a full solution is 10 minutes. After the end of the contest you will have 12 hours to hack any solution you want. You will have access to copy any solution and test it locally. You will be given **6 or 7 problems** and **2 hours** to solve them. The problems were invented and prepared by Roman [user:Roms,2020-12-27] Glazov, Adilbek [user:adedalic,2020-12-27] Dalabaev, Vladimir [user:vovuh,2020-12-27] Petrov, Ivan [us...
Congratulations to the winners: Rank

Full text and comments »

  • Vote: I like it
  • +365
  • Vote: I do not like it

206.
By reirugan, 13 months ago, In English
Codeforces Round 1065 (Div. 3) <img src="https://c.tenor.com/G25fbL0QjmYAAAAd/tenor.gif" style="width: 400.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;"> Hello, Codeforces! ================== I am very excited to invite you to my second-ever contest, [contest:2171], which will start on [contest_time:2171]! In this contest, you will be given **2 hours and 30 minutes** to solve **7 problems, two of which have been split into subtasks**. The subtasks for a given problem are not necessarily placed adjacently in the problemset. The round will be hosted by the rules of educational rounds (extended ICPC). Thus, all solutions will be judged on preliminary tests during the round, and after the round, there will be a 12-hour phase of **open hacks**. After the open hack phase, all accepted solutions will be rejudged on successful hacks. Also, note that there is no score distribution &mdash; rank will be determined by number of problems solved, followed by penalty; wrong submissions...
successful hacks. Also, note that there is no score distribution — rank will be determined by number

Full text and comments »

  • Vote: I like it
  • +389
  • Vote: I do not like it

207.
By Ashishgup, 5 years ago, In English
Invitation to CodeChef August CookOff 2021 (with prizes!) We invite you to participate in CodeChef’s [August Cookoff](https://www.codechef.com/COOK132?utm_source=codeforces_blog&utm_medium=organic&utm_campaign=AugustCook), today &mdash; 22nd August, from [9:30 PM &mdash; 12:30AM IST](https://www.timeanddate.com/worldclock/fixedtime.html?msg=August+Cook-off+2021&iso=20210822T2130&p1=44&ah=3). The contest will be **3 hours long**. There will be **7 problems** in Div 1/2 and **8 problems** in Div 3. The contest will be rated for all three Divisions. The July Cook-Off also marks the launch of our new prize structure for global & Indian participants. More details are given below. Joining us on the problem setting panel are: - Contest Admins: Ashish [user:ashishgup,2020-12-19] Gupta. - Head Admin: Alex [user:Um_nik,2021-06-26] Danilyuk - Tester: Shubham [user:TheOneYouWant,2021-08-22] Jain - Setters: Soumyadeep [user:palsoumyadeep,2021-08-22] Pal, Aryan Agarwala, Deepak [user:Deepak_23,2021-08-22] Barnwal, Vishesh [user:vishes...
**Global Rank List:**, **Indian Rank List:**

Full text and comments »

  • Vote: I like it
  • +77
  • Vote: I do not like it

208.
By waipoli, history, 2 years ago, In English
Eolymp Cup #2 ![ ](https://eolympusercontent.com/images/ak1nas6ed565j4mo28t7od66q0?width=1920) Eolymp Cup #2 ============= We are very excited to announce [the second round of Eolymp Cup](https://basecamp.eolymp.com/en/contests/ptmnufrm6p6nl7gods1loo65go) on **6th of October at 15.00 UTC**! Take up a challenge to get a chance to win a trophy, medals, prizes, and scholarships at [Harbour.Space University](https://harbour.space/). **Eolymp Cup** is a programming competition for students. The competition consists of 4 rounds, held throughout the year. Each round features 6 problems, each designed to challenge participants' knowledge of algorithms, data structures and programming. The competition is open to everyone, but prizes will only be awarded to participants who are born after January 1, 2002. All other participants will compete unofficially. ### Registration You can register on the [contest page](https://basecamp.eolymp.com/en/contests/ptmnufrm6p6nl7gods1loo65go), just click "Joi...

Full text and comments »

  • Vote: I like it
  • +159
  • Vote: I do not like it

209.
By brunomont, history, 3 days ago, In English
[Algorithm note] You can stably split implicit BSTs by value Hello, Codeforces! A few years ago I asked [here](https://codeforces.me/blog/entry/111450) whether a stable partition by value on a treap could be better than linear amortized. For integer values in $[0,U)$, I guessed that the algorithm would cut between adjacent elements only $\mathcal O(\log U)$ times per operation on average. That would give $\mathcal O(\log U\log n)$ expected amortized time, but I couldn't prove the bound on the number of cuts. It turns out we can prove $\mathcal O(\sqrt n\log n)$ expected amortized time per operation. Here is a precise version of the problem. Maintain a collection of sequences containing $n$ elements in total, with every sequence represented by a regular implicit treap. We want to support the following operations: 1. Split by index: first $k$ elements / remaining suffix; 2. Concatenate two sequences; 3. Reverse an entire sequence; 4. Set the value at a given index; 5. Query the sum over an index range; 6. **Stable partition by value...
![The nine moves on the rank line, with an orange dot wherever a move crosses the cut afterrank 5

Full text and comments »

  • Vote: I like it
  • +67
  • Vote: I do not like it

210.
By Kaey, history, 13 months ago, In English
IIOT — Open Contests 2025/26 For the eighth time, the _International Informatics Olympiads in Teams_ will be mirrored into online contests. These contests, of a **lower** difficulty level than those of the IOI, are intended for teams of 4 contestants from the same high school. However, everyone is welcome to participate to the mirror contests, especially if you are considering to join officially the IIOT in the future! Just like last year, a second division of IIOT, called the debutant division, is also present. Contests of the debutant division feature easier problems and are recommended for the more inexperienced teams. ![ ](/predownloaded/8a/18/8a18d24abc5d0189622aad719422be2a4df2918a.png) More specifically, we allow: - several teams from the same school (also in the official contest) - teams participating only in some contests (also in the official contest) - smaller teams (also in the official contest) and larger teams - teams of students from different schools and non-students - changes in tea...

Full text and comments »

  • Vote: I like it
  • +51
  • Vote: I do not like it

211.
By awoo, history, 5 years ago, translation, In English
Educational Codeforces Round 110 [Rated for Div. 2] Hello Codeforces! On [contest_time:1535] [contest:1535] will start. Series of Educational Rounds continue being held as [Harbour.Space University](https://harbour.space/) initiative! You can read the details about the cooperation between [Harbour.Space University](https://harbour.space/) and Codeforces in the <a href="http://codeforces.me/blog/entry/51208">blog post</a>. This round will be **rated for the participants with rating lower than 2100**. It will be held on extended ICPC rules. The penalty for each incorrect submission until the submission with a full solution is 10 minutes. After the end of the contest you will have 12 hours to hack any solution you want. You will have access to copy any solution and test it locally. You will be given **6 or 7 problems** and **2 hours** to solve them. The problems were invented and prepared by Roman [user:Roms,2021-06-03] Glazov, Adilbek [user:adedalic,2021-06-03] Dalabaev, Vladimir [user:vovuh,2021-06-03] Petrov, Ivan [us...
Congratulations to the winners: Rank

Full text and comments »

  • Vote: I like it
  • +350
  • Vote: I do not like it

212.
By Sanae, history, 16 months ago, In English
Set algorithm(rev.2) # Set algorithm Part I Sometimes we may meet with some functions $S\rightarrow V$(S is a set,V is a value),and we need to handle some transformations on it. The article is for beginners whick is much easy, and I may continously update the article. There are some features. First the problem always give small $n$,such as $n\leq 15,n\leq20$. Second,the time complexity is always $O(n2^n),O(3^n),O(n^22^n)$. Let's do some assumption: The values form a ring and they contain ring operations like addition,substraction,multification or division in constant time. ## FWT/FMT The most classical one is FWT/FMT. ### Problem Define $a(S),b(S)(S\subseteq U)$ on a set. Get all $c(S)=\sum\limits_{i \oplus j=S}a_ib_j\qquad \oplus \text{is} \ \textrm{and,or,xor}$ The general idea: Let $a, b, c$ be maps (functions) from a set $S$ to a value domain $V=(N/Q/C\cdots)$. We define a transformation $\text{FWT}$ (Fast Walsh Transform) as a map from the space of such functi...

Full text and comments »

  • Vote: I like it
  • +105
  • Vote: I do not like it

213.
By hxu10, history, 5 years ago, In English
So many "Fake" newbies in the contest The codeforces round #765 is over, among the top 10 rated users, 5 are newbies, 2 are specialist. Ranking are as below. ![rankings](https://user-images.githubusercontent.com/26615314/149216471-b6890ffd-2045-45fb-8157-4493bf296621.png) If you click on these newbie users, like the 3rd place @Alan_boyfriend, you can see the user previously take part in round 764 and rank 1st. The 8th place, @Asaoix, participated in round 763 and get 6th. And so on.... These newbies, I called, are **fake newbies.** Because they are not newbie level, they are far more than that. Some of the newbie users are even red level, they have low rating only because they are new users and only take a few contest, and the rating cannot accurately measure their level. Besides, you will not get your performance rating in the contest, if you get rank 1, your new rating will not be rank 1 rating, you new rank will based on your previous rating and this contest performance. If you have 1400 ratin...
Besides, you will not get your performance rating in the contest, if you get rank 1, your new

Full text and comments »

  • Vote: I like it
  • +174
  • Vote: I do not like it

214.
By adamant, history, 5 years ago, In English
Associativity and general identity testing Hi everyone! Five days have passed since my [previous post](https://codeforces.me/blog/entry/91610) which was generally well received, so I'll continue doing posts like this for time being. Abstract algebra is among my favorite subjects. One particular thing I find impressive is the associativity of binary operations. One of [harder problems](https://codeforces.me/gym/102129/problem/B) from my contests revolves around this property as you need to construct an operation with a given number of non-associative triples. This time I want to talk about how one can check this property for both groups and arbitrary magmas. First part of my post is about Light's associativity test and how it can be used to deterministically check whether an operation defines a group in $O(n^2 \log n)$. Second part of the post is about Rajagopalan and Schulman probabilistic identity testing which allows to test associativity in $O(n^2 \log n \log \delta^{-1})$ where $\delta$ is error tolerance. Finall...
+1}}$ be a rank $k+1$ non-zero tensor. Then

Full text and comments »

  • Vote: I like it
  • +158
  • Vote: I do not like it

215.
By spycoderyt, 11 months ago, In English
Codeforces Round 1071 (Div. 3) Hello, Codeforces! ================== [user:iceborworntat,2025-12-19], [user:nortglg,2025-12-19], [user:omsincoconut,2025-12-19], and I are excited to invite everyone to [contest:2179], which will take place on [contest_time:2179]. You will be offered **8 problems**, and you will be given **2 hours and 30 minutes** to solve them. Please note that this contest contains **at least one interactive problem** and **at least one run-twice problem**. Please read the guides for [interactive problems](https://codeforces.me/blog/entry/45307) and [run-twice problems](https://codeforces.me/blog/entry/147996) before the contest if you are unfamiliar with them. The round will be hosted by the rules of educational rounds (extended ICPC). Thus, all solutions will be judged on preliminary tests during the round, and after the round, there will be a 12-hour phase of **open hacks**. After the open hack phase, all accepted solutions will be rejudged on successful hacks. Also, note that there i...
successful hacks. Also, note that there is no score distribution—rank will be determined by number of

Full text and comments »

  • Vote: I like it
  • +453
  • Vote: I do not like it

216.
By Ashishgup, 5 years ago, In English
India ICPC — Amritapuri 2020 Preliminary Round Hi Codeforces, **ICPC Amritapuri 2020 Preliminary Round** will be held on [Codedrills](https://codedrills.io/contests/icpc-amritapuri-2020-preliminary-round) today. ![ ](https://storage.googleapis.com/cdcontent/images/Amrita%20Banner.png) **Contest Details** * Contest Link — [ICPC Amritapuri 2020 Preliminary Round](https://codedrills.io/contests/icpc-amritapuri-2020-preliminary-round) * Date & Time — [7 August 2021, Saturday, 18:00 IST](https://www.timeanddate.com/worldclock/fixedtime.html?msg=Amritapuri+Online+Round&iso=20210807T18&p1=438&ah=2&am=30) * Duration — **2.5 Hours** * There will be **6** problems to solve * Will follow standard ICPC scoring system (20 minutes penalty and 1 point per problem) * The questions may not be sorted by difficulty **Selection Criteria** * 700 slots are available for the regional (out of ~4400 teams registered for online round) * Top team from each institution is selected first, to compete in the regional round * Rest of the...
are filled in the rank order

Full text and comments »

  • Vote: I like it
  • +214
  • Vote: I do not like it

217.
By dreamoon_love_AA, history, 7 years ago, In English
Codeforces Round #631 Editorial [tutorial:1330A] <spoiler summary="author's code:"> ~~~~~ #include<cstdio> const int MAX_V = 201; bool achieve[MAX_V]; void solve() { int n, x; scanf("%d%d", &n, &x); for(int i = 1; i <= n + x; i++) { achieve[i] = false; } for(int i = 1; i <= n; i++) { int ranking; scanf("%d", &ranking); achieve[ranking] = true; } for(int k = n + x; k > 0; k--) { int v = 0; for(int i = 1; i <= k; i++) { if(!achieve[i]) v++; } if(v <= x) { printf("%d\n", k); return; } } } int main() { int T; scanf("%d", &T); while(T--) solve(); return 0; } ~~~~~ </spoiler> [tutorial:1330B] <spoiler summary="author's code"> ~~~~~ #include<cstdio> const int SIZE = 200000; int p[SIZE]; int ans[SIZE][2]; int ans_cnt; bool judge(int a[], int n){ static int used[SIZE+1]; for(int i = 1; i <= n; i++) used[i] = 0...

Full text and comments »

  • Vote: I like it
  • +116
  • Vote: I do not like it

218.
By waipoli, history, 2 years ago, In English
Eolymp Cup #1 ![ ](https://eolympusercontent.com/images/ak1nas6ed565j4mo28t7od66q0?width=1920) Eolymp Cup #1 ============= We are very excited to announce our new competition! Join us at [Eolymp Cup](https://basecamp.eolymp.com/en/contests/mufmafu7a932v5ofm9i93q65sc), a programming competition for students from everywhere! Take up a challenge to get a chance to win a trophy, medals, prizes, and scholarships at [Harbour.Space University](https://harbour.space/). **Eolymp Cup** is a programming competition for students. The competition consists of 4 rounds, held throughout the year. Each round features 6 problems, each designed to challenge participants' knowledge of algorithms, data structures and programming. The competition is open to everyone and will be held on [Saturday, July 6, 2024 at 17:00 UTC+2](https://www.timeanddate.com/worldclock/fixedtime.html?msg=Eolymp+Cup%231+Round+1&iso=20240706T18&p1=367&ah=3). Still, prizes will only be awarded to participants who are currently enro...

Full text and comments »

  • Vote: I like it
  • +150
  • Vote: I do not like it

219.
By AmirrzwM, 4 years ago, In English
Codeforces Global Round 23 Hello Codeforces! On [contest_time:1746] we will host [contest:1746]. **<img src="/predownloaded/2e/e2/2ee2f0f95f05aae6ca6f47812dae2dc2aabf277b.png" style="width: 200.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;">** It is the fifth round of a 2022 series of [Codeforces Global Rounds](https://codeforces.me/blog/entry/65002). The rounds are open and rated for everybody. The prizes for this round: - 30 best participants get a t-shirt. - 20 t-shirts are randomly distributed among those with ranks between 31 and 500, inclusive. The prizes for the 6-round series in 2022: - In each round top-100 participants get points according to the [table](https://pastebin.com/QT5sXEaT). - The final result for each participant is equal to the sum of points he gets in the four rounds he placed the highest. - The best 20 participants over all series get sweatshirts and place certificates. Thanks to XTX, which in 2022 supported the global rounds ...

Full text and comments »

Announcement of Codeforces Global Round 23
  • Vote: I like it
  • +269
  • Vote: I do not like it

220.
By cfalas, 4 months ago, In English
Some IOI 2026 Statistics Hey everyone, IOI2026 is over! Congratulations to everyone who participated for their hard efforts. While all the contestants were struggling to solve the problems, I had some free time so I looked into some stats. Some notes before we get into things: - It is entirely possible that some of these are wrong/incomplete/misleading. I only made these to satisfy my own curiosity, and they are not an authoritative source - I expect this to be particularly true for medal cutoffs, where I have not accounted for unofficial contestants Thanks to all the organizers for making IOI2026 a great event! [cut] I try to break them down by category so that this blog doesn’t get too long: IOI vs Codeforces ------------------ This has been well researched before, ([here](https://codeforces.me/blog/entry/145502), [here](https://codeforces.me/blog/entry/134654), [here](https://codeforces.me/blog/entry/68981), [here](https://codeforces.me/blog/entry/57700), and [here](https://codefor...

Full text and comments »

  • Vote: I like it
  • +283
  • Vote: I do not like it

221.
By KAN, 10 years ago, translation, In English
VK Cup 2017 — Wild-card раунд 1 Hi all! Tomorrow, on [April 5th 2017, at 15:35 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=VK+Cup+Wild-card+Round+1&iso=20170405T1835&p1=166&ah=2) the first Wild-card Round of VK Cup 2017 will be held. Along with it there will be parallel unofficial round in which everyone can take part. The rounds will use **special rules, the rounds will be unrated.** The problems were prepared by Codeforces team. The detailed rules will be added to this post 30 minutes before the rounds. I can say now that there will be 24-hours open hacks phase after the round, like in Codeforces Educational Rounds. **Round rules:** The round will be almost usual contest with ACM ICPC rules. There will be 12 problems for 2 hours. During the round your solutions will be tested on some basic tests, they should be much stronger than usual pretests. After the round you will have 24 hours to find tests against other participants’ solutions, this part is the same as in Educational round...

Full text and comments »

  • Vote: I like it
  • +177
  • Vote: I do not like it

222.
By Z0RR0, history, 8 years ago, In English
Codeforces Popularity Ranking Hello Codeforces! There has been several blogs similar to this. I know about [TOP 15 most popular users on codeforces](http://codeforces.me/blog/entry/49122) and [Who is the most popular?](http://codeforces.me/blog/entry/21041). But as none of these are updated, I thought this might be helpful. I have just calculated the most popular handles in Codeforces. I only considered those handles which have at least one rated contest. Begging my pardon to them who hasn't participated in any rated round. And here, the popularity depends simply on the number of people you are friend of. The complete standings can be found [here](https://docs.google.com/spreadsheets/d/1ADlF-bd6pBYCap75yzf-pUnVwI9f9YmPkiYNW3lD-xo/edit?usp=sharing)(This may took a while to load at the bottom). Anyway here is Top 200 handles. | Rank | Handle | Follower | |---|---|---| 1. | [user:tourist,2018-08-22] | 14082 | 2. | [user:Petr,2018-08-22] | 6430 | 3. | [user:OO0OOO00O0OOO0O00OOO0OO,2018-08-22] | 420...
| Rank | Handle | Follower | |---|---|---| 1. | [user:tourist,2018-08-22] | 14082 | 2

Full text and comments »

  • Vote: I like it
  • +169
  • Vote: I do not like it

223.
By literalchild, history, 6 months ago, In English
Unofficial Editorial for SEATST 2026 # Introduction On 23 and 24 May, 7 countries participated in the **S**outh **E**ast **A**sia **T**eam **S**election **T**est. As the only contestant who AKed both days, I decided to write an editorial for the bugaboos. (The bugaboos are [here](https://tlx.toki.id/bugaboos/seatst-2026).) # 1A (Two Exams) <spoiler summary="Solution"> My solution was the same as [user:blackscreen1,2026-05-27]'s [solution](https://codeforces.me/blog/entry/154034), but I found it in a different way. First, I tried binary searching on the answer, so it reduces to checking if $P[i] - i \leq K$. Rather than setting $P^{-1}[0], P^{-1}[1], \cdots$, giving each index $i$ a deadline of $i + K$, I decided to use the reverse order; first set $P^{-1}[N-1]$, then $P^{-1}[N-2]$, and so on. This means that each index $i$ is only "usable" from "time" $i+K$ onwards. Then, $P^{-1}[i]$ must be the remaining student with highest $A$ or highest $B$. Now, the key observation is that the only way we can "die...

Full text and comments »

  • Vote: I like it
  • +59
  • Vote: I do not like it

224.
By EbTech, 7 years ago, In English
How to Interpret Contest Ratings **UPDATE: the [new rating system paper](https://arxiv.org/abs/2101.00400) will appear in the Web Conference 2021!** If you're new to competitive programming, you may be wondering: what are ratings and colors? What do they mean? As a contestant and now coach of the UBC team, I've taken enough interest in the subject to have developed my own rating system, Elo-MMR, which I might describe in a future blog post. For now, I want to talk about ratings more generally: what does it mean to achieve a certain rating or title? How concerned should you be with your rating and title? Might it be harmful to be concerned with them at all? A Brief History of Contest Ratings -------------------------------------- Contest rating systems can trace their heritage back to the [Elo system](https://en.wikipedia.org/wiki/Elo_rating_system). Elo was devised for 2-player games, with rating updates based on whether a player wins, loses or draws. Starting in 1960, it was adopted by the chess community ...

Full text and comments »

  • Vote: I like it
  • +236
  • Vote: I do not like it