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.

Timer

Last visit:  22 months ago
Registered:  15 years ago
2.
By MikeMirzayanov, 3 years ago, In English
Please, read this Hello, Codeforces. Friends. I apologize, but today I will be a bit chaotic and mix personal with public. It just happened that way, I'm sorry. Today, my mother passed away. It's hard for me to write this. Even just seeing it in text makes it feel like something from a nightmare. She was extraordinary. It's difficult for me to articulate it right now, but take my word for it. It felt like all the best qualities one could imagine in a mother converged in her. I don't know any other people so kind, sincere, non-judgmental, capable of love, listening, befriending, supporting, and taking joy in the world around them, and bringing joy to their loved ones. Mom, it's already hard without you, it feels empty. She had glioblastoma. It's an aggressive brain cancer that affects only a few people out of 100,000. I believe, I hope, that science will soon be able to tackle this disease. But for now, this diagnosis is a death sentence. Maybe some of you are or will be associated with medic...
Give me some time, and I will likely hide the most contentious posts on these topics. Please

Full text and comments »

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

3.
By rng_58, history, 6 years ago, In English
Retiring from competitive competitive programming Recently, I feel I've passed my peak as a competitive programmer, and ran out of sufficient energy/motivation to keep the top form and be prepared to win the next contest. I think I've done everything I can do as a competitive programmer, and now it's time to end my career as a professional (mind) sport player. It was a great experience. I'd like to thank everyone involved in the community, especially: - Competitors. It was always nice to compete against you all! - Problem writers who gave great problems to the community. I started my career as a competitive math-puzzle solver in 1999. The first contest was a local one named "junior sansu (arithmetic) olympiad". Since then, I enjoyed this sport a lot for 21 years. In 2007, I started TopCoder, and it changed my life. The problems were great, and every single match of SRM felt like a once-in-a-life event. A lot of legends were competing there — [user:Petr,2020-12-31], [user:tomek,2020-12-31], [user:ACRush,2020-12...
everything I can do as a competitive programmer, and now it's time to end my career as a professional (mind

Full text and comments »

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

4.
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...
4000 rating points. This is the first time in the history of competitive programming. I, personally, milestone of 4000 rating points. This is the first time in the history of competitive programming. I

Full text and comments »

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

5.
By YouKn0wWho, 5 years ago, In English
Codeforces Round #752 #### UPD: (28 April, 2022) <spoiler summary="Donated Finally"> Details: [here](https://codeforces.me/blog/entry/96333?#comment-907470) </spoiler> আবার চলে এসেছি! (That's Bengali for "I am back! (in Terminator mode)") I am super excited to invite you to participate in [contest:1603] and [contest:1604] which will be held on [contest_time:1604]. This round is rated for both divisions. You will be given $6$ problems in each division and $2$ hours to solve them. All the problems are authored and prepared by me. I would like to thank - - [user:antontrygubO_o,2021-10-26] for his breathtaking(<strike>literally</strike>) coordination of the round. <i style="color:White;"> no funny text this time</i> - [user:Alpha_Q,2021-10-26], [user:Anachor,2021-10-26] and [user:antontrygubO_o,2021-10-26] for putting up with my dumb ranting and helping with the problems. - [user:Um_nik,2021-10-26], [user:gamegame,2021-10-26], [user:kefaa2,2021-10-26], [user:dorijanlendvaj,2021-10-26], [u...
funny text this time - [user:Alpha_Q,2021-10-26], [user:Anachor,2021-10-26] and, the round. no funny text this time - [user:Alpha_Q,2021-10-26, **Solve problems and help the poor!** Yes, you heard it right, this time you can help the world by

Full text and comments »

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

6.
By Rhodoks, history, 4 years ago, In English
Codeforces Round #810 Editorial Sorry for the late editorial. May this editorial help you. If you have questions, feel free to ask. [problem:1711A] <spoiler summary="hint1."> The minimal weight is at least $1$ since $1$ divides any integer (so $1$ divides $p_1$). </spoiler> <spoiler summary="solution"> Since $k+1$ does not divide $k$, a permutation with weight equal to $1$ is: $[n,1,2,\cdots,n-1]$. </spoiler> <spoiler summary="code"> ~~~~~ #include <bits/stdc++.h> using namespace std; void work() { int n; cin>>n; cout<<n<<' '; for (int i=1;i<n;i++) cout<<i<<' '; cout<<endl; } int main() { int casenum=1; cin>>casenum; for (int testcase=1;testcase<=casenum;testcase++) work(); return 0; } ~~~~~ </spoiler> [problem:1711B] <spoiler summary="hint1."> See the party as a graph. </spoiler> <spoiler summary="hint2."> Divide the vertices into two categories according to their degrees' parity. </spoiler> <spoiler summary="solution"> Let's consider ...
Consider the same bit of three integers at the same time. , )$ time., Time complexity is $O(2^9 |n|)$ where $|n|$ is the length of input. , Total time complexity: $O(n)$. , Total time complexity: $O(n+m)$. , Total time complexity: $O(n\log n)$. , Total time complexity: $O(n^2)$.

Full text and comments »

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

7.
By dario2994, history, 4 years ago, In English
About div1E (round #810) I am the coordinator of Round #810. I will be brief and clear. The div1E problem was copied by one of the two authors, it was not a coincidence. For this reason, the **div1 part of the round is unrated**. Div2 stays rated. Sometimes known problems appear in a contest, it happened to me as an author and to any problem setter who has organized many contests. This is never a reason to make a round unrated. Today something different happened, the problem was deliberately copied and the author did not tell anything to anybody (not even to the other author). Codeforces (and me personally) condemns this behavior. A final personal remark: I feel sad. Please future authors: do not copy problems. It's a waste of everyone's time.
everyone's time.

Full text and comments »

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

8.
By MikeMirzayanov, 8 years ago, In English
Codeforces: Our Steps After DDOS Attack Hello. As I wrote into a comment, last round we are faced with a strong DDOS-attack which ruined the competition. I don't know who did it, I also don't know reasons to do it. I'm very upset about the situation and ready to make an effort to be prepared for such issues. I spend a lot of time to be ready for such incidents. Here are steps you need to do to be ready for unexpected failures: * Join our telegram channel by the link https://t.me/codeforces_official to read urgent news. * Be sure that you know the password of your Codeforces account. If you don't remember it, just use <a href="https://codeforces.me/passwordRecovery">the password recovery feature</a>. Please, do it right now. * I've implemented a minimalistic website for replacing the main site in case of emergencies. Now you can only read problems, view your submissions (without any details), submit codes. Probably, later I'll add some more features, but anyway, the minimalistic version will have only vital fea...
the situation and ready to make an effort to be prepared for such issues. I spend a lot oftime, I spend a lot of time to be ready for such incidents.

Full text and comments »

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

9.
By tourist, history, 9 years ago, translation, In English
Hello 2018 Hello 2018! If you're still thinking what to do on the eighth day of year 2018, pay attention! The first round for both divisions of the new year starts on January 8 at 17:35 Moscow time ([what about other timezones?](https://www.timeanddate.com/worldclock/fixedtime.html?msg=Hello+2018&iso=20180108T1735&p1=3396&ah=2&am=30)). Four important components of Hello 2018 will be the same as in Good Bye 2017: - Div1 + Div2 combined - 8 problems - 2 hours 30 minutes - Rated But there will also be a substantial difference: - Different problems The problems of this round have been proposed and prepared by [user:YakutovDmitriy,2018-01-06], [user:BudAlNik,2018-01-06] and myself. Thanks to everyone without whom this round wouldn't be possible as well: [user:AlexFetisov,2018-01-06], [user:Golovanov399,2018-01-08], [user:KAN,2018-01-06], [user:MikeMirzayanov,2018-01-06], [user:PavelKunyavskiy,2018-01-06], [user:qwerty787788,2018-01-06], [user:VArtem,2018-01-07], [user:winger,20...
for both divisions of the new year starts on January 8 at 17:35 Moscow time ([what about other, ! The first round for both divisions of the new year starts on January 8 at 17:35 Moscowtime ([what

Full text and comments »

Announcement of Hello 2018
  • Vote: I like it
  • +2848
  • Vote: I do not like it

10.
By MikeMirzayanov, 8 years ago, translation, In English
Codeforces: Problem Difficulties Hi Codeforces! Meet a small innovation on Codeforces &mdash; difficulties of problems (and at the same time a new widget filtering problems in the archive). For all the problems of the archive, I’ve calculated the difficulties in the scale of the rating of participants. Approximately this means that if the rating of the problem is equal to yours, then on a typical round you would solve the problem with a probability of 0.5. And, in general, if your rating is $r_i$, and the problem rating is $r_j$, then the problem during the round can be solved approximately with probability: $$P_{i,j}=\frac{1}{1+10^{\frac{r_j-r_i}{400}}}.$$ For example, if the rating of a problem is less than yours by 200, then the expected probability of solving the problem is 0.75. With a difference of 400 rating points, the probability increases to 0.9. For convenient search of problems in the archive, you can now use a special widget: <center><img src = "/predownloaded/1c/fb/1cfba40476423720c79f0f...
the same time a new widget filtering problems in the archive). For all the problems of the archive, Meet a small innovation on Codeforces — difficulties of problems (and at the sametime a new

Full text and comments »

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

11.
By MikeMirzayanov, 3 months ago, In English
Telegram Returns as Title Sponsor of Codeforces! <img width="200px" src="https://assets.codeforces.com/images/telegram-logo.svg" style="width:200px;max-width:200px;float:right; margin: 0 1em 1em 1em"/> Hi, Codeforces! I have some great news. But maybe you've already noticed? Seen the updated logo? I'm glad to announce that Telegram is back as our title sponsor. I'm happy, and not just because this means we can keep developing and maintaining the system and (most importantly) running rounds for a long time to come. But there's something else, too. It was Pavel Durov who, way back in 2010, spent several hours asking questions and trying to understand what I had in mind. Then he put his faith in our community — and Codeforces received support for the very first time. That support helped us for many years. So this means a lot to me personally, and I'm proud that now, more than 16 years after that first conversation, that support is coming back. This helps with every round we run and gives us a chance to do new things, too....
a long time to come., maintaining the system and (most importantly) running rounds for a long time to come. But there's, — and Codeforces received support for the very first time. That support helped us for many years. So

Full text and comments »

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

12.
By MikeMirzayanov, 7 years ago, In English
Codeforces Round #639: the round is rescheduled Hello, Codeforces! Unfortunately, I report that I decided to reschedule this round. I'm afraid that something might go wrong. Some strange database behavior has appeared, which leads to slow operation in completely unexpected places (it never was and should not be). I will work hard to fix it. My recent tests show that this can dramatically increase judging time (and leads to a huge queue). I don't want to risk the efforts of the writer, the coordinator, testers, and your time. Sorry about it, I was trying to fix it for many hours but I need more time. Hope it will be a great round! Mike. **UPD 1:** I temporarily rescheduled it on May, 6. But I'll discuss the date with the writer and coordinator and reschedule it again to the date they want. **UPD 2:** [user:Monogon,2020-05-04] approved that [contest_time:1345] is good new date and time for the round. See you in 3 days! **UPD 3:** It seems I've fixed the issue. It turned that it was connected with [week ago incident](htt...
that this can dramatically increase judging time (and leads to a huge queue). I don't want to risk the, **UPD 2:** [user:Monogon,2020-05-04] approved that [contest_time:1345] is good new date andtime, . My recent tests show that this can dramatically increase judging time (and leads to a huge queue). I, ](https://codeforces.me/blog/entry/76506#comment-610528). Now it is 4 AM and time to sleep.

Full text and comments »

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

13.
By MikeMirzayanov, 3 weeks ago, In English
Codeforces Round 1134 (Div. 4) Hello Codeforces! I am glad to invite you to [contest:2290], which will take place on [contest_time:2290]. After quite a long break, I have taken up problem setting again — this time working together with AI agents. For me, this is an experiment in getting back into problem writing, and we will see together how successful AI turns out to be as a partner in this work. I am looking forward to seeing both Div. 4 participants competing officially and everyone else joining out of competition! <div style="height:1em;"></div> <spoiler summary="Why I decided to author this round (a bit of lyrics and rambling)"> Yes, I am dictating these words into my phone right now, to put them into shape for you a bit later. We live in an amazing time when so many things are changing. I have been programming for more than 25 years now, and throughout almost all of this time I wrote code every day and solved problems every day. At first, these were mostly programming contest problems — ...
[contest_time:2290]. After quite a long break, I have taken up problem setting again — thistime working, did get postponed). How time flies... Happy birthday, my darling! , is the right time to try preparing another round for you, for the community. And along the way, to, one fifth of the time limit (TL/5) on every test, we trust that its verdict can be used, and such, quite a long break, I have taken up problem setting again — this time working together with AI agents, Recently, for the first time in a long while, I suddenly tried solving a few problems again. And, We live in an amazing time when so many things are changing. I have been programming for more than, Well, all of that is just lyrics. At the same time, I feel that it would be sad to lose the skills

Full text and comments »

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

14.
By KAN, 11 months ago, In English
Rounding 2025 Hi Codeforces! 2025 comes to an end. However square the year was, we held a number of rounds: 29 Div. 1 and 31 Div. 2-only contests, to be precise! Additionally, 18 Div. 3, 4 Div. 4, and 13 Educational rounds made the schedule even more congested. <img src="/predownloaded/c8/54/c854d6a423b830263449cca6ff841c8e4e02e024.png" style="width:1400px; float:center; margin: 1em 1em 1em 1em"/> December is not only the <strike>perfect</strike> [only](/blog/entry/149140?#comment-1332941) time to wrap the year, but also to celebrate and thank all the people who made this year possible. That's why I want to highlight with this post the people whose efforts shaped Codeforces contests. I'd like to say a huge thank you to every active community member who created and/or prepared problems for Codeforces rounds! Without your ideas and creativity, it would be impossible to hold so fun and interesting competitions. There are so many of you from every corner of the world, so that it's impossible...
before the time, spotted some mistakes, and gave very useful advice to the problem authors. Again it's, quality and come on time. Here they are: [user:Error_Yuan,2025-12-31], [user:maomao90,2025-12-31, "/> December is not only the perfect [only](/blog/entry/149140?#comment-1332941) time to, December is not only the perfect [only](/blog/entry/149140?#comment-1332941) time

Full text and comments »

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

15.
By MikeMirzayanov, 6 years ago, In English
Codeforces EDU: β-testing (Now in English!) <img src="/predownloaded/47/86/4786c2ec901c0b5b490794ca6fd5145f0dcdeae3.png" style="float:right; width: 400px; margin: 0 1em 1em 1em"/> Hello Codeforces! In February, in the Russian-language interface, we announced a new educational subsection of the website. It's time to go international! I am pleased to invite you to test the new section, which so far has the working title EDU. I hope that someday EDU will become a real educational hub for fans of programming competitions. It will be great to have in one place the collected educational content with text and video materials, with selected thematic problems. At the moment, its functionality is still under development, and here is the current progress and <i>β</i>-testing preview. Write your comments and suggestions in the comments here. <center style="margin:2.5em;"> <a href="/edu/courses" style="text-decoration:none; font-size:18px; background-color:#01579B; color:white; font-weight:bold; padding:0.5em 1em;">Go to EDU ...
interface, we announced a new educational subsection of the website. It's time to go international, website. It's time to go international!

Full text and comments »

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

16.
By Monogon, history, 7 years ago, In English
Codeforces Round #639 Hello, Codeforces! I'm very glad to invite you to [contest:1344] and [contest:1345]. This contest will take place on [contest_time:1344]. In both divisions, you will have **2 hours 15 minutes** to solve **6 problems**. The score distribution will be announced closer to the start of the contest. Of course, this round would not be possible without the help of many people, who I'd like to thank: - [user:isaf27,2020-05-01], for coordinating this round, and helping with solution ideas. - My ICPC teammates [user:Kuroni,2020-05-01] and [user:strongoier,2020-05-01], and coach [user:cn355,2020-05-01], for encouraging me to pursue competitive programming. In particular, I'd like to thank [user:Kuroni,2020-05-01] for being so spectacularly bad that a barely-orange user like myself actually has a place on our team. - [user:300iq,2020-05-01], [user:antontrygubO_o,2020-05-01], [user:Ari,2020-05-01], [user:ffao,2020-05-01], [user:fpc_coder,2020-05-01], [user:gamegame,2020-05-01], [user:Kur...
in answering your questions. I'm sorry if you asked a question that went unanswered for a longtime, went unanswered for a long time. I promise we did our best to answer as many questions as we could

Full text and comments »

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

17.
By MikeMirzayanov, 22 months ago, In English
Codeforces celebrates its 15th anniversary! <img src="https://assets.codeforces.com/files/codeforces15.jpg" style="width:250px; float:right; margin: 0 1em 1em 1em;" /> Hi, Codeforces! Around this time, 15 years ago, I was deploying the first version of Codeforces on a server, registering my account, and writing the first post. 15 years have passed. Well, happy anniversary to us! For me, this is the most exciting adventure — full of ups and downs, hard work, and moments of joy. What's amazing is that it was never a lonely journey. I've always had caring and reliable friends by my side! That includes the Codeforces team, coordinators and problem writers, our partners in various events, all community members, and, of course, our sponsors — steadfast supporters and helpers. Look at what we've accomplished together! Here are some of the key metrics over the years. There seems to be plenty to celebrate! <center> <img src="https://assets.codeforces.com/files/15/01-submissions.png" class="resource" style="width:300px;"/>...
; margin: 0 1em 1em 1em;" /> Hi, Codeforces! Around this time, 15 years ago, I was deploying the, Around this time, 15 years ago, I was deploying the first version of Codeforces on a server

Full text and comments »

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

18.
By Radewoosh, history, 6 years ago, In English
My opinion on how to practice competitive programming I'm not very often replying to questions about how to practice, but as I'm getting enough of them (and I've just seen another blog about practicing) let me tell you about it. Of course, every time when you ask someone good about how to practice, he/she will reply to you to "solve a lot of problems" and that's true, there's no other way. Anyway, I've thought about it and actually I'm able to tell a bit more. I know some people, I've seen many people practicing (including me) and I have an opinion. Many people practice in some organized way. High schools organize IOI/OI training contests every Saturday, universities organize ICPC training contests once a week, people try by their own to solve three problems each day, websites host rounds and so on. Here's a secret: it's a sh*t. Yep, that's true. If you want to be really good and to make it happen you compete in a training once a week, you do it only to be able to make excuses "but I'm training so hard" when you see no progress. ...
(and I've just seen another blog about practicing) let me tell you about it. Of course, everytime, Of course, every time when you ask someone good about how to practice, he/she will reply to you to, One more time: you really have to have CP in your mind. After solving a problem, it doesn't mean, You should practice every time when you have an idea "oh, I'd solve some problem", "oh, it'd be

Full text and comments »

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

19.
By BledDest, 3 years ago, In English
I don't want this to get normalized I don't think comments like "you use X in model solution, author, are you an idiot?", "f**k you and your problems, they are shit" and such should be normal on Codeforces, especially when written by someone high-rated and/or respected in the community. I also don't think this kind of behavior should be normal towards regular users. I know that sometimes contests can be frustrating. Sometimes it is the participant's fault, sometimes it is the problemsetter's fault, sometimes it just happens without anyone being guilty of that. And I understand that in some cases, the criticism the author receives is fair and well-deserved. But there is a fine line between criticism, saying that you didn't like the problems, and hurling insults against the author. The former two are acceptable (and sometimes even needed, because authors have to improve and learn from their mistakes); the latter one, in my opinion, should not be acceptable. It's not like we can ever get rid of offense and hatred ...
every time I saw an insult hurled towards me or some other member of the community, my account would, someone specific. And if I created a blog for every time I saw an insult hurled towards me or some other

Full text and comments »

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

20.
By MikeMirzayanov, 9 years ago, translation, In English
Codeforces: Updates in rating and rounds <img src="/predownloaded/21/a3/21a33b497ee8a34a678befc3f79745eb69a9cf07.png" style="float:right; margin: 0 1em 1em 1em;"/> Hello, Codeforces! It's time for news. I hope you will enjoy! * We reduce the rating bound for the orange color. Thus, now the orange rating (and the _Master_ title) will start from 2100 rating units. * The lower bound of the rating for _legendary grandmasters_ is increased to 3000 rating units. Thus, right now in the community, 14 participants meet this requirement. Real legends! * For rounds like "Div. 2 Only" the upper bound of the rating for official participation is increased. Now everyone whose rating is less than 2100 (i.e., before _masters_) will be able to register for such rounds to participate officially, their rating will be updated based on the results of the round. We do not plan to increase the complexity of Div. 2 rounds. Practice shows that the problems of such rounds are interesting and useful for participants "below the orange". ...
reason, the website may still have outdated information for some time. We are working to apply the, than 1600 at the time of the start of a round. Perhaps we will experiment with the definition of who, ; margin: 0 1em 1em 1em;"/> Hello, Codeforces! It's time for news. I hope you will enjoy! * We, It's time for news. I hope you will enjoy!

Full text and comments »

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

21.
By maspy, history, 4 months ago, In English
0 Problems Remaining [日本語記事(For Japanese Speakers)](https://maspypy.com/codeforces-all-ac) ---- Previous post: https://codeforces.me/blog/entry/150057 Submission: [submission:384239819] 2026/07/26 03:13:42 JST (2026/07/25 18:13:42 UTC) I have solved every problem in the Codeforces PROBLEMSET except for those for which I determined that obtaining an accepted verdict is impossible. ![unsolved problem list](https://maspypy.com/wp-content/uploads/2026/07/problemset.png) # Scope I considered the problems listed in the [PROBLEMSET](https://codeforces.me/problemset). I have solved very few problems from the [GYM](https://codeforces.me/gyms). The only collection I worked through systematically was the PROBLEMSET. I determined that it is theoretically impossible to obtain an accepted verdict for the following 31 problems: [problem:775A], ([92101](https://codeforces.me/problemset/problem/921/01) ... [92114](https://codeforces.me/problemset/problem/921/14)), [problem:927A], [prob...
complete it in less time than I did.

Full text and comments »

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

22.
By Radewoosh, history, 8 years ago, In English
Hello 2019 Hello coders! I hope that you are enjoying the New Year as much as me. To make its beginning even greater, Codeforces is going to host a contest and I will be an author of all tasks. Hello 2019 will take place on [Friday](https://www.timeanddate.com/worldclock/fixedtime.html?day=4&month=1&year=2019&hour=17&min=35&sec=0&p1=166). Using the opportunity, I want to thank to: - [user:lewin,2019-01-02] and [user:mnbvmar,2019-01-02] for testing the round. - [user:mnbvmar,2019-01-02] for indescribably helpful discussions about problems. - [user:_kun_,2019-01-02] and [user:KAN,2019-01-02] for round coordination and help with preparation. - [user:MikeMirzayanov,2019-01-02] for such great platforms (you know which ones :P). The round will consist of 8 problems and you will be given <s>two and a half</s> three hours to solve them. Yes, the round will be **rated**. There will be no interactive problems, but if you want you can read [this](https://codeforces.me/blog/entry/45307) docum...

Full text and comments »

Announcement of Hello 2019
  • Vote: I like it
  • +1910
  • Vote: I do not like it

23.
By Radewoosh, history, 8 years ago, In English
Blogewoosh #1 Hello, codeforces! The community wants so the community gets it! :D Here it is, my very first blog about tasks and algorithms. At the beginning I've decided to post my entries on codeforces, maybe I'll switch to something different if it becomes uncomfortable. To pour the first blood I decided to choose a task from one of the old ONTAK camps. Task's name is "different words" ([you can submit here](https://szkopul.edu.pl/problemset/problem/wTy-sxQCIKry0Ml-6RvM0L78/site/?key=statement)). The statement goes as follows: You are given $n$ words ($2 \leq n \leq 50\,000$), every of length exactly $5$ characters. Each character can be a lowercase letter, an uppercase letter, a digit, a comma... basically, it can be any character with ASCII code between $48$ and $122$ (let's say that $k$ is the number of possible characters). A task is to find all pairs of indexes of words which are $\textbf{really different}$. Two words are $\textbf{really different}$ if they differ at all $5$ corres...
definitely looks encouragingly. If we've found some of the pairs, maybe we should just try one moretime, great to see a feedback from you. See you next time! :D, If we've found some of the pairs, maybe we should just try one more time? But how should we change

Full text and comments »

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

24.
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...
reach pupil, then another six months to get specialist, and it took me more time to achieve higher, took me more time to achieve higher ranks. I didn't have any mentor or coach. So, I asked many, I want people who are stuck in the newbie or higher ranges for much time to know that if you are, I wrote this blog to show people that no matter how many times you fail or how muchtime you're

Full text and comments »

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

25.
By MikeMirzayanov, 3 years ago, In English
Codeforces: Results of 2023 [Annual Report] Hello, Codeforces. Let's recall 2023, shall we? In this post, I want to summarize this year. You know, a lot of terrible things happen in the world, and personally, this year was the hardest and most sorrowful for me. But today, we'll remember something else. We'll remember what this year was like for Codeforces. Recently, Codeforces turned 14 years old. Not bad, right? And for many years now, when asked "What is Codeforces?" the first thing I say is — it's a community! [cut]<br/> #### Personal Thanks! On behalf of the community (and myself), I say thank you to everyone who tries, helps, and makes efforts to keep the community alive. Thank you to the developers! Although I continue to engage in development and other technical activities, I'm glad that these guys made an effort and improved the platform: [user:geranazavr555,2024-02-04], [user:unreal.eugene,2024-02-04], [user:vbandurin,2024-02-04], [user:ChurakovaAlexandra,2024-02-04], [user:medvezhonokok,2024-02-04]...
transport system for problem invokers * Capability to edit time limits, memory limits, and names for, Time to take stock of 2023.

Full text and comments »

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

26.
By Proof_by_QED, history, 13 months ago, In English
Testing Round 20 [Communication Problems] Hello Codeforces. We are introducing a new type of problem which may appear in future Codeforces rounds, called Communication problems! In these problems, your program would be ran twice, with different input and output formats between the runs. All variables stored in the memory will be lost between runs. However, the information given to you on the first run may be important to you for completing the second run correctly. Therefore, one of the key challenges in these types of problems would be to find a way to use the limited amount of output you are given in the first run to communicate information to the second run. Below shows a flowchart. <center> <br/> <img src="https://i.ibb.co/JWMFpyfY/a-1.png" alt="2025-09-06-12-40-07" border="0" /> <br/> Flowchart for communication problems </center> In these problems, time and memory limits for both runs would be kept separately. For example, if a problem has a time limit of $2$ seconds, you will only get the Time Limit E...
problems In these problems, time and memory limits for both runs would be kept, In these problems, time and memory limits for both runs would be kept separately. For example, if a

Full text and comments »

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

27.
By YuukiS, 11 months ago, In English
Good Bye 2025 <div style="overflow:hidden;"> <img src="/predownloaded/a2/4f/a24f8db165991fb983fc766d223782cbf2785f7f.png" style="float:right; width:200px; height:auto; margin-left:50px; margin-right:50px; border-radius:0px;" /> <h2>Merry Christmas, Codeforces! &#127876; &#127876; &#127876;</h2> <p> We are glad to invite you to take part in [contest:2178], which will start on [contest_time:2178]. You will be given <b>9 problems</b> and <b>3 hours</b> to solve them. <b>At least one problem will be interactive</b>, so please make sure to read the <a href="https://codeforces.me/blog/entry/45307">guide for interactive problems</a> before the contest. This round is open and rated for everyone. </p> <p> Problems are authored by [user:conqueror_of_tourist,2025-12-25], [user:twosquares,2025-12-25], and [user:YuukiS,2025-12-25]. </p> <p> We would like to thank: </p> </div> <div style="clear:both;"></div> - [user:Error_Yuan,2025-12-...
Happy New Year (both on CF and irl... maybe go touch some grass for the first time this year)!, touch some grass for the first time this year)!

Full text and comments »

Announcement of Good Bye 2025
  • Vote: I like it
  • +1689
  • Vote: I do not like it

28.
By SecondThread, history, 6 years ago, In English
Algorithms Thread 8: Tree Basics (+ Gym Contest) Algorithms Thread Episode 8: Tree Basics ================== Episode 8 of Algorithms Thread [comes out in <90 minutes!](https://youtu.be/MOy4UDjN8DM) This one is a bit more beginner-friendly and covers the following ideas: - Graph/Tree Diameters - Binary Lifting - Tree Flattening with Euler tours Also, to make sure you have actually learned that stuff, I made a [custom Gym set on CodeForces](https://codeforces.me/gym/102694) that will last two weeks that hopefully is really good practice for making sure you have learned this stuff. Here is a link to the gym set; it will be available 45 minutes after the video comes out so that people have time to watch the video before starting the set, if they are interested in penalty points. All of the problems in the gym are original to this set (in their flavortext at least, some are simple enough that I'm sure they have appeared in other contests before). The new gym integration was heavily inspired by [user:Errichto,2020-08-16]'s ...
available 45 minutes after the video comes out so that people have time to watch the video before starting, minutes after the video comes out so that people have time to watch the video before starting the set, . Let me know whether it's helpful. I think it might be, but also it's a pretty bigtime commitment

Full text and comments »

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

29.
By Error_Yuan, history, 3 years ago, In English
Goodbye 74TrAkToR + Problem A~E: The problems themselves are good and typical A~E. Indeed I like problem D. The pretest for A is a bit weak, and it's not a big problem yet. + Problem F: The problem has an origin. :) See the link: [click](https://www.luogu.com.cn/problem/P9394). The problem in contest is only a weakened version of the one in Luogu. + Problem G: It's said that our great coordinator had not proved the time complexity of the intended solution is correct :) If the authors did, please share it in the editorial. (although this problem is completely beyond my ability :) ) + Problem H: Oh dear [user:74TrAkToR,2023-12-30], could you please OEIS the sequence before you use the "several-integer-input" problem in rounds next time? Anyone who copied the first example and opened [https://oeis.org/A286331](https://oeis.org/A286331) could quickly get the formula. And the problem itself is not so hard imo. Anyway, it should not be used in contest, especially for the last problem. For me pers...
proved the time complexity of the intended solution is correct :) If the authors did, please share it, the "several-integer-input" problem in rounds next time? Anyone who copied the first example and, + Problem G: It's said that our great coordinator had not proved the time complexity of the

Full text and comments »

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

30.
By 244mhq, history, 11 months ago, In English
Please try to be more positive in your feedback on the rounds. Hi, a few disclaimers first. 1. I work as a coordinator on CF, but this blog is solely my initiative (I didn't tell anyone from CF about it). 2. I was a few times in the author role, so I think that I have the right to speak on behalf of both authors and coordinators. Obviously, it doesn't mean that all authors/coordinators think the same, but (based on discussion with some people) I think that my opinion is not unpopular. Main point of this blog — I feel like our community is becoming much more aggressive towards any things (some of which I can't even call issues) that they don't like during the round. I don't think it's a good direction, and I think it can decrease the motivation of authors & coordinators to do more rounds. Now I will explain why I think so. Obviously, you might guess that this blog was inspired by yesterday's round, but also a few recent ones too (for instance, CF 1069, CF 1058). The first thing that any person will see on the home page now is that...
CF (and usually samples are very strong), but I don't think it's a bad thing to have fromtime to, lot of ways you can help (based on the amount of free time you have) — testing, authoring, usually samples are very strong), but I don't think it's a bad thing to have fromtime to time — it

Full text and comments »

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

31.
By TLE, history, 8 years ago, In English
Linear Recurrence and Berlekamp-Massey Algorithm **#IjustWantContribution** It seems there isn't any blog about Berlekamp-Massey Algorithm around here, so I decided to go on a try. :P Acknowledgement: Hats off to matthew99 for introducing this algorithm. #### What is 'linear recurrence'? Assuming there is a (probably infinity) sequence $a_0,a_1...a_{n-1}$, we call this sequence satisfies a linear recurrence relation $p_1,p_2...p_m$, iff $\forall i \geq m,~a_i=\sum_{j=1}^m a_{i-j}p_j$. (Obviously, if $m\geq n$ any $p$ can do :P) #### How to calculate k-th term of a linear recurrence? For a polynomial $f(x)=\sum_{i=0}^{t} c_ix^i$, we define $G(f)=\sum_{i=0}^{t} c_ia_i$. Obviously $G$ satisfies $G(f)\pm G(g) =G(f \pm g)$. Because $a_i=\sum_{j=1}^m a_{i-j}p_j$, if we let $f(x)=x^m-\sum_{j=1}^m x^{m-j}p_j$, then $G(f)=0$. Also $G(fx),G(fx^2)...=0$. So $G(fg)=0$ (g is any polynomial). What we want is $G(x^k)$. Because $G(f\lfloor x^k/f\rfloor)=0$, then $G(x^k)=G(x^k \bmod f)$. [cut] We can calculate $x^k \b...
\bmod f$ in a binary-exponentiation manner, then calculate $G(x^k \bmod f)$. Time complexity is $O(m, calculate one shortest linear recurrence relation for every prefix in $O(n^2)$ time., )$. Time complexity is $O(m^2\log(k))$ or $O(m \log(m)\log(k))$ (if you use fft etc.)

Full text and comments »

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

32.
By antontrygubO_o, 7 years ago, In English
Good Bye 2019 Hello again, Codeforces! We are glad to invite you to <s>Mathforces</s> <s>Thinkforces</s> [Good Bye 2019](https://codeforces.me/contests/1270), which will take place on [contest_time:1270]. Some information about the round: <ul> <li>Rated for all participants!</li> <li>3 hours!</li> <li> <strong> No subtasks! </strong> </li> <li>There will be an <strong> interactive problem </strong> in this round. You can read the guide for interactive problems [here](https://codeforces.me/blog/entry/45307)</li> <li> Editorial will be published right after the system testing </li> </ul> All problems in this round were prepared by us, [user:antontrygubO_o,2019-12-28] and [user:kefaa2,2019-12-28]. We worked on this round for a long time and tried to make all the problems very interesting. We hope that you will enjoy the round! We would like to thank: <ul> <li> [user:arsijo,2019-12-24] for coordination of the round </li> <li> [user:GandalfTheGrey,2019-12-24] fo...
[user:kefaa2,2019-12-28]. We worked on this round for a long time and tried to make all the problems very

Full text and comments »

Announcement of Good Bye 2019
  • Vote: I like it
  • +1517
  • Vote: I do not like it

33.
By rng_58, history, 6 years ago, In English
AtCoder Library Recently, the number of algorithms and data structures we use in competitive programming are rapidly growing. It's a nice thing: by using more algorithms, the variety of possible problems gets wider, and we can enjoy more problems. On the other hand, before reaching adhoc, thinking-oriented part of this competition, we have to spend more and more time to learn algorithms. Sometimes a problem asks matching on general graphs; you have to find a paper describing it, read it, and implement its really complicated algorithm. Or sometimes you have to spend time tuning your library by a constant factor. Or sometimes you use multiple pre-written codes together, the variable names collide, and get annoyed. Until now, I basically rejected all problems that require pre-written codes of complicated algorithms because I don't like these things. For example, we never used segment trees with lazy propagation in our contests. However this way we can't use otherwise interesting problems and it ...
spend more and more time to learn algorithms. Sometimes a problem asks matching on general graphs

Full text and comments »

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

34.
By MikeMirzayanov, 9 years ago, translation, In English
New: Diagnostics of Solutions in C++ <img src = "/predownloaded/b5/d2/b5d246ffc32dfe82c3cbac77d1898c5fcb62fa57.jpg" style = "float: right; margin: 0 1em 1em 1em;"/> Hello! I am pleased to report that two rounds of Codeforces have gone quite well in terms of the work of Codeforces, I am very glad about it. These <s>days</s> nights I spent in a profiler, fixing the code, researching the settings of MariaDB. In addition, I managed to allocate several hours on Sunday (to be honest, until Monday morning) to finish the long-planned innovation. Meet, diagnostics of solutions in C++! Many Codeforces visitors are already tired of the questions of less experienced participants: "Why does my solution not work on some test on the Codeforces servers, if I locally launch it and it works correctly? You have the wrong compiler/servers!" In 99% of cases this is an example of <a href ="https://en.wikipedia.org/wiki/Undefined_behavior">undefined behavior</a> in a program. In other words, the program contains mistakes that, du...

Full text and comments »

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

35.
By MikeMirzayanov, 6 years ago, In English
Educational Codeforces Round 91 is ruined and unrated Hello. Unfortunately, the Educational Codeforces Round 91 round will be unrated and, actually, it was completely ruined. I don’t understand what happened yet. At some point in time, all systems began to work unstably and actually stopped working. So far I have no understanding what happened. You may have to change the schedule for future rounds. Sorry. We have such a black stripe. Very upset and demotivated. Mike.
completely ruined. I don’t understand what happened yet. At some point in time , all systems began to, , it was completely ruined. I don’t understand what happened yet. At some point intime, all systems

Full text and comments »

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

36.
By Qingyu, history, 21 month(s) ago, In English
The 2025 Universal Cup Finals The best and brightest programmers from around the world have gathered this week in Dongguan, China, for the highly anticipated 2025 Universal Cup Finals! <center> <img src="/predownloaded/b8/c4/b8c48453572a7a497d0be10c665c67bfe5074593.jpg"> </center> ### Event Details - Date: Saturday, February 22nd - Start time: 10:30 AM CST (2:30 AM UTC) - See [participating teams](https://codeforces.me/blog/entry/136593) - Full schedule can be found [here](https://ucup.ac/news/announcement-2025-ucup-finals/) ### Streaming Witness the best contestants in the world as they push the boundaries of skill and strategy. You can be part of this event by following us online either on [English Channel](https://www.youtube.com/@que_tourist) or [Chinese Channel](https://live.bilibili.com/11464806). ### Mirror Contest Join the mirror contest and compete in real-time with the finalists from anywhere in the world. Any Universal Cup registered team can participate. The mirror contest is ...
, February 22nd - Start time: 10:30 AM CST (2:30 AM UTC) - See [participating teams](https, - Date: Saturday, February 22nd - Start time: 10:30 AM CST (2:30 AM UTC) - See [participating, Join the mirror contest and compete in real-time with the finalists from anywhere in the world. Any

Full text and comments »

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

37.
By qwexd, 3 months ago, In English
Codeforces Round 1121 (Div. 2) <div class="problem-statement" style="border:0 !important; padding:0 !important; margin:0.5em !important; box-shadow:none !important;"> <div class="header"> <div class="title">1121. Another Round</div> <div class="time-limit"><div class="property-title">time limit per participant</div> 2 hours</div> <div class="memory-limit"><div class="property-title">memory limit per participant</div> 1 brain</div> </div> <div class="legend"> <p> <i>This is <s>an interactive problem</s> a contest with an <b>unusual start time</b>.</i> </p> <p> You are given a Codeforces account and $n = 6$ problems, authored and prepared by [user:qwexd,2026-09-12] and [user:jeroenodb,2026-09-12]. </p> <p> In one operation, you may choose a problem $i$ ($1 \le i \le n$) and submit a program intended to solve it. </p> <p> The maximum scores are given below. Problem E is divided into two subtasks. </p> <div style="overflow-x:auto; margin:0.5em 0 1em;"> <table style="border-collapse:co...
Your task is to maximize your total score before the time limit expires. , This is an interactive problem a contest with an unusual start time. , time limit per participant

Full text and comments »

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

38.
By -is-this-fft-, history, 5 years ago, In English
Self-deception: maybe why you're still grey after practicing every day I generally don't like to give much advice on "how to practice", but recently I have been thinking a lot about this and I realized that there is something that I believe affects a lot of people (though it is admittedly hard to tell) that barely gets talked about: self-deception. Self-deception is a devious thing. It can be very hard to detect, yet can be fatal to improvement. This blog is mainly directed to greys, greens and cyans that can't get out of these categories. Most examples are given with that in mind. That being said, I believe others have something to think about as well. This is my first blog on such "psychological issues" and I don't know if I'll ever make another one. It's certainly a difficult topic to write about because for most of the blog, the message is "your practice is not as good as you think it is" or even "you aren't as good as you think you are" which can of course be a hard thing to hear. Thus, I have to somehow be very gentle while getting the poin...
on the appearance of the website): you can only see a small number of problems at atime. You HAVE to, - It is easy to lie to yourself about practicing and spend time without actually doing meaningful, time, you will know them the next time anyway. And the probability of retaining a fact is **far

Full text and comments »

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

39.
By platelet, 3 years ago, In English
CodeTON Round 5 (Div. 1 + Div. 2, Rated, Prizes!) **Note the unusual start time of the round.** Hello, Codeforces! Now that Gaokao is over, we are very glad to invite you to participate in [contest:1842], which will start at [contest_time:1842]. You will be given **9 problems** and **3 hours** to solve them. The round will be rated for everyone. All problems are written and prepared by [user:Gary2005,2023-06-21], [user:Asuka,2023-06-21], [user:Crying,2023-06-21], [user:sjcsjcsjc,2023-06-21], [user:MonkeyKing,2023-06-21], [user:DerekFeng,2023-06-21], [user:KbltQaQ,2023-06-21], [user:ShmilyTY,2023-06-21] and me. Statements and editorials will be available in Chinese (Simplified) after the contest. We would like to give our sincere thanks to: - [user:errorgorn,2023-06-21] for his wonderful coordination! - [user:Alexdat2000,2023-06-21] for translating problem statements. - [user:gyh20,2023-06-21], [user:wangziji,2023-06-21], [user:flowerletter,2023-06-21], [user:themoon,2023-06-21], [user:qiuzx,2023-06-21], [user:Gezh...
**Note the unusual start time of the round.**

Full text and comments »

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

40.
By MikeMirzayanov, history, 11 months ago, In English
Goodbye, 2025. Hello, 2026! <img src="/predownloaded/f4/1f/f41ff0beb745fb2f84a55d9f2cc451273efc6267.jpg" style="width:300px; float:right; margin: 0 1em 1em 1em"/> Goodbye, 2025. Hello, 2026! Dear Santa, Please make 2026 a happy year—not just for me, but for everyone. We all need this. Hello, 2026! And of course, we have our traditional gifts! #### <img src="https://assets.codeforces.com/images/wand.png"/> Change Handle Feature Hurry! Until January 10, you can change your handle (<b>but only once</b>)! Note that next time you will be able to roll back the change or request another handle change only _after a year (in December 2026)_. Choose wisely! You can change your handle to a new one that hasn't been used by anyone else, or to one that you've previously used. Links to your old profile will automatically redirect to your updated profile. Again this year, if you've participated in at least 10 rounds, you can request the handle of an _inactive_ participant. This means the participant...
Hurry! Until January 10, you can change your handle (but only once)! Note that nexttime

Full text and comments »

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

41.
By MikeMirzayanov, history, 20 months ago, In English
My Reply on "Mike, please stop ignoring your userbase" This is a response to [this post](https://codeforces.me/blog/entry/141442). Originally, I intended to leave it as a comment, but the text turned out to be quite long. So I decided to publish it as a separate post. Hi! Let me start with the main idea: I don't think I ignore too many issues (though I do ignore some). In most cases, I do work on them, but these days I just don't feel like writing about it. That kind of communication takes a lot of energy &mdash; which I currently don't have. Oh, it looks like you edited the beginning of the blog, and now it triggers less of an internal protest in me. Honestly, lately I've been in a difficult emotional state, and I just don't have the energy or desire to interact much. It's not just about Codeforces &mdash; it's generally harder for me to engage than it used to be. I won't go into details (health, relocation, family issues, changes in the nature of my work due to bots) &mdash; all of that affects my mental state and willingne...
heuristics that evolve over time. But I've been working hard to make these problems less visible, these restrictions will become less noticeable over time., , which didn't run itself), rounds require attention and time, internet disruptions or blocks lead to, > You might have noticed that it doesn't work for a long period of time. This is because Mike, Does /api really get blocked by Cloudflare? I'm pretty sure that was fixed a longtime ago.

Full text and comments »

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

42.
By Kuroni, history, 6 years ago, In English
Codeforces Round #715 <p style="text-align: right;"> <i> "Love" is a violent word.<br> "I love that about you..." Doesn't that just mean "If that changed, I wouldn't love you anymore?"<br> "Love" is a word that binds you.<br> — Touko Nanami — </i> </p> Hi Codeforces! [user:Ari,2021-04-13] and I are pleased to invite you to participate in [contest:1508] and [contest:1509], which will be held at [contest_time:1508]. Each division will have **6 problems** and **2 hours and 15 minutes** to solve them. Big thanks to the following people: - Sir [user:antontrygubO_o,2021-04-13] for being an amazing coordinator; the round wouldn't happen without you ❤️ - [user:Scrubpai,2021-04-13], [user:1-gon,2021-04-13], [user:hugopm,2021-04-13], [user:tfg,2021-04-13], [user:dorijanlendvaj,2021-04-13], [user:xuanquang1999,2021-04-13], [user:300iq,2021-04-13], [user:Mike4235,2021-04-13], [user:Luminal,2021-04-13], [user:QuangBuiYT,2021-04-13], [user:jamienguyen,2021-04-13], [user:Pichu,2021-04-13], [user:ch...
finish. See you all next time!

Full text and comments »

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

43.
By Um_nik, history, 5 years ago, In English
How to practice Competitive Programming [Um_nik version] CP is about solving problems fast. And as absurd as it may sound, I believe that <span style="color:blue">SOLVE</span> and <span style="color:red">FAST</span> are very different and almost independent parts, and you need to practice them separately. Let’s look at some <span style="color:red">contest</span>, like a CodeForces round. For the sake of simplicity let’s assume that every problem has some *difficulty*, which is a numerical value denoting how hard it is, bigger values correspond to harder problems (it is not true, but it is an ok-ish approximation, at least if we consider subjective difficulty for a fixed person). Contests are made for a wide range of participants, and problemsetters strive to make contests interesting for a wide range of participants, which means having a *smooth difficulty gradient*. Well... as smooth as it is possible with 5-6 problems. <spoiler summary="Graph 1"> ![ ](https://s3.us-west-2.amazonaws.com/secure.notion-static.com/677e0ae2-a8df-4874-aff...
distribution”, or maybe how much time you need to solve the problem of given difficulty:, everything on my own, am I? A: Most of the time you [don’t need to learn any advanced stuff](https, for you to come up with, maybe using a lot of time. These are the problems from the *interesting, style="color:purple">level... it’s more like “probability distribution”, or maybe how muchtime, that you already know how to solve*. In a contest, you don’t have time to come up with something, the other hand, you need too much time, maybe even infinite time, to solve problems way above your, you are stuck on a problem for a long time (that’s not an hour, that’s several months) you should ask, , read them carefully, think a bit, choose the one I want to try and solve now, try for sometime. If I, How to split the time between archives and contests? Well, contests are held in some fixedtime, so, Q: Month?! A: Maybe even more. You need time to acquire new skills and discover new ways to look

Full text and comments »

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

44.
By errorgorn, 20 months ago, In English
Goodbye TheScrasse It is with a heavy heart that I announce the tragic loss of [user:TheScrasse,2025-03-31] to the codeforces community. I have known [user:TheScrasse,2025-03-31] from coordinating pinely round 3. It was was one of the best rounds I had the pleasure of coordinating in recent memory. More recently, [user:TheScrasse,2025-03-31] has also been actively involved in coordinating some of the best rounds in codeforces recently. Outside of problemsetting, [user:TheScrasse,2025-03-31] has also made a name for himself by writing educational blogs such as his [competitive programming roadmap](https://codeforces.me/blog/entry/111099) and [various](https://codeforces.me/blog/entry/113484) [other](https://codeforces.me/blog/entry/101271) [educational](https://codeforces.me/blog/entry/98624) [blogs](https://codeforces.me/blog/entry/91707) which enriched the knowledge of many within our community. His passion for sharing knowledge and nurturing talent has shaped the journeys of many aspiring pr...
[user:TheScrasse,2025-03-31] — not to tragedy, not to time, but to a fate much more devastating. I, -31] — not to tragedy, not to time, but to a fate much more devastating.

Full text and comments »

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

45.
By zscoder, history, 7 years ago, In English
[Tutorial] Generating Functions in Competitive Programming (Part 1) Hi everyone! Inspired by the recent [Codeforces Round 641](https://codeforces.me/contest/1349), I decided to write an introductory tutorial on generating functions here. I am by no means an expert in generating functions so I will write about what I currently know about them. [user:MiFaFaOvO,2020-05-15] has written a really interesting [blog](https://codeforces.me/blog/entry/76447) here on Codeforces about more advanced applications of generating functions, but I think there is no English tutorial on the basics of this topic yet (or at least on CP sites). Thus, I would like to share about this topic here. I plan to split this tutorial into two parts. The first part (this post) will be an introduction to generating functions for those who have never learned about them at all, and some standard examples and showcases of generating functions. The second part will be a collection of several applications of generating functions in CP-style problems. If you are already familiar with ge...
/Formal_power_series) most of the time, which allows us to ignore the issue of convergence. However, this, So, how to find $b_{n}$ in faster than $O(n^2)$ time. The idea is that we can find the first $n, This time, we need to find $[x^{n}]\displaystyle\sum_{k \ge 0}\frac{1}{k!}C(x)^{k} = [x^{n}]\exp(C

Full text and comments »

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

46.
By Um_nik, history, 4 years ago, In English
Pro Tips - get them while they are free More tips to use while studying under my tutoring [here](https://um-nik.notion.site/Pro-Tips-8b923b0dc7c94770824bdf4184afc43c). ## Stop caring about the rating Unless there are prizes involved, your position in the standings makes no difference. I can feel awful after winning a contest if I know that I could solve one more problem. Or I can feel OK losing a bunch of rating points knowing that I solved everything I could.  Because rating is just a number. It is highly volatile and it depends on other people, not only on your skill. But solving problems is totally up to you. And you should evaluate yourself not based on some random metric, but on your honest feeling whether you performed up to your expectations. Your sense of self should be under your control, don't get hung up on some imaginary value, you cannot reduce your progress to a single number. ## Don't use more than one account Rating is just a number. Do not be afraid to lose your colour. You’ll get it back in no t...
problems without time restrictions. And yeah, practice is a necessary part of progress, but you will, solve it without time or memory limitations?, - What could I have done better? - What areas took me more time than I would like? - Are there, Rating is just a number. Do not be afraid to lose your colour. You’ll get it back in notime if you

Full text and comments »

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

47.
By McDic, history, 7 years ago, In English
Codeforces Round #589 (Div. 2) **다시 만나서 반가워요, 코드포스!** (Nice to see you again, Codeforces!) I'm again happy to introduce you to [Codeforces Round #589 (Div. 2)](https://codeforces.me/contests/1228). Please look at following information for details: - This contest will take place on [contest_time:1228]. - The round will be **rated for all Division 2 participants**. - There are **6 problems** and you will have **2 hours** to solve them. Score distribution will be announced later. The listed handles below are contributors. Thank you for all who listed! - **Main author**: ~McDic,2019-09-26 &mdash; I made and prepared all problems. - **Coordinator**: ~arsijo,2019-09-26 &mdash; He is my coordinator again. - **Early phase testers**: ~dorijanlendvaj,2019-09-26 ~tfg,2019-09-26 ~Lawali,2019-09-26 &mdash; They are early phase testers. They mostly focused on test data. - **Late phase testers**: ~_Kuroni_,2019-09-26 ~imbr92,2019-09-26 ~Redux,2019-09-26 ~Dr_Park,2019-09-26 ~Mahotsukai,2019-09-26 ~TOPWINDFLOWER,20...
is not good for Div.2 participants. In other words, my first contest was hell. So thistime, I tried, words, my first contest was hell. So this time, I tried to make my second contest to have more

Full text and comments »

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

48.
By Enchom, 12 years ago, In English
Who sorry_dreamoon really is Hello everybody. So I was really bored tonight and looked at so many comments being like "[user:sorry_dreamoon,2015-02-18] is X" and then people arguing and disagreeing. Since I had nothing better to do, I decided to finally unravel the truth of who he actually is. Here is the full case and how I actually got to him, hope you enjoy! :D Selection ------------------ Let's start by the obvious. He managed to get first place in Div2 and he got second in Div1 (would've been first if the scores were static). So what we know is that he is really good. Let's look at the past 10 Div1 contests. It turns out that only 8 times it happened that someone with a rating of less than 2500 got in top5. This is 8 times out of 50 people being in top5. But he was second and almost first, so he is better than that. It turns out actually, that in the past 10 Div1 contests, only 2 times it happened that someone with rating less than 2500 got in top3. Combining this information with [user:sorr...
codeforces at the time. And since the account was initially made only as a one- time joke, he most likely

Full text and comments »

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

49.
By NXIST_buster, history, 6 years ago, In English
Corruption, Cheating at ICPC Yinchuan This blog is about Corruption and Cheating at ICPC YinchuanRegional. ICPC Yinchuan Regional is one of the ICPC regional contests for students competing in the geographic area of Asia East Continent. I. Background: General Info ------------------ Ningxia Institute of Science of Technology, or NXIST is a higher education institute in China. Since 2019, NXIST has held two regional contests. The and both were considered by many participants as jokes, yet until today participants are unaware of the NXIST's extent of evil. Zhihu is a Chinese website similar to Quora, and I will refer to this website for information. II. Background: Before 2021 ------------------ Regional competitions in China consists of two stages: The online selection contest and the onsite regional contest. As there are many contestants in China, the online contest is considered serious and rules are usually strictly enforced, with entire universities where some participant cheats disqualified from attend...
onsite. This time NXIST sent 14 teams as official participant to their own regional, where in, yuan per person) We will extend the receipt time on May 12.

Full text and comments »

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

50.
By kuviman, 17 months ago, In English
Codeforces: giving extra time to participants Hello everyone! Some of you are using Codeforces to host private onsite contests. When doing so, you may want to give extra time to a participant due to technical reasons (maybe they had a problem with their PC so they lost some time from the contest). Previously it was only possible to increase contest duration for everyone, but now you can do this selectively. Navigate to the contest registrants page, and you will see all the contestants and will be able to add extra time there, given you are the contest manager. ![ ](/predownloaded/e1/dc/e1dcd11a6c8ecd24b063bb301ddf41f8d7a89436.png) We would like to know if there are any issues with this new feature, so let us know if you encounter any. PS: Also, similarly to [previously implemented feature for comments](https://codeforces.me/blog/entry/143022) you can now change your vote on a blog post within a minute.
Codeforces: giving extra time to participants, add extra time there, given you are the contest manager., give extra time to a participant due to technical reasons (maybe they had a problem with their PC so, , you may want to give extra time to a participant due to technical reasons (maybe they had a problem

Full text and comments »

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

51.
By Um_nik, history, 6 years ago, In English
Support Anton Trygub Since [user:antontrygubO_o,2020-07-12] has became CF coordinator he is trying hard to make rounds which meet his standards for quality and (more importantly) beauty. I think he is doing a great job. For some time there is a very vocal group of people who dislike his view on things. I feel like it will be hard for Anton to maintain his work if he would think that majority of people doesn't approve. But I don't really think that this is a majority. If you enjoy rounds prepared or coordinated by Anton, please comment here with some positive feedback. `#AdHocProblemsMatter`
. For some time there is a very vocal group of people who dislike his view on things. I feel like, For some time there is a very vocal group of people who dislike his view on things. I feel like it

Full text and comments »

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

52.
By antontrygubO_o, 5 years ago, In English
Giving negative feedback to contests in comments //This is a short post motivated by the comment section of the last Div2 round (and of several rounds before) Every problemsetter tries to make his contest as good as possible, and is upset when something goes wrong. Most problemsetters don't set contests for money, the payments are not worth the time and efforts spent on coming up with problems, preparing them, and hosting the contest. The most rewarding thing in this process in not the money, it's to see contestants enjoying your problems. That's why feedback is so important. If the comment section is filled with comments praising the contest, setter will most likely want to come back with another contest, and if it's filled with hate and offenses, it's possible that setter will just give up on problemsetting and won't want to host another round. This means two things. First, if you liked the round, or some particular problem, why not to write a comment about it? I am sure that most setters would really appreciate it, a...
wrong. Most problemsetters don't set contests for money, the payments are not worth thetime and

Full text and comments »

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

53.
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...
remain just ideas, this time we have a serious mindset, and now we want to invite you all to, , and running for any duration of time. Midway through the competition, the problem statement will, All ties are resolved by time — the team that achieves its result earlier ranks higher.

Full text and comments »

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

54.
By Errichto, 11 years ago, In English
Good Bye 2015 Hi everybody. The last round of the 2015 will take place on the 30-th of December ([starting time](http://www.timeanddate.com/worldclock/fixedtime.html?day=30&month=12&year=2015&hour=18&min=5&sec=0&p1=166)). The contest will last 3 hours. It won't be a usual round. Both divisions will compete together. You will get 8 problems to solve in 3 hours. Points will decrease slower than usually &mdash; otherwise you would get eps for solving a problem at the end. Scoring will be announced just before a contest. So will the speed of the points/minute loss. My goal was to provide you a diverse problemset with interesting problems for all contestants. During a contest you should consider reading not only the next problem but the few next ones. You will get this round thanks to work of many people. I am a problem setter. [user:GlebsHP,2015-12-28] helps me with everything (a lot). [user:AlexFetisov,2015-12-29], [user:johnasselta,2015-12-29] and [user:Zlobober,2015-12-29] are t...
The last round of the 2015 will take place on the 30-th of December ([starting time](http

Full text and comments »

Announcement of Good Bye 2015
  • Vote: I like it
  • +1387
  • Vote: I do not like it

55.
By maroonrk, history, 3 weeks ago, In English
I will step down as AtCoder Admin [Original Post on AtCoder](https://atcoder.jp/posts/goodbye_maroonrk_en). I'm maroonrk. I have been serving as an admin for AtCoder's Algorithm division since 2021, but I would like to announce that I will be stepping down at the end of January 2027. There are several reasons behind this decision, but the biggest turning point was this year's AWTF. It wasn't because I was devastated by seeing humans lose to AI. Having watched AI's progress, I had expected that this day would eventually come. I won't deny that seeing AI solve every problem was a shock, but even so, I am glad that I had the opportunity to witness that historic moment, and that the problems presented on that stage were ones I had created. That contest left me with a certain sense of accomplishment. I felt that all the effort I had poured into organizing contests over the years had been rewarded by becoming a part of history. At the same time, I began to feel that I needed to take on a new challenge. For a w...
part of history. At the same time, I began to feel that I needed to take on a new challenge. For a, same time, I began to feel that I needed to take on a new challenge. For a while, I wasn't sure what, time left in the year. Some of you may have noticed that the contest scheduled for November 22 was

Full text and comments »

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

56.
By Ari, history, 6 years ago, In English
On Problems vs. Questions in Competitive Programming: My solution _TL;DR: The most reasonable solution to the problems vs. questions debate is to use none of the currently accepted terms._ As we have seen many times, particularly over the past few days, the task of assigning a label to the activities we perform as competitive programmers is a bigger problem than one might think at first. Time and time again we have seen people questioning what we should call our activities, often to the point of eliciting some rather harsh responses. To give some context to this discussion, I will focus on two of the terms that members of the community have adopted over the years, _problems_ and _questions_. (Sorry task lovers! You have some fine points for sure, we frequently talk about subtasks rather than subproblems or subquestions after all :P). All quotations here are posted anonymously, but if you want to claim ownership of one of them or have one removed, just tell me. If you are familiar with the arguments, feel free to skip to the final section of the...
debate and use the time we save to be happier instead. Of course, I don't expect the community to, first. Time and time again we have seen people questioning what we should call our activities, often to

Full text and comments »

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

57.
By Nanako, 4 years ago, In English
Good Bye 2022: 2023 is NEAR "It's been a long time since I came here, and I've really been through a lot." Koxia muses as she chatted idly with Mahiru. Now that the Winter Festival is approaching. Among the flash of fireworks, in the chimes of the New Year, what is waiting for them to encounter? Armed with girlish courage, they stepped onwards. ![Koxia, Mahiru and Winter Festival](https://i.imgur.com/OQjKmcS.jpg) Hello Codeforces! We ([user:Nanako,2022-12-27], [user:m_99,2022-12-27], [user:huangxiaohua,2022-12-27], [user:SteamTurbine,2022-12-27], [user:triple__a,2022-12-27], [user:Nezzar,2022-12-27]) are very pleasured to invite you to take part in [contest:1770], which will take place in [contest_time:1770]! This round consists of **8 tasks** waiting for you to solve in **150 minutes**, and will be rated for everyone! On behalf of the author team, please allow me to express our sincere thanks to: * [user:errorgorn,2022-12-27], for useful guidance and brilliant advice during the coordinati...
"It's been a long time since I came here, and I've really been through a lot." Koxia muses as she

Full text and comments »

Announcement of Good Bye 2022: 2023 is NEAR
  • Vote: I like it
  • +1318
  • Vote: I do not like it

58.
By errorgorn, 6 years ago, In English
Codeforces Raif Round 1 [Div. 1 + Div. 2] Hello, Codeforces! Welcome to the [contest:1428] supported by Raiffeisenbank, that will start on [contest_time:1428]. **It will be a combined rated round for both divisions. Note that the start time is unusual.** All problems were authored and prepared by [user:bensonlzl,2020-10-15], [user:oolimry,2020-10-15], [user:errorgorn,2020-10-15], [user:dvdg6566,2020-10-15], [user:shenxy13,2020-10-15]. [user:Ari,2020-10-15] gato to: - [user:isaf27,2019-05-10] and [user:KAN,2020-10-15] for round coordination and help with preparation - [user:zhangguangxuan99,2020-10-15] for being epic IOI trainer <3 - Our army of testers: [user:Ari,2020-10-15], [user:KAN,2020-10-15], [user:Monogon,2020-10-15], [user:Prabowo,2020-10-15], [user:SYY,2020-10-15], [user:SleepyShashwat,2020-10-15], [user:TeaTime,2020-10-15], [user:Tlatoani,2020-10-15], [user:_rs_,2020-10-15], [user:agul,2020-10-15], [user:cstuart,2020-10-15], [user:dantoh,2020-10-15], [user:jhkoh,2020-10-15], [user:kai824,2020-10-15]...
]. **It will be a combined rated round for both divisions. Note that the start time is unusual.**

Full text and comments »

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

59.
By EvenImage, history, 7 years ago, In English
A problem collection of ODE and differential technique ##A problem collection of ODE and differential technique *This problem might be well-known in some countries, but how do other countries learn about such problems if nobody poses them.* For those who are interested in well-known problems in China. Thank [user:Elegia,2020-04-23] and [user:djq_cpp,2020-04-23] for developing this technique. Thank [user:tEMMIE.w.,2020-04-23] for reviewing this article. ####[Chain Reaction](http://uoj.ac/problem/50) in UOJ Round 3 By [user:vfleaking,2020-04-23] **Statement** ​ You are given a set $A$, you need to compute $g_{i} = \frac{1}{2} \sum_{j,k}{i-1 \choose j}{i-1-j \choose k} g_jg_k$ where $i-1-j-k \in A$. **Solution** ​ Let the EGF of $g$ be $x(t)$ and EGF of $A$ be $a(t)$. Thus $x'(t)=\frac{1}{2} a(t) x^2(t)+1$. We can solve this equation by D&C and FFT in $O(n\log^2 n)$. But there is a <s>slower</s> solution in $O(n\log n)$. ​ For a polynomial equation $f(x(t))=0$, we can use the Newton's method to solve it. If we find ...
Every time, you will choose a variable $x_i$ randomly and uniformly among the variables, which, computed from $S$ in linear time, $P^k$ can be computed from $P^{k-1}$ in lineartime. We remove the $O, (n \log n)$ time, the we have the time complexity $T(n)=T(n/2) + O(n\log n)$,which is $O(n\log n)$., )$. If we use FFT directly, the time complexity is $O(na^2 \log n)$. Since the degree of $P$ is not, )=\sum_{i=0}^a \frac{x^i}{i!}$ more effectively. I don't think we can improve it to lineartime. But

Full text and comments »

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

60.
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 ...
close to reaching all the interested audience, that in the next year we will not havetime to do as

Full text and comments »

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

61.
By Radewoosh, history, 8 years ago, In English
Blogewoosh #6 Hello, codeforces! Sorry for the long break, but the last weeks of holidays and the first weeks of academic year took my attention. I hope today's trick will make you forgive me. :P I invented this trick a few years ago, but for sure I wasn't first, and some of you already know it. Let's consider the following **interactive** task. There are $n$ ($1 \leq n \leq 10^5$) hidden integers $a_i$, each of them from range $[1, 10^{18}]$. You are allowed to ask at most $103000$ queries. In one query you can choose two integers $x$ and $y$ ($1 \leq x \leq n, 1 \leq y \leq 10^{18}$) and ask a question ''Is $a_x \geq y$?'' The task is to find the value of the greatest element in the hidden array. The checker **isn't** adaptive. Unfortunately, this task is only theoretical, and you cannot solve it anywhere, but it'll turn out, that solution can be handy in many other, much more complicated problems. [cut] $ $ Even beginners should be able to quickly come up with a solution which ask...
be solved with this trick, share them in the comments. See you next time! :D, in the time limit. I decided to check if current ''source'' will improve my current result and if, techniques come to mind, for example we could do all binary searches at the sametime, ask for each, Some techniques come to mind, for example we could do all binary searches at the sametime, ask for

Full text and comments »

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

62.
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...
structures](https://codeforces.me/blog/entry/89730) - [[Tutorial] 1D and 2D constanttime per query

Full text and comments »

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

63.
By SanguineChameleon, 19 months ago, In English
Seems like a notorious coincidence #### _1 minute before contest starts_ Alright, this is it. The round is starting soon. I hope everything goes well! #### _9 minutes after contest starts_ ...What? Someone solved H already? Uh oh. Okay, maybe they are just really good at XOR problems. #### _40 minutes after contest starts_ Oh! An LGM solved it. Let's look at their submission... ~~~~~ // https://yukicoder.me/problems/no/2990 ~~~~~ Oh. Oh no. Oh no no no no no. --- Hi, so to me seems like a notorious coincidence. I was the author of problem H, and unfortunately, it exactly coincides with [No.2990 Interval XOR](https://yukicoder.me/problems/no/2990) on yukicoder. Just to be **absolutely clear**, I had the idea for H long before that: - I thought of problem H in January 2024. - The problem was proposed in February 2024. - The problem was approved in October 2024. - The problem on yukicoder was released in December 2024. Here are some obligatory evidence screenshots: <spoile...
, and the [Semantic Search](http://yuantiji.ac/en/) hadn't logged the problem as of thetime of writing

Full text and comments »

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

64.
By AquaMoon, 4 years ago, In English
CodeTON Round 2 Hello, Codeforces! A wonderful summer holiday! After College Entrance Examination, we are extremely delighted to invite you to our second round, [contest:1704], which will be held on [contest_time:1704]. **Note the unusual start time of the round.**You are given **8 problems** and **2.5 hours** to solve them. All problems were written and prepared by [user:Cirno_9baka,2022-07-23], [user:CoupDeGrace,2022-07-23], [user:Heltion,2022-07-23], [user:ODT,2022-07-23], [user:Yakumo_Ran,2022-07-23], [user:farmerj,2022-07-23], [user:flowerletter,2022-07-26], [user:izlyforever,2022-07-23], [user:kuangbin,2022-07-23], [user:mejiamejia,2022-07-23], [user:ugly2333,2022-07-23] and me. Task statements and editorials will also be available in Chinese (Simplified) and Chinese (Traditional) after the contest. We are sincerely thankful for the help provided by: - [user:3.141592653,2022-07-25], [user:emorgan5289,2022-07-25], [user:errorgorn,2022-07-25], [user:SevenDawns,2022-07-25], [user:pr...
unusual start time of the round.**You are given **8 problems** and **2.5 hours** to solve them.

Full text and comments »

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

65.
By SecondThread, 14 months ago, In English
Meta Hacker Cup 2025 Schedule Meta Hacker Cup 2025 ================== Meta Hacker Cup is back! We’re excited to announce our schedule for our 2025 season, kicking off on October 10th! - Practice Round: [Fri. October 10th, 10am Pacific (120 hours, 5 days)](https://www.timeanddate.com/worldclock/fixedtime.html?msg=Meta+Hacker+Cup+Practice+Round&iso=20251010T10&p1=234)* - Round 1: [Sat. October 18th, 10am Pacific](https://www.timeanddate.com/worldclock/fixedtime.html?msg=Meta+Hacker+Cup+Round+1&iso=20251018T10&p1=234&ah=3) (3 hours) - Round 2: [Sat. November 1st, 10am Pacific](https://www.timeanddate.com/worldclock/fixedtime.html?msg=Meta+Hacker+Cup+Round+2&iso=20251101T10&p1=234&ah=3) (3 hours) - Round 3: [Sat. November 15th, 10am Pacific](https://www.timeanddate.com/worldclock/fixedtime.html?msg=Meta+Hacker+Cup+Round+3&iso=20251115T10&p1=234&ah=3) (3 hours) - Finals: [Sat. December 13th, 6am Pacific](https://www.timeanddate.com/worldclock/fixedtime.html?msg=Meta+Hacker+Cup+Finals&iso=20251213T06&p1=234&ah=4...
our submission system before Round 1, when time will be at a premium., time limits matching those in the human track. We won't impose any limits on compute resources or

Full text and comments »

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

66.
By AmShZ, history, 6 years ago, In English
Codeforces Round #722 Hi Codeforces! [user:Dio,2021-05-22], [user:Keshi,2021-05-22], [user:Tet,2021-05-22], [user:alireza_kaviani,2021-05-22], [user:-Zeus-,2021-05-22], [user:alishahali1382,2021-05-22] and I are delighted to invite you to participate in [contest:1528] and [contest:1529], which will be held at [contest_time:1528]. Each division will have **6 problems** and **2 hours and 15 minutes** to solve them. The curse has finally been lifted! We are proud to announce that [user:antontrygubO_o,2021-05-22] didn't reject even a single task from the Div. 1 part! Huge thanks to the following people: - [user:antontrygubO_o,2021-05-22] for being an outstanding coordinator; This round wouldn't have happened if it weren't for him. - Our ever-growing army of testers [user:gamegame,2021-05-22], [user:Amoo_Safar,2021-05-22], [user:Atreus,2021-05-22], [user:dorijanlendvaj,2021-05-22], [user:aarr,2021-05-22], [user:1-gon,2021-05-22], [user:EnEm,2021-05-22], [user:N.N_2004,2021-05-22], [user:AaParsa,20...
Please read all of the problems and their notes, enjoy your time and solve as many as you can! Good

Full text and comments »

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

67.
By MikeMirzayanov, 6 years ago, In English
Codeforces: Results of 2020 [list some changes and improvements] Hello, Codeforces! I understand that 2021 has been going on for a long time, but here I have picked up a subset of some of the improvements that the Codeforces team made in 2020. Soon I will publish numbers (no, charts) with statistics for 2020. In the meantime, I bring to your attention a list of changes and improvements. By the way, this is a decent list. This is about half to a quarter of all changes. It's just that other changes are more often somewhere in the internals of the system and are not visible to users. Please read this list. Each item is the effort of someone from the team. Thanks to [user:geranazavr555,2021-03-14], [user:kuviman,2021-03-14] and [user:cannor147,2021-03-14] for their efforts. You've made our platform better! Well, by the way, I don't quit programming and many improvements were made by me. The items on the list are written in a concise and informal form, many of the items I just copied from commit messages from git. If you want more details &mdash...
* Pypy support improved * Time factors supported in the judging backend * g++ 64-bit supported, Hello, Codeforces! I understand that 2021 has been going on for a long time, but here I have, I understand that 2021 has been going on for a long time, but here I have picked up a subset of

Full text and comments »

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

68.
By stevenkplus, history, 6 years ago, In English
I challenge you to a duel, Errichto (UPD: Saturday 11am PT) ![Scoreboard](/predownloaded/08/57/0857157477081fc11f0c1d1814de19e66cb0006c.png) Dear [user:Errichto,2020-09-17], In case you are unaware, you beat me by 3 seconds of penalty on [Facebook Hacker Cup Round 3](https://www.facebook.com/codingcompetitions/hacker-cup/2020/round-3/scoreboard). Upon deep reflection, I decided that I will not accept this lying down. In order to avenge this notorious defeat, I am challenging you to a 1v1 duel. **Rules:** 1. Duel will be held as a lockout competition and will be televised live 2. Lockout problems will be chosen by a neutral problem setter 3. Loser must change their main to honor the winner. See below for details ~~~~~ // your template if you lose #define stevenkplus main int stevenkplus() { // your code here } ~~~~~ --- **Update:** We're doing it this Saturday! https://www.timeanddate.com/worldclock/fixedtime.html?msg=Errichto+vs+Stevenkplus&iso=20200926T11&p1=224&ah=1 Will be broadcast live at https://www.twitch...
://www.twitch.tv/ecnerwala, 11am Pacific Time.

Full text and comments »

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

69.
By mnbvmar, 8 years ago, In English
Codeforces Round #556 Hi Codeforces! I'm so happy to invite you to [contest:1149] and [contest:1150]! The rounds will be held on [contest_time:1149]. The round will be rated for both divisions. (At least that's what I've been told!) The problems were written and prepared by me. Thanks to [user:300iq,2019-04-27] for the round coordination, and to [user:Radewoosh,2019-04-27] for his invaluable help with choosing the problemset and testing the problems! Also, I want to give a shout-out to [user:MikeMirzayanov,2019-04-27] for his amazing Codeforces and Polygon platforms! ![ ](http://students.mimuw.edu.pl/~ms360974/stuff/tab-bar2.png) _My browser's tab bar, right now._ You'll work on **5** problems, and you will have **2** hours to solve them. The scoring distribution will be revealed closer to the round. ~~~~~ def get_end_remark(): return random.choice([ "Wish everyone high ratings!", "Good luck!", "Have fun!", "Please, read all the problems!"]) ~~~...
**UPD 1:** The scoring distribution time!

Full text and comments »

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

70.
By SecondThread, history, 3 years ago, In English
It's Happening! Meta Hacker Cup 2023 Schedule Meta Hacker Cup 2023 Schedule ================== Meta Hacker Cup is back! We’re excited to announce our schedule for our 2023 season, kicking off on **September 22nd**! - Practice Round: [Fri. Sept 22nd, 10am Pacific — Mon. Sep. 25th, 10am Pacific](https://www.timeanddate.com/worldclock/fixedtime.html?msg=Meta+Hacker+Cup+2023+Practice+Round&iso=20230922T10&p1=234) (72 hours)* - Round 1: [Sat. Oct. 7th, 10am — 1pm Pacific](https://www.timeanddate.com/worldclock/fixedtime.html?msg=Meta+Hacker+Cup+2023+Round+1&iso=20231007T10&p1=234&ah=3) (3 hours) - Round 2: [Sat. Oct. 21th, 10am — 1pm Pacific](https://www.timeanddate.com/worldclock/fixedtime.html?msg=Meta+Hacker+Cup+2023+Round+2&iso=20231021T10&p1=234&ah=3) (3 hours) - Round 3: [Sat. Nov. 4th, 10am — 1pm Pacific](https://www.timeanddate.com/worldclock/fixedtime.html?msg=Meta+Hacker+Cup+2023+Round+3&iso=20231104T10&p1=234&ah=3) (3 hours) - Finals: [Sat. Dec. 9th, 6am &mdash; 10am Pacific](https://www.timeanddate.com/worldclock...
our submission system before Round 1, when time will be at a premium., /codingcompetitions/hacker-cup/2023/practice-round) at any time between now and September 25th.

Full text and comments »

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

71.
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...
some point in time before the contest starts. Good luck!

Full text and comments »

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

72.
By FieryPhoenix, 7 years ago, In English
Codeforces Round #638 (Div. 2) Hi Codeforces! I’m thrilled to invite you to [contest:1348], which will take place on [contest_time:1348]. It's rated! There will be **6 problems**, and you will have **2.5 hours** to solve them. All the problems are written and prepared by me. Huge thank you to everyone who made this round possible: - [user:adedalic,2020-04-28] for awesome coordination, guidance, advice, and more <3 - [user:dragonslayerintraining,2020-04-28] for extensive testing, feedback, and buffing tests - [user:pikmike,2020-04-28], [user:walnutwaldo20,2020-04-28], [user:Benq,2020-04-28], [user:hocky,2020-04-28], [user:Geothermal,2020-04-28], [user:isaf27,2020-04-28], [user:McDic,2020-04-28], [user:bfs.07,2020-04-28], [user:iankury,2020-04-28], [user:songsinger,2020-04-28], [user:Agnimandur,2020-04-28], [user:dcshin,2020-04-28], [user:chrome,2020-04-28], [user:Rods,2020-04-29], [user:brian,2020-04-29], and [user:HAEtaRhoEta,2020-04-30] for taking the time to test and provide invaluable advice ...
-04-29], and [user:HAEtaRhoEta,2020-04-30] for taking the time to test and provide invaluable advice

Full text and comments »

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

73.
By MikeMirzayanov, 7 years ago, In English
Testing Round #16 (Unrated) Hello, Codeforces! Paul [user:stingray,2020-05-07] Komkoff is my hero! He found some issues in the network configuration. The most important of them was about flow control auto-negotiation: in case of our network routers the number of dropped packets reduced in times. Thanks! To be sure that it really helped to fix the issue I ask you to take part in [contest:1351]. It will start on [contest_time:1351]. Probably, it will contain 3 easy problems which are not prepared for now (I'll use some old problems, I think). The only reason to host the round is to check the system under a load. It will be an unrated round. I am upset about what happened with the last round. Once again, I apologize to both the participants and the writer, coordinator and testers. I wrote [user:Monogon,2020-05-07] about the incident and apologized. I am sure that the only way to **absolutely** prevent unrated rounds is just don't host them. And this is not my way. The most popular rounds were hosted with...

Full text and comments »

Announcement of Testing Round 16 (Unrated)
  • Vote: I like it
  • +1625
  • Vote: I do not like it

74.
By AquaMoon, history, 5 years ago, In English
Codeforces Round #732 Hello, Codeforces! I'm glad to invite you to [contest:1545] and [contest:1546], which will be held on [contest_time:1545]. **Note the unusual start time of the round.** The round will be rated for both divisions. Each division will have **6 problems** and **2.5 hours** to solve them. There may or may not be an interactive problem, so I suggest you should read the [guide for interactive problems](https://codeforces.me/blog/entry/45307). All problems were written and prepared by [user:CoupDeGrace,2021-07-02], [user:kuangbin,2021-07-02], [user:mejiamejia,2021-07-02], [user:Heltion,2021-07-02], [user:Melacau,2021-07-02], [user:Nanako,2021-07-02], [user:GOATWU,2021-07-02], [user:Cirno_9baka,2021-07-02], [user:Suiseiseki,2021-07-02], [user:ODT,2021-07-02], [user:box,2021-07-03], [user:Ynoi,2021-07-02], [user:syh0313,2021-07-02], [user:wh0816,2021-07-02] and me. And thanks to [user:QAQAutoMaton,2021-07-02], [user:gamegame,2021-07-02], [user:starusc,2021-07-02], [user:interesting...
:1545]. **Note the unusual start time of the round.**

Full text and comments »

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

75.
By Una_Shem, history, 7 years ago, translation, In English
About Gift Distribution Hello everyone! <img alt="Packages" src="https://codeforces.me/predownloaded/a7/ce/a7ce52909464af02e2f922990c8c7e4418b98f67.jpg" style="float:right; height: 500px; margin: 10px; max-width:50%;"/> “My name is Una and I am from the Codeforces team” &mdash; this is usually how my messages to users of the site begin. One of the reasons why I write a message is very joyful &mdash; sending out gifts to the winners of the competitions and now also to participants of crowdfunding dedicated to the 10th anniversary of Codeforces. That’s what I’d like to talk about a little bit. Everyone knows where it all starts &mdash; there is a round with gifts, in the comments to which after the ending the coordinators or Mike post a list of winners. Then, in a short time, all winners receive a system message asking them to update the data about the size of the T-shirt and address. In some special cases, such as crowdfunding, for example, all participants receive an email. For various reasons...
Sometimes **the whole process can take a long time**, sometimes a VERY long time . Especially now, Then, in a short time, all winners receive a system message asking them to update the data about

Full text and comments »

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

76.
By MikeMirzayanov, 7 years ago, translation, In English
Codeforces: Results of 2019 <a style="float:right; display: inline-block; margin:0 1em 1em 2em; max-width: 60%;" href="https://codeforces.me/10years"/> <img style="max-width:100%" src="https://assets.codeforces.com/images/codeforces-10-years-300.png"/> </a> Hi Codeforces! The platform recently turned 10 years old. We accept your congratulations at <a href="https://codeforces.me/10years">https://codeforces.me/10years</a>. Please review the progress in 2019 and support the anniversary crowdfunding campaign. Your donation will be a contribution to the future of Codeforces, will help its development and work. We need resources to continue to host rounds, not to stop developing, to innovate and to maintain the existing infrastructure. In 2019, together with numerous writers the coordinators worked on problems: [user:KAN,2020-02-06], [user:300iq,2020-02-06], [user:cdkrot,2020-02-06], [user:arsijo,2020-02-06] and recently joined [user:isaf27,2020-02-06]. And this year, rounds coordinated by other exper...
The results for this year were very surprising and pleased me at the same time! This year, again, Time to take stock of 2019.

Full text and comments »

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

77.
By MikeMirzayanov, 4 years ago, In English
Codeforces Sponsored by TON! <img src="/predownloaded/12/a0/12a02d5f16863f9f45bba4c6cd4224f0f2178b94.png" style="float:right; margin: 0 1em 1em 1em; width: 400px;"/> Hello, Codeforces. We have exciting news! Look at the logo. See the changes? Yes, we are happy to announce our new sponsor and partner – the TON Foundation! We appreciate their support! The Open Network (TON) is a fully decentralized layer-1 blockchain designed by Telegram to onboard billions of users. The TON Foundation is aimed to further develop and advance the TON Blockchain and its related products for a mass audience. Andrew Rogozov, founding member at the TON Foundation, says, "<i>We strongly believe in the idea of competitive programming itself, because it is in the TON Blockchain DNA.</i>" The TON Blockchain protocol was designed by Nikolai Durov — who is a two-time ICPC world champion, a three-time IMO gold medalist, a multiple IOI medalist, and a co-founder of Telegram — and other winners of international competitions...
protocol was designed by Nikolai Durov — who is a two-time ICPC world champion, a three-time IMO gold

Full text and comments »

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

78.
By KAN, 6 years ago, In English
How to set a Div. 1 or a Div. 2 round on Codeforces As you probably know, most of the rounds on Codeforces are created by active community members. We are very grateful to our talented authors from all around the world for bringing their ideas to tens of thousands of competitors, providing fun and learning experience for contestants of every expertise, from beginners to the world's top programmers. This post will cover the steps you need to take propose a round and become a problem writer on Codeforces. ## Who can be a problem author Best problems usually come from the most experienced participants. We have limited resources for rounds reviewing, so to make the process flawless for writers, starting January 1st, 2021, the following requirements for problem authors will be applied: - rating: 2100 or above, or - was a writer in the past. The restrictions may be updated in the future, the post will be updated accordingly. If your round is already in the review status, don't worry, it will be reviewed regardless of the current...
the first time you propose a contest., In some time you will have a coordinator(s) assigned to your contest proposal. They will review, It is interesting and challenging work to invent and prepare problems but is alsotime-consuming

Full text and comments »

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

79.
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...
curious about your predicted placement for IOI 2025, leave a comment! Note that astime passes, the model

Full text and comments »

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

80.
By Ra16bit, history, 5 years ago, In English
Competitive Programming Hall of Fame — cphof.org Hi Codeforces! Today I'd like to introduce the new [Competitive Programming Hall of Fame](https://cphof.org) project that is available at [cphof.org](https://cphof.org) ![ Logo ](/predownloaded/12/35/1235b4fcce22b33f83cf26221d889087e06d8592.png) #### Background A long time ago I've noticed that there is no single source of information with the results of previously held large programming competitions. Moreover, plenty of older championships don't maintain their websites anymore, and it becomes hard or even impossible to find any details about them, which is pretty sad. So I've decided to create [Competitive Programming Hall of Fame](https://cphof.org). #### About the project Competitive Programming Hall Of Fame is a project created to preserve the history of international championships in competitive programming. This website collects the results of the final stages for both worldwide and regional contests. By international championship we mean a contest consisting ...
A long time ago I've noticed that there is no single source of information with the results of

Full text and comments »

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

81.
By MikeMirzayanov, 5 years ago, In English
C++20 Is Released Hello, Codeforces. Please, welcome c++20 support on Codeforces. Yes, it is 64-bit. Thanks to Brecht Sanders: I used his distribution GCC-11.2.0-64 from https://winlibs.com/. If you have installed [PBOX](http://pbox.me/packages), you can add this compiler with the line `pbox install gcc11-64-winlibs`. Probably, a good idea is to add `C:\Programs\gcc11-64-winlibs\bin` into the PATH. More about PBOX you can read [here](https://codeforces.me/blog/entry/18274). I use the compilation command line similar to other GCC installations: `g++ -Wall -Wextra -Wconversion -static -DONLINE_JUDGE -Wl,--stack=268435456 -O2 -std=c++20 <source>`. The only differences are `-std=c++20` and `-Wall -Wextra -Wconversion` (I plan to use somehow such warnings in Polygon to suggest fixes in uploaded files). Now you can use c++20 in your solutions. I'm not sure there are many features useful in competitive programming. Probably, I'm wrong. For example, now you can write `vector v{vector{1, 2}};` inste...
time of the test execution. If I have time, I will someday publish scripts for testing c++ compiler

Full text and comments »

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

82.
By MikeMirzayanov, 8 years ago, translation, In English
Hello, ITMO! <img src="https://assets.codeforces.com/images/itmo-logo.png" style="margin:1em 1em 1em 1em; float:right;"/> Hi Codeforces! For you, perhaps it was yet another Codeforces round. But not for me. [contest:1066] is the first round tested on new judging servers at ITMO University. And this is not just an update of location. Ta-dam! Now your solutions will be judged on the new Intel i3-8100 processors. And this is not all news. The number of judging servers has increased, which means fewer queues during rounds! I am pleased to announce that now I live in St. Petersburg, I work at ITMO, and Codeforces is gradually moving from the walls of dear to me Saratov University to ITMO University. The decision to move was not easy for me. My plan is that, based on ITMO, I can focus more on Codeforces development and work on the platform. The number of world champions per square meter is simply overwhelming, and working with a large team of such enthusiasts (and professionals!) of sports pro...
that the old generation of judging servers had. Thus, the time limits in all problems remain the same.

Full text and comments »

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

83.
By tourist, 6 years ago, In English
touristreams are back! 006: SNSS 2020 R1, and more It's this time of the year again! Tune in at [twitch.tv/the__tourist](https://twitch.tv/the__tourist) at around [21:45 MSK, 21 Aug 2020](https://www.timeanddate.com/worldclock/fixedtime.html?msg=touristream+006&iso=20200821T2145&p1=3396) to watch me solving [SnarkNews Summer Series 2020 Round 1](https://contest.yandex.com/snss2020/contest/19320/enter) live! First I will do the round competitively without much interaction, and I'll be up for discussing the problems on stream afterwards. SnarkNews Winter/Summer Series (SNWS/SNSS) is organized by [user:snarknews,2020-08-19] yearly and consists of 5 rounds. Each round is a virtual 6-problem 80-minute contest open for 10 days. The series is open to all, but problem statements are in Russian only. Unlike last series, I'll be reading problem statements automatically translated to English on stream. To make the stream more fun and for easier understanding of what will be going on, you're welcome to do the round yourself beforehand! If...
It's this time of the year again!

Full text and comments »

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

84.
By dario2994, 6 years ago, In English
About Problemsetting (for AtCoder and Codeforces) Since the amount of information available about the preparation of a competitive programming contest for AtCoder/Codeforces is very little, I decided to collect here what was my experience. I will try to both describe my experiences and give some general advice to wannabe problemsetters. I hope that this will be useful to future problemsetters who are "out of the loop". Moreover, participants might be curious to know what happens behind the scenes (and maybe the platforms may consider this as a form of constructive feedback). *Acronyms*: - AGC = Atcoder Grand Contest - GR = Codeforces Global Round ### Why I know something about problemsetting? I am in the competitive programming world since ~8 years: I have participated in IOI/ICPC/GCJ and a number of contests on AtCoder/Codeforces (and lately Codechef). I am not a top participant but, being in this world for so long, I know, more or less, all the standard tricks. Recently, I was the author of the *flagship conte...
said in the "Creating Problems" section). It's an unnecessary waste of time (both yours and the, In my case (in particular for the GR11) I had plenty of time to write the editorials and I decided, My strategy to create as many problems as possible is to devote as much time as possible. I was

Full text and comments »

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

85.
By tourist, 9 years ago, In English
My strategy at AtCoder & CS Academy There's been much controversy lately about the late submission strategy not penalized by scoring systems of AtCoder and CS Academy. Most of the relevant discussion happened earlier at http://codeforces.me/blog/entry/53431 and http://codeforces.me/blog/entry/53449. I have a lot of thoughts on the topic, so I've decided to share them in a separate blog post. I really like the strategic part of programming competitions. Of course, problem solving is more important. But every contest consists of multiple problems, so there has to be a way of comparing participants which performed better at different problems. There's a huge variety of scoring rules, and I find it truly amusing. The "submit after solving all problems" strategy looks widely attributed to me now, mostly due to [user:Petr,2017-07-24]'s remarks regarding my participation in AtCoder contests. In my opinion, it's wrong for multiple reasons. A closer five-word description of my strategy is "implement after solvin...
leaving the contest without submitting is disadvantageous, as you spend time thinking whether you, make progress or look at a problem from a different perspective every time you get back to it. For, you run out of time, or consider all the stuff you need to do and start with the most important, I feel like this strategy has only one major disadvantage. Time spent in the beginning on problems

Full text and comments »

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

86.
By Okrut, 6 years ago, In English
Good Bye 2020 Hello Codeforces! We have a pleasure to invite you to [Good Bye 2020](https://codeforces.me/contests/1466), which will take place on [contest_time:1466]. You will have **3 hours** to solve **9 problems**. The round will be rated for participants of both divisions. The problems for this round were prepared by [user:gawry,2020-12-28], [user:Anadi,2020-12-28] and me. We would like to thank everyone who made this round possible: - [user:Nebuchadnezzar,2020-12-28] and [user:KAN,2020-12-28] for the excellent coordination; - [user:H4CKOM,2020-12-28], [user:221,2020-12-28], [user:manikjain4,2020-12-28], [user:namanbansal013,2020-12-28], [user:Prabowo,2020-12-28], [user:saurabhshadow,2020-12-28], [user:Gauravvv,2020-12-28], [user:Fly_37,2020-12-28], [user:Thaid,2020-12-28], [user:__rkm__,2020-12-28], [user:6520,2020-12-28], [user:Himanshu_77,2020-12-28], [user:H_M_Vaghasiya,2020-12-28], [user:Jellyman102,2020-12-28], [user:SecondThread,2020-12-28], [user:Origenes,2020-12-28], [...
], [user:antontrygubO_o,2020-12-29], [user:yarek,2020-12-29] and [user:Rzepa,2020-12-29] for taking thetime to test

Full text and comments »

Announcement of Good Bye 2020
  • Vote: I like it
  • +1604
  • Vote: I do not like it

87.
By -is-this-fft-, history, 5 years ago, In English
[Tutorial] Collection of little techniques #### Introduction There are a number of "small" algorithms and facts that come up again and again in problems. I feel like there I have had to explain them many times, partly because there are no blogs about them. On the other hand, writing a blog about them is also weird because there is not that much to be said. To settle these things "once and for all", I decided to write my own list about about common "small tricks" that don't really warrant a full tutorial because they can be adequately explained in a paragraph or two and there often isn't really anything to add except for padding. This blog is partly inspired by [user:adamant,2022-03-15]'s [blog](48417) from a few years ago. At first, I wanted to mimic adamant's blog structure exactly, but I found myself wanting to write longer paragraphs and using just bolded sentences as section headers got messy. Still, each section is short enough that it would not make much sense to write separate blogs about each of these things. A...
)$ time, potentially at the expense of query time. How the data structure actually works is actually

Full text and comments »

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

88.
By Tony2_CF, history, 11 months ago, In English
The Time Complexity Lower Bound for Segment Tree Beats is log^2 Original Post: https://jiry-2.blog.uoj.ac/blog/1404 The following content is translated by Gemini 2.5 Pro. ## Part 1: Introduction to the Hacking Method ### How to Map the Hack Sequence to a Segment Tree First, we are given a Hack sequence of length $len$. After $O(1)$ range addition operations and $\Theta(\log len)$ global $\text{chkmax}$ operations, this sequence becomes a cyclic shift (rotation) of the original sequence. Since a cyclic shift does not affect our range addition and global $\text{chkmax}$ operations (we can simply shift the indices for the range addition accordingly), we can consider the sequence as unchanged. If we have such a sequence, let $len=n^{\frac{1}{3}}$, and place such a sequence at intervals of $n^{\frac{2}{3}}$. Each sequence corresponds exactly to a segment tree interval. A subtree of size $n^{\frac{2}{3}}$ contains exactly one such segment tree interval. For the Hack sequence, the range addition operations are performed one by one on eac...
The Time Complexity Lower Bound for Segment Tree Beats is log^2, obtaining the beautiful structure that performs range addition at the 0.618 point. Thistime it, sequence. But at that time, this Cartesian tree didn't consider `1 2` size relationships, so the number, this back then and didn't even try to understand the time complexity., , accessing at least $\Omega(n^{\frac{1}{3}}\log n)$ segment tree nodes each time. Since the $\text{chkmax, time, I gave a pseudo-proof while retaining only two of the operations.

Full text and comments »

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

89.
By MinakoKojima, history, 11 years ago, In English
My sad story Teams advancing to 2016 WF Phuket in Asia have been announced recently. This announcement is undisputedly tantamount to a death sentence for me. I am the one waiting anxiously, refresh Dr. Hwang's blog everyday. But it seems that for years, our training was meaningless. I think many of us dedicate our passion to programming contests because we see them transparent, fair and without any corruption. And I also believe that as contestants, what we should do is only focus on the practice. And I thought those political business should never come to bother me one day. But sadly, it is my team who is going to become one of the sacrifices of a succession of the dissension. What happened so far ------------------ The quarrel between the Asia director and the local community is [a long story](http://blog.sina.com.cn/s/blog_b946da100101q21y.html) to tell. But it has never been as serious as it was in the past season. Now reflecting on this, I know on the surface everything is going okay...
power. If you don't make a sound this time, things may become more and more dangerous in the future, . If you don't make a sound this time, things may become more and more dangerous in the future. One of

Full text and comments »

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

90.
By Qingyu, 17 months ago, In English
About the Universal Cup, the Semifinals, and myself... Hey'all! This gonna be a long post, so let me put an important TLDR here first: we are going to host **The 3rd Universal Cup Semifinals**, which will take place on August 24, 2025 **online**, at [11:00 (UTC)](https://www.timeanddate.com/worldclock/fixedtime.html?msg=The+3rd+Universal+Cup+Semifinals&iso=20250824T19&p1=33&ah=5). This contest will be a part of our Finals Team Selection, which the detailed rules and announcements will be published later next week. --- Now for some extra context, if you're interested. Last week, we hosted the [last online stage](https://codeforces.me/blog/entry/143954) of The 3rd Universal Cup. After that, I posted a [feedback form](https://docs.google.com/forms/d/1g5Txhiirh_lRsvGfkYWRozu0WDDGK31IAXjB7VgeVoM/edit) on our discord server. I received lots of thoughtful responses (P.S — it's still open, so feel free to fill it out if you haven't yet!). I've read through all the feedback, and I'd like to share a few thoughts. ### On the Number...
virtually after the competition, which is why we now have eight active time windows each week so that, window to start at any time instead of several fixed time windows. Ah, well, the short answer: we

Full text and comments »

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

91.
By MikeMirzayanov, 3 years ago, In English
Polygon: AI-Powered Automatic Tips Hello, Codeforces! <i>For the new members of the community, I would like to remind you that Polygon (https://polygon.codeforces.com/) is a system developed and maintained by Codeforces for preparing programming problems. It is there that authors and coordinators develop all the problems for the rounds. Moreover, I believe a significant (large?) portion of the problems for other competitions is also developed there: various stages of ICPC, national competitions of different levels, educational problems for various courses, etc. <b>In 2023, more than 50000 problems were prepared in Polygon (only those for which a package was compiled are counted)!</b></i> Large language models are becoming an increasingly integral part of our lives, taking over routine and monotonous tasks. With their help, problems created in Polygon will now have fewer typos and incorrect language constructions. We have recently implemented three features in Polygon to ease routine tasks: * Translati...
round started and took the time to manually launch the edit prompter. In most (almost all?) problems, the text of the statement (on the left). You can only transfer for a whole paragraph at atime (that's

Full text and comments »

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

92.
By cjj490168650, history, 4 years ago, In English
[Repost] "Justice may be delayed, but it cannot be absent": New Evidence on NXIST's Cheating Scandal _Original post: [「正义可以迟来但不能缺席」:关于 NXIST 的一些新证据](https://zhuanlan.zhihu.com/p/620297880)_ _Translated by GPT-4 with some adjustment. Please inform me if there are any mistakes._ _All links to the invalid repository have been redirected to the backup repository._ **This article provides a logically complete set of evidence, which does not involve any non-public internet resources, regarding the "suspected cheating" incident involving the ICPC Yinchuan Station and ICPC Shenyang Station in 2021. By discovering the suspected GitHub account ([NaokiLH](https://github.com/NaokiLH), renamed to https://github.com/brokenTarget) of a team member from Ningxia Institute of Science and Technology (NXIST) TS 1 team, Lan Hao, two years ago, and by mining and analyzing the commit records of his algorithm competition repo, we have obtained direct evidence that at least 4 questions from the 2021 Yinchuan regional contest set and at least 6 questions (including scrapped questions) from the 2021 Sh...
Shenyang Regional Contest. As of the time of writing, this problem has not been publicly used. However, **In-depth review, let's speculate on the situation at the time according to the timeline:**, Video at 1 minute 29 seconds: The competition time for the Shenyang station was postponed from the

Full text and comments »

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

93.
By lotusblume, 16 months ago, In English
Worst-Case Graphs for Maximum Flow Algorithms Maximum flow algorithms are known to perform significantly better in practice than their worst-case time complexities would suggest. So in this blog, I will present graphs on which the following maximum flow algorithms actually achieve their worst-case running time: | Algorithm | Time Complexity | | ----------------------- | ------------------------------ | | Ford-Fulkerson with DFS | $\mathcal{O}\big(m^2 \cdot U)$ | | Edmonds-Karp | $\mathcal{O}\big(n \cdot m^2\big)$ | | Dinic | $\mathcal{O}\big(n^2 \cdot m\big)$ | | DFS with Scaling | $\mathcal{O}\big(m^2 \cdot \log(U)\big)$ | | Dinic with Scaling | $\mathcal{O}\big(n \cdot m \cdot \log(U)\big)$ | | Most Improving Augmenting Paths | $\mathcal{O}\big(m \cdot \log(U) \cdot (m + n \cdot \log(n))\big)$ | | FIFO Preflow Push | $\mathcal{O}\big(n^3\big)$ | | Highest-Label Preflow Push | $\mathcal{O}\big(n^2 \cdot \sqrt{m}\big)$ | Here and in the rest of this blog: - $n =$ number of vertices, ...
)$ times. This results in a running time of $\Omega(n \cdot m)$. - Remember that I allowed Genrmf to use, To achieve a running time of $\Omega(n^3)$ we will reuse this structure $\Omega(n)$ times. To do, time complexities would suggest. So in this blog, I will present graphs on which the following

Full text and comments »

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

94.
By MikeMirzayanov, history, 2 years ago, In English
Welcome GNU G++23 14.2 (64 bit, msys2) <i><b>UPDATE:</b> Some time ago, there was news here that we supported C++23 by installing GCC 14 from the Winlibs project. It turned out that with this method of supporting C++23, some compatibility issues lead to significant performance drops in certain submissions. So, I tried another distribution for GCC 14: the MSYS2 project. It seems that this problem does not occur with it, and now there are no unexpected performance drops. Let's test this C++23 support option together!</i> Hello, Codeforces! Together with [user:Vladosiya,2024-08-22], we've added support for the 64-bit g++14 C++23. You can find it under the name `GNU G++23 14.2 (64 bit, msys2)`. If you're using Windows, you can easily install it via our minimalistic package manager, PBOX, by running the command `pbox install gcc14-64-msys2`. Thanks to the MSYS2 project! We used the distribution from the official package manager. Your solutions will be compiled using the following command line: `g++ -Wall -Wextra -...
UPDATE: Some time ago, there was news here that we supported C++23 by installing GCC 14

Full text and comments »

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

95.
By dXqwq, 2 years ago, In English
Mike, alts and unfriendly comments I know that the following content might not be welcomed and I will lose lots of contribution, but I should write something about such a bunch of chaotic comments under there. I may delete this tomorrow if I find my words useless. ### What happened Several months ago, Mike posted a blog about banning [user:orzdevinwang,2024-10-07]'s alt, [user:zh0ukangyang,2024-10-07], and more alts. Lots of participants, including myself, were angry because [user:zh0ukangyang,2024-10-07] is such a talented coder and codeforces didn't treat the rule of single account seriously at that time. Then more and more alt accounts with high rating are reported, including mine. After that I didn't use alts anymore, and most of high-rated Chinese participants(100% in my friends) discarded their alts and followed the rules. We might think that the rules are not that perfect, but rules are rules. I believe that no one will say "Banning [user:zh0ukangyang,2024-10-07] is unacceptable". But I know what y...
account seriously at that time. Then more and more alt accounts with high rating are reported

Full text and comments »

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

96.
By SanguineChameleon, history, 13 months ago, In English
I've (also) completed Project Euler ###_I've been dreaming of writing this for so long._ --- About 2 years ago, [user:Radewoosh,2025-10-22] posted a [blog](https://codeforces.me/blog/entry/122793) celebrating that he had solved all 865 problems on Project Euler. As a (naively optimistic) high-schooler back then, I thought to myself: _"Surely it can't be that hard, right?"_ 2 years later, there are now 965 problems, and I've solved all of them!! ![ ](/predownloaded/79/01/79019d6682d1c09808c1a205d72c4f4f838eccd8.png) ![ ](/predownloaded/98/f6/98f6fbe17d73c4691ad803c2d0725569c47d0cfb.png) --- I can’t even begin to describe how happy I am, and how wonderful the journey has been. Maybe I’ll write about it in another blog sometime. For now, I’ll answer some questions you might be thinking... ####_Literally, who asked?_ No one, of course. But this achievement means a lot to me, and I hope that this post inspires someone out there. ####_How long did it take?_ Kind of a difficult question to ans...
At the end of the day, I'm just a silly teenager with too much time on his hands.

Full text and comments »

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

97.
By Radewoosh, history, 8 years ago, In English
Blogewoosh #2 Hello, codeforces! All signs in the sky and on the ground indicate that you've enjoyed my first blog, so here is the second one. I've decided to choose a Polish task again, as there are plenty of interesting ones. This time we'll take a look at the "plot purchase" ([you can submit here](https://szkopul.edu.pl/problemset/problem/hwbyoUkNFPXQLOPcw3x5huTR/site/?key=statement)), which is a bit easier, but a few years ago I was very proud of myself when I solved it. The statement goes as follows: You are given a square $n \times n$ grid ($1 \leq n \leq 2000$). In every cell, there is a number from the range $[1, 2 \cdot 10^9]$. You are also given an integer $k$ ($1 \leq k \leq 10^9$). A task is to find a subrectangle of this grid such that the sum of values in this subrectangle lies in the range $[k, 2\cdot k]$ (or report that there is no such subrectangle). Just print coordinates of its opposite corners. [cut] $ $ If the problem would be more difficult, and we'd be asked to fi...
about it. See you next time! :D

Full text and comments »

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

98.
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...
Somehow, the end result → neither does the model brute-force solution work in time, nor do the test

Full text and comments »

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

99.
By HosseinYousefi, 12 years ago, In English
C++ Tricks I see lots of programmers write code like this one: ~~~~~ pair<int, int> p; vector<int> v; // ... p = make_pair(3, 4); v.push_back(4); v.push_back(5); ~~~~~ while you can just do this: ~~~~~ pair<int, int> p; vector<int> v; // ... p = {3, 4}; v = {4, 5}; ~~~~~ [cut] [This](http://codeforces.me/blog/entry/10124) is a great C++11 tutorial for those who want to know more about C++11. #### 1. Assign value by a pair of {} to a container I see lots of programmers write code like this one: ~~~~~ pair<int, int> p; // ... p = make_pair(3, 4); ~~~~~ while you can just do this: ~~~~~ pair<int, int> p; // ... p = {3, 4}; ~~~~~ even a more complex `pair` ~~~~~ pair<int, pair<char, long long> > p; // ... p = {3, {'a', 8ll}}; ~~~~~ What about `vector`, `deque`, `set` and other containers? ~~~~~ vector<int> v; v = {1, 2, 5, 2}; for (auto i: v) cout << i << ' '; cout << '\n'; // prints "1 2 5 2" deque<vector<pair<in...

Full text and comments »

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

100.
By MikeMirzayanov, history, 11 years ago, translation, In English
New: Educational Rounds on Codeforces! Hi everybody! First, I invite you to take part in an official [contest:597]. The fact is, the Codeforces team has made numerous changes to the platform (details are below), and we want to be sure that the basic functionality remained unchanged. This round will have a shortened duration of 1.5 hours, consist of 3 (maybe 4) problems that you might have already seen before. Its purpose is to test the system on the one hand, and on the other hand &mdash; to brighten up a Wednesday evening. Of course, the round will be unrated. Now the main thing. This coming Friday (yes, the 13th of November) Codeforces starts another line of rounds. We called them Educational Rounds. Using my students at the Saratov State University Programmings Competitions Training Center as an example, I regularly notice that even those who have a considerable progress in the results on the rounds often have narrow purview in terms of standard topics and ideas, they are not familiar with many well-known problems ...

Full text and comments »

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