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.
By Monogon, history, 6 years ago, In English
Codeforces Round #712 omg hi! I am pleased to invite you to participate in [contest:1503] and [contest:1504]! You will be given **6 problems** and **2 hours 15 minutes** to solve them. I'm happy to announce the theme of this round is déjà vu! I would like to thank the following people: - <a class="rated-user user-red" href="https://images.emojiterra.com/twitter/512px/1f921.png" title="The Entire Circus">antontrygubO_o</a> for accepting all of my problems <span style="color:white;">at gunpoint</span> - <a class="rated-user user-orange" href="/profile/Nika_Tamliani" title="Useless Tester Nika_Tamliani">Nika_Tamliani</a>, <a class="rated-user user-violet" href="/profile/arvindr9" title="Useless Tester arvindr9">arvindr9</a>, <a class="rated-user user-red" href="/profile/dorijanlendvaj" title="Useful Tester dorijanlendvaj">dorijanlendvaj</a>, <a class="rated-user user-blue" href="/profile/I_Love_YrNameCouldBeHere" title="Useful Tester I_Love_YrNameCouldBeHere">I_Love_YrNameCouldBeHere</a>, <a class="r...
user-red" href="https://images.emojiterra.com/twitter/512px/1f921.png" title ="The Entire Circus, - title <https://images.emojiterra.com/twitter/512px/1f921.png>

Full text and comments »

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

2.
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....
Telegram Returns as Title Sponsor of Codeforces!, back as our title sponsor. I'm happy, and not just because this means we can keep developing and, I'm glad to announce that Telegram is back as our title sponsor. I'm happy, and not just because

Full text and comments »

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

3.
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 ...
! I am pleased to invite you to test the new section, which so far has the workingtitle EDU. I hope, I am pleased to invite you to test the new section, which so far has the working title EDU. I hope

Full text and comments »

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

4.
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;"/>...
share some good news. And we have some! We have fantastic news! **News #1.** Ourtitle sponsor, **News #1.** Our title sponsor, TON Foundation, has extended and expanded its support of our

Full text and comments »

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

5.
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". ...
reduce the rating bound for the orange color. Thus, now the orange rating (and the _Master_title, title) will start from 2100 rating units.

Full text and comments »

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

6.
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]...
2023. #### Partner Events Of course, our main and favorite partner, our title sponsor isTON, Of course, our main and favorite partner, our title sponsor is TON Foundation. Thank you for

Full text and comments »

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

7.
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...
a title sponsor. This round is another way for us to contribute to the development of the community._, Some information from our title sponsor:

Full text and comments »

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

8.
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...
1121. Another Round, Input, Note, Output, memory limit per participant, time limit per participant

Full text and comments »

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

9.
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...
from our title sponsor: , And here is the information from our title sponsor:, _Since July, [we have been supporting](/blog/entry/104544) Codeforces as a title sponsor. This

Full text and comments »

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

10.
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...
made to be read. The title and content of this section is provocative by design, but the suggestion is, you're not meant to actually read them — they are in fact made to be read. The title and

Full text and comments »

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

11.
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...
to regular users. For example, even the title “Unreasonable delay for viewing submissions” no longer, working hard to make these problems less visible to regular users. For example, even thetitle

Full text and comments »

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

12.
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...
![Title of the 2020 Yinchuan problem statement (held on May 16, 2021)](https://pic4.zhimg.com/80/v2

Full text and comments »

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

13.
By maomao90, history, 3 years ago, In English
CodeTON Round 7 (Div. 1 + Div. 2, Rated, Prizes!) Hello Codeforces, We are very glad to invite you to participate in [contest:1896], which will start on [contest_time:1896]. You will be given **8 problems** and **2.5 hours** to solve them. The round will be rated for everyone. All the problems are written and prepared by [user:lanhf,2023-11-22], [user:Mike4235,2023-11-22], [user:thenymphsofdelphi,2023-11-22], [user:xuanquang1999,2023-11-22] and me. We would like to give our sincere thanks to: - [user:errorgorn,2023-11-22] for his wonderful coordination! - [user:Alexdat2000,2023-11-22] for translating problem statements. - [user:Um_nik,2023-11-22] and [user:conqueror_of_tourist,2023-11-22] for Legendary Grandmaster testing. - [user:jeroenodb,2023-11-22], [user:Kuroni,2023-11-22], [user:dario2994,2023-11-22] and [user:dreamoon_love_AA,2023-11-22] for International Grandmaster testing. - [user:generic_placeholder_name,2023-11-22], [user:MofK,2023-11-22], [user:minhcool,2023-11-22], [user:dvdg6566,2023-11-22] and [user:mag...
:** [Editorial](https://codeforces.me/blog/entry/122172) And here is the information from ourtitle, And here is the information from our title sponsor:, _Since July 2022, [we have been supporting](/blog/entry/104544) Codeforces as a title sponsor. This

Full text and comments »

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

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

Full text and comments »

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

15.
By Qingyu, 7 months ago, In English
The 2026 Universal Cup Finals The best and brightest programmers from around the world have gathered this week in Shanghai, China, for the highly anticipated 2026 Universal Cup Finals! <center> <img src="/predownloaded/e6/93/e693e47e517f397b13fc0a1dab505067ca789e98.jpg"> </center> ### Event Details - Date: Sunday, May 10th - Start time: 11:00 AM CST (3:00 AM UTC) - See [participating teams](https://codeforces.me/blog/entry/153064) - Full schedule can be found [here](https://finals.ucup.ac/schedule/) ### 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 the [English livestream](https://www.youtube.com/watch?v=Y9HMX3zhFMM) or the [Chinese livestream](https://live.bilibili.com/1753191619). <center style="margin: 2em;"> <iframe width="560" height="315" src="https://www.youtube.com/embed/Y9HMX3zhFMM" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipb...
/Y9HMX3zhFMM" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard, /embed/Y9HMX3zhFMM" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay

Full text and comments »

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

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

Full text and comments »

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

17.
By tourist, 5 years ago, translation, In English
VK Cup 2021 — Final (Engine) and Codeforces Round #740 Hello again! [contest:1563] starts very soon: on [contest_time:1563]. Today, [32 best contestants of the elimination round](https://codeforces.me/contest/1544/standings) will be fighting for cash prizes and eternal glory. You can follow the course of the contest and root for your favorite contestants [via this link](https://codeforces.me/spectator/ranklist/2488e608fc1223994a45bca34b4a2c51). Everyone except for VK Cup 2021 finalists is invited to [contest:1558] and [contest:1561] that start a couple of days later: on [contest_time:1558]. The rounds will be rated for everyone. All the problems were authored and prepared by me. Big thanks to everyone without whom this round would not be possible: [user:KAN,2021-08-22], [user:PavelKunyavskiy,2021-08-22], [user:scott_wu,2021-08-22], [user:xiaowuc1,2021-08-22], [user:1-gon,2021-08-22], [user:Aleks5d,2021-08-22], [user:lperovskaya,2021-08-22], [user:MikeMirzayanov,2021-08-22]. Special thanks to [user:s-quark,2021-08-22] ([2nd pl...

Full text and comments »

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

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

Full text and comments »

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

19.
By KAN, 10 months ago, translation, In English
Codeforces Blitz Cup 2026 <center style="margin: 2em;"> <img src="/predownloaded/a7/e8/a7e8478b9af90246ebd2a4e42b9bbbafd392b64f.png"/> </center> Hi Codeforces! I have a great announcement for you. This month, we're holding the second Codeforces Blitz Cup! Remember all the WA1s and CEs we've seen from LGMs stressing out to submit before the opponent? They are coming back! The Codeforces Blitz Cup is a single-elimination personal tournament where matches follow the special Blitz Rules. In short, each match is a 40-minute PvP contest, where problems open one by one, and only the first AC counts. The players can't use any help or prewritten code except a small template, and we get to watch them think and code live. - [Detailed rules](/r/blitz-rules) - [Bracket](/publish/blitz2026/bracket.html) Check out last year's final rounds streams: [day 1](https://www.youtube.com/watch?v=caoeMuNNQtg&embeds_referring_euri=https%3A%2F%2Fcodeforces.com%2F), and the [final day 2](https://www.youtube.com/watch?v=...
/Zo_g7svroG4?si=yTOrpj3UslRH1l8B" title="YouTube video player" frameborder="0" allow="accelerometer, ://www.youtube.com/embed/Zo_g7svroG4?si=yTOrpj3UslRH1l8B" title="YouTube video player" frameborder="0

Full text and comments »

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

20.
By RDDCCD, history, 4 years ago, In English
CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!) Hello, Codeforces! I'm very glad to invite you to participate in [CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!)](https://codeforces.me/contests/1810), which will start on [contest_time:1810].You will be given **8 problems** and **2 hours** to solve them. The round will be rated for everyone. I'd like to give my sincere thanks to: * [user:74TrAkToR,2023-03-29] for the wonderful coordination! * [user:Sulfox,2023-03-29] for the help with the statements. * [user:Suika_predator,2023-03-29], [user:SSerxhs,2023-03-29], [user:LLL_2820,2023-03-29], [user:xay5421,2023-03-29], [user:NemanjaSo2005,2023-03-29], [user:applese,2023-03-29], [user:bxhnb,2023-03-29], [user:fr200110217102,2023-03-29], [user:Sulfox,2023-03-29], [user:CCSU_DZX,2023-03-29] [user:PaperCloud,2023-03-29], [user:CedeaT0,2023-03-29], [user:Kath1031,2023-03-29], [user:jcccc,2023-03-29], [user:dyxg,2023-03-29], [user:tzc_wk,2023-03-29], [user:xiaoziya,2023-03-29], [user:qiqi20021026,2023-03-29], [user:Pointy,20...
here is the information from our title sponsor: , And here is the information from our title sponsor:, _Since July 2022, [we have been supporting](/blog/entry/104544) Codeforces as a title sponsor. This

Full text and comments »

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

21.
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...
respect my right as author to choose the style of the statements (he changed a title and inserted a joke

Full text and comments »

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

22.
By SlavicG, history, 5 years ago, In English
Codeforces Round #767 (Div. 1, Div. 2) #### Hello Codeforces! [user:magnus.hegdahl,2022-01-18] and I are glad to invite you to [contest:1628] and [contest:1629] which will be held on [contest_time:1629]! This round is rated for both divisions. In each division there will be **6 problems** and **2 hours** to solve them. We would like to thank the following amazing people: - [user:74traktor,2022-01-18] for great coordination of the round and translating the statements! - [user:efimovpaul,2022-01-18], [user:agrayush13,2022-01-18], [user:ak2006,2022-01-18], [user:BidoTeima,2022-01-18], [user:QuangBuiCP,2022-01-20], <a class="rated-user user-blue" href="/profile/mesanu" title="mihai">mesanu</a>, <a class="rated-user user-blue" href="/profile/_Vanilla_" title="chad">_Vanilla_</a>, [user:down,2022-01-18], [user:FedShat,2022-01-18], [user:gupta_samarth,2022-01-21], [user:namanbansal013,2022-01-21], [user:MoonKnight.,2022-01-18], [user:stefdasca,2022-01-18], [user:AlperenT,2022-01-18], [user:DivanCode,2022-01-20], [user...
class="rated-user user-blue" href="/profile/mesanu" title="mihai">mesanu, , " title="mihai">mesanu, title="chad <>

Full text and comments »

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

23.
By SlavicG, history, 5 years ago, In English
Codeforces Round #726 (Div. 2) #### Hello Codeforces! [user:ssense,2021-06-15] and I are very glad to invite you to [contest:1537] which will take place on [contest_time:1537]. The round will be **rated for participants with a rating lower than 2100**. Division 1 participants are also welcomed to take part in the competition but it will be unrated for them. The round was originally planned to be a division 3 round so the problems might be slightly easier than average Div 2. You will be given **6 problems** and **2 hours** to solve them. We would like to thank the following people: - <a class="rated-user user-red" href="/profile/1-gon" title="yo-yo master">1-gon</a> for amazing coordination of our round! - <a class="rated-user user-red" href="/profile/antontrygubO_o" title="orz Tester">antontrygubO_o</a> for testing, translating statements and providing useful ideas! - <a class="rated-user user-legendary" href="/profile/Maksim1744" title="orz Tester">Maksim1744</a>, <a class="rated-user user-re...
user-red" href="/profile/1-gon" title="yo-yo master">1-gon for amazing coordination of our round, - title="orz Tester">Maksim1744 <>, - title="orz Tester">antontrygubO_o <>, - title="yo-yo master">1-gon <> for amazing

Full text and comments »

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

24.
By KAN, 9 years ago, translation, In English
Codeforces Round #476 (Div. 2) [Thanks, Telegram!] Hi everyone! <img src="/predownloaded/bf/c1/bfc15c5c56f3e421cc2799e5e1e0273cac1e3605.jpg" alt="digital resistance" title="digital resistance" style="float:right; margin: 0 1em 1em 1em; width:30%"/> Tomorrow, [on the April 25-th, 2018 at 17:35 UTC](http://www.timeanddate.com/worldclock/fixedtime.html?day=25&month=4&year=2018&hour=20&min=35&sec=0&p1=166) we are holding [contest:965]! The round will be rated for the second division participants, members with higher rating can take part out of competition. I give the floor to [user:MikeMirzayanov,2018-04-24] to announce the round: _This round opens a series of thanks-rounds to those who significantly supported Codeforces in the crowdfunding campaign for the 8th anniversary. Although Telegram is not explicitly present on the list of donators, for us this is the first and most important friend. We express our gratitude to Telegram and personally to Pavel Durov for the constant support and send regards from programming contest com...
resistance" title="digital resistance" style="float:right; margin: 0 1em 1em 1em; width:30%"/>, ="digital resistance" title="digital resistance" style="float:right; margin: 0 1em 1em 1em; width:30

Full text and comments »

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

25.
By Zhtluo, history, 3 years ago, In English
The Reason You are Bad at Codeforces — You are Not Russian Enough If you are triggered by this clickbaity blog title, you are probably interested in improving your Codeforces skills. Now, I will share my point of view on the differences between Codeforces and ICPC contests, and how you can, in my humble opinion, maximize your Codeforces rating gain. I mostly consider that all conceivable competitive programming problems need three aspects of skill: 1. Observation &mdash; the ability to understand the problem and come up with non-trivial properties. 2. Technique &mdash; the ability to apply a well-known algorithm or data structure to the problem. 3. Implementation &mdash; the ability to code fast and debug fast. Collaterally, I refer to these three skills as Russian-ness, Chinese-ness and American-ness, respectively, for reasons you will soon see below. ## Observation (Russian-ness) Observation means that you stare at some problem for a sufficient amount of time and you are able to reduce it to some easier problem. One good proble...
If you are triggered by this clickbaity blog title, you are probably interested in improving your

Full text and comments »

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

26.
By rewhile, 20 months ago, In English
<h1>Mike, please stop ignoring your userbase</h1> **This blog will compile a list of codeforces issues along with all the times Mike has ignored complaints about them** ## 1. Unreasonable delay for viewing submissions [<a class="rated-user user-green">+973</a>] - [Submission pages on Codeforces often not loading](https://codeforces.me/blog/entry/134655) [<a class="rated-user user-green">+281</a>] by [user:jeroenodb,2025-04-04] on *October 2024* - [Unreasonable delay for viewing submissions](https://codeforces.me/blog/entry/135457) [<a class="rated-user user-green" title="Green 392">+392</a>] by [user:djm03178,2025-04-04] on *October 2024* - [Please, give us proper explanations about this nonsense.](https://codeforces.me/blog/entry/136830) [<a class="rated-user user-green">+300</a>] by [user:djm03178,2025-04-04] on *December 2024* No [user:MikeMirzayanov,2025-04-04] reply ## 2. Cloudflare misconfiguration [<a class="rated-user user-green">+1232</a>] Posted [CF should rename itself to Cloudflare instead of Codef...
="rated-user user-green" title="Green 392">+392] by [user:djm03178,2025-04-04] on *October 2024*

Full text and comments »

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

27.
By peltorator, 18 months ago, In English
"Algorithms in Depth" Stream Series: Kicking Off With FFT Hi Codeforces! I’ve long believed that it's _really_ worth revisiting the same competitive programming topics multiple times. The first time, you’re just trying to survive and maybe grasp the basics. The second time, you’ve solved some problems, you know where you got confused, and you're ready to absorb more. By the third time, you’ve seen and solved enough to start appreciating the subtleties — the tricks, advanced applications, deeper meaning. But most lectures I’ve seen are designed as a one-size-fits-all — trying to cover everything from scratch _and_ dive into the advanced stuff in one go. That’s rarely optimal. Take binary search. I once talked about it for six hours straight. A beginner at that lecture would’ve probably quit CP immediately. And that’s ok. Beginners don’t need all that. But the truth is, there _is_ that much depth to explore even in seemingly simple topics like binary search — once you're ready. Yet many people only see the beginner version once and mo...
" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write

Full text and comments »

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

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

Full text and comments »

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

29.
By sevlll777, 4 years ago, translation, In English
Codeforces Round 860 (Div. 2) Hello Codeforces! I am happy to invite you to [contest:1798], which will be held on [contest_time:1798]. This round will be **rated for participants with rating lower than 2100**. Participants with a higher rating are invited to participate in the round unofficially. You will be given **6 problems** and **120 minutes** to solve them. All problems were authored and prepared by me. The traditional thanks-list to everyone who took part in the creation of the round: &#129332; [user:DishonoredRighteous,2023-03-19] for coordinating the round &#128030; [user:gyh20,2023-03-19] for black-red testing of the round &#128520; [user:feecIe6418,2023-03-19], [user:iakovlev.zakhar,2023-03-19], [user:Dart-Xeyter,2023-03-19], [user:Adam_GS,2023-03-19], [user:felys,2023-03-19], [user:golikovnik,2023-03-19], [user:Gary2005,2023-03-19] for red testing of the round &#128043; [user:NemanjaSo2005,2023-03-19], [user:Alexdat2000,2023-03-19], [user:Kon567889,2023-03-19], [user:tem_shett,20...
amazing **Codeforces** and **Polygon** platforms ㅤㅤㅤㅤ , class="spoiler-title">Персональные рекомендации , ㅤㅤㅤㅤ Personal recommendations , "> Персональные рекомендации

Full text and comments »

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

30.
By Alexdat2000, 5 years ago, translation, In English
Codeforces Round #770 (Div. 2) Приветствуем всех людей и роботов на этом сайте! [user:sevlll,2022-01-23], [user:crazyilian,2022-02-03], [user:Mangooste,2022-02-03], [user:imachug,2022-02-03] и <a class="rated-user user-orange" href="/profile/Alexdat2000" title="Международный мастер Alexdat2000">я</a> приглашаем всех принять участие в [Codeforces Round #770 (Div. 2)](https://codeforces.me/contests/1634), который состоится в это [contest_time:1634]. **Этот раунд будет рейтинговым для всех участников с рейтингом строго меньше 2100.** У вас будет **2 часа 30 минут** на то, чтобы решить 6 задач. В раунде будет интерактивная задача, поэтому рекомендуем новичкам ознакомиться с [руководством по интерактивным задачам](https://codeforces.me/blog/entry/45307). Традиционный список благодарностей: - Спасибо [user:antontrygubO_o,2022-02-03] за то, что <s>терпел</s> координировал нас в течение очень долгого времени и помог улучшить одну из задач - Спасибо [user:alexxela12345,2022-02-03] за задачи, которые не дожили до ...
" href="/profile/Alexdat2000" title="Международный мастер Alexdat2000">я приглашаем всех принять, ,2022-02-03] и title="Международный <>

Full text and comments »

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

31.
By Arpa, history, 14 months ago, In English
I Filled an Empty Codeforces Page! <div style="float: right;margin: 0 1.0em 1.0em 1.0em;text-align: center;"> <iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen="" frameborder="0" height="560" src="https://www.youtube.com/embed/T9UZ21eaZJE" title="YouTube video player" width="315"></iframe> </div> <center> <be> <a href="https://algoritmiacademy.com/wp-content/uploads/2025/09/comments.png"> <img width="50%" src="https://algoritmiacademy.com/wp-content/uploads/2025/09/comments.png"> </a> <br> </center> You might wonder: what kind of _popular_ or _controversial_ topic gets **175 comments**? The answer: <center> <be> <a href="https://algoritmiacademy.com/wp-content/uploads/2025/09/content.png"> <img width="50%" src="https://algoritmiacademy.com/wp-content/uploads/2025/09/content.png"> </a> <br> </center> You are right! [Codeforces edu section &mdash; Community Course](https://codeforces.me/edu/course/3)! Most of ...
" allowfullscreen="" frameborder="0" height="560" src="https://www.youtube.com/embed/T9UZ21eaZJE"title

Full text and comments »

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

32.
By carcinisation, 3 years ago, In English
IOI 2024 Teams A few days ago, the team selection of Türkiye was completed after a glorious and intense battle. Since no one has posted a blog for the [IOI](https://www.ioi2024.eg/) teams yet, I have taken up the responsibility this year. Here is the IOI team of Türkiye: - Cengiz Eray Aslan ([user:erray,2024-05-12]) — 3rd time at IOI, 0 attempts left - Berke İnan Tol ([user:tolbi,2024-03-28]) — 2nd time at IOI, 0 attempts left - Duru Özer ([user:Weobe,2024-05-12]) — 1st time at IOI, 0 attempts left - Noyan Cantürk ([user:Nummer_64,2024-05-12]) — 1st time at IOI, 3 attempts left I wish the best of luck to all the participants. If you could kindly let me know the members of your team in the comments, I will be happy to update the list of participating teams. Good luck, and see you there! UPD: Added column for max rating average <table> <thead> <tr> <th>Country</th> <th colspan="4">Members</th> <th>Average of Max Ratings</th> ...
="/profile/orzdevinwang" title="Legendary Grandmaster orzdevinwang">orzdevinwang, >title="Legendary Grandmaster <>

Full text and comments »

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

33.
By -is-this-fft-, history, 6 years ago, In English
How to ask for help in PM There was a blog today with a similar title, and although it was (I think, not really sure as I didn't get a good look) some kind of satire/joke blog, I wanted to post some serious advice about things I (don't) like to see when people are PMing me. However I decided that this wouldn't be in the spirit of the blog and decided to make a separate blog. And now that blog is deleted anyway. While it's not a bad thing to write messages to more experienced users, most people who write me do things that make them very difficult to deal with. These are my opinions, but somewhy I feel that many reds will agree. Some things here feel silly to write because they are so obvious. But I'm only writing them because people regularly mess them up. [cut] $~$ ####Use punctuation and spelling. There are some [very simple rules](https://codeforces.me/blog/entry/82186#comment-689836) that make your messages infinitely more readable. I find it especially strange when many of these messagers call...
There was a blog today with a similar title, and although it was (I think, not really sure as I

Full text and comments »

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

34.
By cry, 3 years ago, In English
CodeTON Round 8 (Div. 1 + Div. 2, Rated, Prizes!) Hello Codeforcers! ================== We are pleased to invite you to participate in [contest:1942]. This round will start on [contest_time:1942] and will be **rated for all participants**. There will be $8$ problems to be solved in $3$ hours, with one divided into two subtasks. Similar to [USACO](https://usaco.org/), you will help Farmer John and his cows resolve a series of first world problems. Be there or be square. This round was cooked up by [user:smax,2024-03-10], [user:sum,2024-03-10], [user:oursaco,2024-03-10], [user:cry,2024-03-13], and [user:buffering,2024-03-10]. We would like to thank the following people for making the round possible: - Our favorite cherry [user:TheScrasse,2024-03-10] for the wonderful and speedy coordination. - Our MVP testers, [user:Benq,2024-03-10], [user:Geothermal,2024-03-26], and [user:rainboy,2024-03-26], for dedicating so much time to reviewing problems, providing essential feedback, and perfecting the problemset. - The rest of ...
And here is the information from our title sponsor:, _Since July 2022, [we have been supporting](/blog/entry/104544) Codeforces as a title sponsor. This

Full text and comments »

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

35.
By thanhchauns2, history, 4 years ago, In English
Codeforces Round #842 (Div.2) Hi Codeforces! ================== [user:Igorfardoc,2020-01-05], [user:Vladithur,2020-02-09], [user:alexdat2000,2019-08-18], [user:gluchie,2021-03-10], [user:DeMen100ns,2020-09-19], [user:Spyofgame,2021-10-03] and me (spelling "thanh-chau-n-s-2") are delighted to invite you to participate in [Codeforces Round #842 (Div. 2)](https://codeforces.me/contests/1768). **This round will be rated for all participants with a rating lower than 2100.** - Start time: [contest_time:1768] - Duration: **120 minutes**. - Number of tasks: **6**. <img align="right" src="https://media.discordapp.net/attachments/961567157622276126/1056248841348841594/received_3472327789705304.webp?width=541&height=676" width="30%" height="40%"> <spoiler summary="This contest is brought to you by"> - <a href = "https://www.facebook.com/HocvienPTIT">PTIT</a>, my university. - <a href = "https://discord.gg/codemely">Code Mely</a>, a Vietnamese fanpage for Computer Science. </spoiler> Special thanks to: ...
**Editorial is title="Editorial">out <https://codeforces.me/blog/entry/110901> .**, - title="Specialist errorgorn">errorgorn <>

Full text and comments »

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

36.
By ToxicPie9, 3 years ago, In English
You won't believe how this simple trick defeated the unexplained bug destroying every top LGM ### TL;DR Currently people are discussing a slowdown bug on Codeforces that seems to happen randomly, and can cause code to run 100x slower and get TLE. More details in [user:pajenegod,2024-03-03]'s [blog post](https://codeforces.me/blog/entry/126654). In this article, I present a mitigation: add the following to your code. ~~~~ #include <windows.h> void *operator new(size_t size) { if (void *ptr = HeapAlloc(GetProcessHeap(), 0, size ? size : 1)) return ptr; throw std::bad_alloc{}; } void operator delete(void *ptr) { HeapFree(GetProcessHeap(), 0, ptr); } ~~~~ <spoiler summary="If you use malloc/free in C++ (you shouldn't), also change them."> ~~~~ void *my_malloc(size_t size) { if (void *ptr = HeapAlloc(GetProcessHeap(), 0, size ? size : 1)) return ptr; throw std::bad_alloc{}; } void my_free(void *ptr) { HeapFree(GetProcessHeap(), 0, ptr); } ~~~~ </spoiler> <spoiler summary="If you use aligned new/delete in C++, also change the...
PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE

Full text and comments »

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

37.
By tibinyte2006, history, 4 years ago, In English
CodeTON Round 3 (Div. 1 + Div. 2, Rated, Prizes!) Hello, Codeforces! Or, as we like to say in Romania: Nu îmi amintesc să fi adresat întrebări, Codeforces! I am glad to finally invite you to participate in [contest:1750], which will start on [contest_time:1750]. You will be given **8** problems and **2 hours and 30 minutes** to solve them. It is greatly recommended to read all the problems, **statements are short and straight to the point**. I would like to thank: - [user:Artyom123,2022-10-31] for prodigious coordination. - [user:AquaMoon,2022-10-31], [user:mejiamejia,2022-10-31], [user:ugly2333,2022-11-05], [user:Ecrade_,2022-10-31] for huge help in preparation and authoring one of the tasks. - [user:errorgorn,2022-10-31] for being a VIP-tester. - [user:Lemur95,2022-10-31], [user:Gheal,2022-10-31], [user:Perpetually_Purple,2022-10-31], [user:Everule,2022-10-31], [user:IacobTudor,2022-10-31], [user:andrei_boaca,2022-10-31], [user:lucri,2022-10-31], [user:AlperenT,2022-10-31], [user:Kuroni,2022-10-31], [user:pra...
And here is the information from our title sponsor:, _Since July, [we have been supporting](/blog/entry/104544) Codeforces as a title sponsor. This

Full text and comments »

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

38.
By kuviman, 9 years ago, translation, In English
Codeforces: acm.sgu.ru comes back <img src="/predownloaded/e6/11/e6110c2bbfaa42c460f7c54f681a89fa9fe2395a.png" alt="acmsguru" title="acmsguru" style="float:right; margin: 0 1em 1em 1em;"/> Hello everyone! [acm.sgu.ru](http://acm.sgu.ru/) was created ~16 years ago by programming contests participants from Saratov university: [user:MikeMirzayanov,2018-04-23] and [user:andrewlazarev,2018-04-23]. Today its codebase and infrastructure are completely outdated, and supporting it is unreasonably hard. Nonetheless, Codeforces team is regularly asked to revive acmsguru, since there is still a lot of interest in the problemset. Here is the new functionality in Codeforces &mdash; additional section ["acmsguru" in Problemset](/problemsets/acmsguru). All the problems from the old system are moved there. There are still a few things to do here: correctly port interactive problems, improve looks of statements, support the new section in [Codeforces API](/api/help), support adding these problems to mashups. Anyway, you can ...
title

Full text and comments »

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

39.
By ATSTNG, history, 7 years ago, In English
[Tutorial] Пересечение матроидов простыми словами **[This article is also available in [English](https://codeforces.me/blog/entry/69287?locale=en)]** Привет, CodeForces. Я думаю, что матроиды &mdash; это прекрасные и очень мощные структуры, однако, не настолько хорошо известные в спортивном программировании. Я познакомился с матроидами на Зимних Петрозаводских Сборах 2019. Там была задача, которая очевидно не решалась обычными способами, известными мне тогда. Разбор этой задачи состоял буквально из трех слов “just matroid intersection”. Тогда мне потребовалось больше двух дней дорешивания чтоб найти всю необходимую информацию и детали и написать решение, которое получает Accepted. И намного больше времени мне потребовалось чтобы понять почему это действительно работает и как именно это работает. (Я до сих пор сомневаюсь в некоторых деталях.) Конечно, совершенно не трудно нагуглить все необходимые определения и статьи, связанные с этой темой, но мне кажется, что все они больше сконцентрированы на математической теории, с...
Wiki Matroids category](https://neerc.ifmo.ru/wiki/index.php?title =Категория:Матроиды) of about 20, ://neerc.ifmo.ru/wiki/index.php?title=Категория:Матроиды) из более 20 полезных статей. Некоторые из них не

Full text and comments »

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

40.
By Dominater069, 11 months ago, In English
IICPC Global Codefest 2026 Hello! Registrations for IICPC Global Codefest 2026 are opening soon. This is the first global edition of India's largest offline competitive programming competition. **About IICPC Codefest** IICPC (Intercollegiate Informatic and Competitive Programming Camp) is an academic and industry-backed organization focused on identifying, evaluating, and nurturing high-potential students in competitive programming, algorithms, and computer science fundamentals through rigorously designed, large-scale competitive examinations and camps. We organize Codefest, a multi-stage competitive programming competition conducted across India. This year, we are opening participation to international students from 50+ countries. **The prelims is individual participation, and online for international students. The deadline for registration is 15th January, 23:59 IST**. <img src="https://i.ibb.co/bRJt7y44/codefest-banner.png" height="50"> **Competition Structure** Prelims &mdash; Janua...
**Title Sponsor: Optiver**

Full text and comments »

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

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

Full text and comments »

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

42.
By cry, 15 months ago, In English
Codeforces Round 1050 (Div. 4) <center> <img src="https://codeforces.me/predownloaded/aa/9f/aa9f258454379845a0619839fde95151d3902e8f.png" style="width:100px;"/> </center> <div class="youtube-container" style="float:right; margin:0 1em 1em 1em; text-align:center;"> <iframe width="315" height="560" src="https://www.youtube.com/embed/VK969nPLEcc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> </div> I am extremely delighted to invite you to participate in my first solo round, [contest:2148], starting on [contest_time:2148]. There will be $7$ problems to be solved in $2$ hours and $15$ minutes. The format of the event will be identical to Div. 3 rounds: - ICPC rules with a penalty of 10 minutes for an incorrect submission; - 12-hour phase of open hacks after the end of the round (hacks do not give additional points) - after the end of the open hacking phase, all so...
;"> <B>title</B>="YouTube video

Full text and comments »

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

43.
By ko_osaga, 3 months ago, In English
Response to "Is IOI Becoming Too Heuristic?" I wrote a comment for [this post](https://codeforces.me/blog/entry/156303) by [user:AmShZ,2026-08-30] and it became too long, so I made a separate blogpost. Contains a bit of the spoiler for 2026 day 2 problems. ### On the title I define heuristic problems as problems for which there is no reasonable way to infer the score of your solution (full or partial) solely from the problem statement PDF. Your score depends not on the objective merit of your solution, but on what the author decided to put in the input file. Magic City has a solution that could reasonably be inferred solely from the PDF. It does not admit any heuristic that scores well. Therefore, I don’t think it is a heuristic problem. I highly object to heuristic problems in top-level contests, especially for high school students. But I don’t think this was an issue for IOI 2026, so I would not open that can of worms here. ### Problems too hard I think the main recurring issue with the IOI (not specific...
### On the title

Full text and comments »

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

44.
By Qingyu, 21 month(s) ago, In English
The 2025 Universal Cup Finals — Wrap up We are excited to share that The 2025 Universal Cup Finals just successfully wrapped up in Dongguan, China! <center> <img src="/predownloaded/cf/81/cf81069734f8d9b6e994f27c84e2781ccbe20c38.jpg"> </center> What a wonderful week! In our five-day event, participants went to the city tour of Guangzhou, competed in the Challenge session, participated in the Conference for Competitive Programmers, and most importantly, our main competition &mdash; The 2nd Universal Cup Finals! <div class="row"> <img src="/predownloaded/f5/d8/f5d8cd3b6264dfe7de13433662a7a1fbe61293f0.jpg" style="height: 262.0px;max-width: 100.0%;max-height: 100.0%;"> <img src="/predownloaded/cb/40/cb4020f1b2f88fc7cd7e40f11ccda90c88df26ba.jpg" style="height: 262.0px;max-width: 100.0%;max-height: 100.0%;"> </div> <div class="row"> <img src="/predownloaded/88/82/88820a183af6e038ba219c5887674276cd29322d.jpg" style="height: 262.0px;max-width: 100.0%;max-height: 100.0%;"> <img src="/predownloaded/8d/ab/8daba...
for securing their title of **The 2nd Universal Cup Champion**!

Full text and comments »

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

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

Full text and comments »

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

46.
By purplesyringa, history, 2 years ago, In English
Please improve QoL for blogs I'm pretty sure I've spent more time writing blogs than contests on Codeforces. Over time, I've found plenty of rough edges. So this is a plea to the Codeforces team to fix them. I'm effectively going to say "please redo everything" over dozens of paragraphs, but I'll hopefully make the steps to the solution tangible and clear. If this is deemed way too ambitious, few improvements are better than none. [cut] <!-- --> ## Publication time So I write a post in the Codeforces UI, save a draft, update it a few times, think it's ready, and publish it. I open my brand new post and see: > ### Totally not a useless post > By [user:purplesyringa,2024-09-24], history, 3 days ago, In English Okay, wait, "3 days ago"? Oh, right, that's when I saved the first draft. Now people open the post, see "3 days ago", see 0 upvotes, and what do they think? That's right, they think it's garbage because no one's voted positive, so they skip the article. Maybe not everyone's like tha...
right syntax. Finally, not everyone is aware that contest IDs and the number after `#` in thetitle, , so it'd be nice to show all coauthors of new posts below the title:, - Change the title texts of the vote buttons to "This is interesting" and "This is of poor quality, - Save the title, tags, etc., not just the body., title, the author, the date, the number of upvotes, and the first paragraph of the post. In the editor, title, which I usually spend a while on figuring out.

Full text and comments »

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

47.
By zscoder, history, 4 years ago, In English
[Contest] Statement Not Found: Season 2 #### Do you think you can solve CP problems without reading the problem statements? Let's find out! On [August 28, 2022 (Sunday) 19:30-22:00 GMT+8](https://www.timeanddate.com/worldclock/fixedtime.html?msg=Statement+Not+Found+-+Season+2&iso=20220828T1930&p1=122&ah=2&am=30), I will hold an unofficial fun contest called Statement Not Found. As you can deduce from the title, there will be no problem statements (except title and samples). Your goal is to collect as many points as possible within 2.5 hours :) Obviously, this round is **unrated**. It is somewhere between April Fools contest and a legitimate contest. The contest will be OI-style, meaning there will be no time penalty. You are allowed to use any resources online to help solve the problems. There will be **12** problems. **Scoring Distribution:** 200-400-700-700-700-800-800-900-1100-1100-1100-1500 (Total: 10000) **Please read all problems** as problem difficulty is very subjective and a 1100-point problem might b...
// is very weird. Why is it in the title? , Codeforces rating -> title , The input makes no sense and seems unrelated to the title, The title and the fact that the input is represented by $c, The title is asking you to factor the sample outputs and spot, You can reinterpret the title as "Parallel Euler Lines, is a graph problem, the ? in the title suggests that we should think twice (deja vu from season 1, unofficial fun contest called Statement Not Found. As you can deduce from the title, there will be no

Full text and comments »

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

48.
By ICPCNews, 3 years ago, In English
The 2023 ICPC World Finals Luxor <img src="/predownloaded/60/aa/60aa49ecdb6a668539163c4d7d797ac6f1bb43b3.jpg" align="right" style="height: 350px; margin: 10px 20px 20px;" alt="text"/> Hello Codeforces! The 2023 ICPC World Finals Luxor will begin on [April 18, 2024 at 10:00 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=2023+ICPC+World+Finals+Luxor&iso=20240418T12&p1=4626&ah=5). This time, we have a double World Finals. You can distinguish them by colors: blue (fish emoji) and green (crocodile). Join us on the live broadcast for this awesome double event of the year in competitive programming; commentators will include [user:ecnerwala,2024-04-17], [user:SecondThread,2024-04-17], [user:Egor,2024-04-17], and more! ICPC World Finals Luxor is hosted by The Arab Academy for Science, Technology, & Maritime Transport (AASTMT), the ICPC World Finalist teams for two seasons will compete for World Championship awards, prizes, and bragging rights. More than 130 teams of each season represent the best of gr...
<B>title</B>

Full text and comments »

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

49.
By sevlll777, history, 5 years ago, translation, In English
Codeforces Round #770 (Div. 2) editorial Thank you for participating, we hope you enjoyed the problems! We kindly ask you to rate each of the round's problems in the corresponding spoiler in order to improve the quality of future contests. You can also check video editorials of problems B and C on [user:ak2006,2022-02-06] [Youtube channel](https://www.youtube.com/channel/UCnZ5rC2_JY0EuYMGMiAbISg). All problems were prepared by [user:Alexdat2000,2022-02-02] with the help of coauthors. [Why didn't AI participate](https://codeforces.me/blog/entry/99579?#comment-884764) [problem:1634A]<br> Idea: [user:sevlll777,2022-02-02] <div class="spoiler"> <b class="spoiler-title">Hint 1</b> <div class="spoiler-content" style="display: none;"> What property will the string have after the first operation (regardless of the type of operation)? </div></div> <div class="spoiler"> <b class="spoiler-title">Hint 2</b> <div class="spoiler-content" style="display: none;"> What happens if you apply an operation to a palindrome? ...
Hint 1 , Hint 1.1 , Hint 2 , Hint 2.1 , Hint 3 , Hint 4 , Tutorial , Подсказка 1 , Подсказка 1.1 , Подсказка 2 , Подсказка 2.1 , Подсказка 3 , Подсказка 4 , Разбор

Full text and comments »

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

50.
By MikeMirzayanov, 15 years ago, translation, In English
The November Revolution of Colors and Titles <p> Hello! </p> <p> Today is November 7th. And this, as you probably know, is a very special day for many ex-USSR citizens. Many years ago on this day the Great October Socialist Revolution happened. I still remember red flags and military equipment on the avenue and the feeling of common joy and holiday. But today, in 2011, we have another revolution &mdash; the Codeforces revolution of colors and titles. Hooray! </p> <p> So, over the last few months our community has grown significantly. If we count the users who have participated in the rated contests over the last 9 months at least once, at the beginning of the year they were 4330, and now &mdash; 7615. This is a great step forward! Of course, this leads to a dramatic rating inflation. Most of the ELO-like ratings have the same issue. For example, only A. Karpov had Elo chess rating of more than 2700 in 1979; however, there were as much as 15 people with such rating in 1994, and in 2009 they were 33. In 2001 there were less than ...
solid black;">Title , win the proud title of a Grandmaster!, >Title Division

Full text and comments »

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

51.
By manish.17, 5 years ago, In English
Codeforces Round #766 (Div. 2) omg hi Codeforces! [user:ScarletS,2022-01-12], [user:flamestorm,2022-01-12], [user:fishy15,2022-01-13], [user:saarang,2022-01-12], <a class="rated-user user-orange" href="/profile/lookcook" title="Did no work and cried for name to be here">lookcook</a> and I are glad to invite you to our Codeforces round, [contest:1627], which will be held on [contest_time:1627]. **This round will be rated for participants with rating lower than 2100**. We would like to thank: - [user:Monogon,2022-01-12] senpai for excellent coordination of the contest. - [user:MikeMirzayanov,2022-01-12], for creating the amazing Codeforces and Polygon platforms! - [user:KAN,2022-01-15], for Russian translations! - [user:dorijanlendvaj,2022-01-12], [user:errorgorn,2022-01-12], [user:PurpleCrayon,2022-01-12], [user:generic_placeholder_name,2022-01-12], [user:blue,2022-01-12], [user:polarity-,2022-01-12], [user:atharv,2022-01-12], [user:epicxtroll,2022-01-12], [user:dbsic211,2022-01-12], [user:StArChAn...
,2022-01-12], title="Did no work and cried <>

Full text and comments »

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

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

Full text and comments »

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

53.
By dario2994, 3 years ago, In English
European Championship 2024 (EUC) <img src="/predownloaded/63/de/63dec3490d33610bedca123ae665430ca7387d6a.png" style="width:250px; float:right; margin: 0 1em 1em 1em"/> The [European Championship 2024](https://euc.icpc.global/) will take place on the 24th of March in Prague. The top teams from the European ICPC regionals CERC, NWERC, SEERC, SWERC will compete for the title of European champions. It is the first edition of this ICPC super-regional. The mirror contest [contest:1949] will be held on Codeforces at [contest_time:1949] and will last 5 hours. The mirror contest will contain the same problems as the official competition. I am the chief judge for the competition and I want to thank: - The amazing set of judges who proposed and prepared the problems: [user:antontrygubO_o,2024-03-19], [user:bicsi,2024-03-19], [user:giove,2024-03-19], Martin Kacer, [user:MZuenni,2024-03-19], [user:Petr,2024-03-19]. - Our beloved tester [user:ksun48,2024-03-19] who showed us that our perception of the difficultie...
the title of European champions. It is the first edition of this ICPC super-regional.

Full text and comments »

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

54.
By babbaranuj_exposed, history, 5 years ago, In English
LOVE BABBAR and ANUJ BHAIYA Exposed!!! Lets first give the introduction of these two **DUMBOS**. **BABBAR:** Runs a YouTube channel having 300K+ subscribers **ANUJ BHAIYA:** Runs a YouTube channel having 170k+ subs. **Who am I?** _Ans_: I am also among one of the YouTubers who belong to the company Amazon. **Why am I writing this post?** _Ans_: I am wanting to clear the misconception that they have spread about the company, and how they are misusing there wrong doings to wrongly influence people to do wrong tasks. **Background**: Recently Babbar posted that he will be resigning Amazon. Next Anuj posts that Amazon asked him to choose YouTube or Amazon, and he makes a video that he left Amazon for students. The moment Anuj released the video, Babbar felt he will loose out on fame, so within an hour, he posted on Linkedin that he also stood with 3L students over Amazon. The screenshots of these things are below.. ![ ](/predownloaded/de/c1/dec138c0c389f91e980b081fdb4a03a96a1c17ab.png) ![ ]...
- Use of sponsorships in videos which had use of Amazon logos in thumbnail and title.

Full text and comments »

55.
By kostia244, 7 years ago, In English
Tricks Which Will Increase Your Rating! Hello Codeforces! I got some interesting tricks to share with you. ### 1. a_i := (a_i + x)%mod Range Updates, Max Range Queries Apply usual range addition, but after each update run the following code: ```cpp void normalize(int l, int r) { while(getmax(l, r).max >= mod) { set(getmax(l, r).pos, getmax(l, r).max%mod); } } ``` What is the complexity of this code? We all know that each time we %%=mod$ number which is $\geqslant mod$ it halves, that means each number will be updated $O(log)$ times, we will perform $O(n\cdot\log{n}\cdot\log{a})$ operations in total. So each update will be $O(\log{n}\cdot\log{a})$ amortized! ### 2. $O(\log^2{\log{n}})$ Segment Tree Segment tree queries are queries on path. Instead of doing them in the usual brute force-ish way we can use HLD! Since maximum path length is $2\cdot\log{n}$, thus operations are now operations are $O(\log^2{\log{n}})$, which is better than $O(\log{n})$. ### 3. Faster Dinic's We know t...
/kostia244" title="Grandmaster kostia244">kostia244) or

Full text and comments »

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

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

Full text and comments »

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

57.
By glebustim, history, 3 years ago, translation, In English
CodeTON Round 6 (Div. 1 + Div. 2, Rated, Prizes!) ### Hello, Codeforces! [user:SomethingNew,2023-09-16] and I are glad to invite you to [contest:1870], which will take place on [contest_time:1870]. You will have 2 hours 15 minutes to solve 8 problems. The round will be rated for everyone. We would like to thank: - [user:74TrAkToR,2023-09-16] for coordinating this round. - [user:isaf27,2023-09-16], [user:ugly2333,2023-09-16], [user:DataStructures,2023-09-16], [user:Little09,2023-09-16], [user:bashkort,2023-09-16], [user:Kieray,2023-09-16], [user:fishy15,2023-09-16], [user:Vladithur,2023-09-16], [user:Dart-Xeyter,2023-09-16], [user:pakhomovee,2023-09-16], [user:makrav,2023-09-16], [user:meowcneil,2023-09-16], [user:127.0.0.1,2023-09-16], [user:Nanani,2023-09-16], [user:nnv-nick,2023-09-16], [user:SomethingDifferent,2023-09-17], [user:vl342,2023-09-16], [user:shiv_codegen,2023-09-17], [user:M1lkas,2023-09-16], [user:allmath,2023-09-16], [user:sdyakonov,2023-09-17] for testing the round and providing useful feedback. - [user:Mike...
And here is the information from our title sponsor:, _Since July 2022, [we have been supporting](/blog/entry/104544) Codeforces as a title sponsor. This

Full text and comments »

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

58.
By kpw29, 5 years ago, In English
You can do it, too! Introduction ------------------------------- So, I set myself [that challenge](https://codeforces.me/blog/entry/81383) to retire as a red coder before 24.09.2020... and I failed **miserably**. At least I am less delayed than most civil infrastructure projects. This blog will be a recap of this _short_ challenge with a mixture of some tips on practicing (for all levels!), some random life advice and, of course my bad sense of humour. It is dedicated to all those who aren't wonderkids, go from failure to failure and feel like banging their head into a wall during most of their competitive programming journey. Whatever your goal is, I'd like to strengthen your beliefs &mdash; you can do it! How it all started ------------------ My skill level has been in constant stagnation for years. I've always thought that I'm just not talented enough to be a grandmaster. Although I've been red twice in the past, it was quite lucky and the next contests were solid $-137$ and $-189$ so th...
granted a title for your lifetime. Thus, I wanted my third one.

Full text and comments »

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

59.
By purplesyringa, 5 years ago, In English
This is not an exit. ![This is not an exit.](https://i.ibb.co/N9zrDNp/cf.png) I am looking at the post called [*Is Mike Mirzayanov dictator?*](https://codeforces.me/blog/entry/94033) at the moment. I'm reading through the comments, I'm looking at people's reactions, I'm reading Mike's replies, and... I am utterly disappointed. I demand progress. For context, I do believe Codeforces is the best website for competitive programming contests at the moment. I sincerely give credit to Mike for creating Codeforces and providing participants and contest authors a platform for interaction completely for free. I am confident that Codeforces is the most appropriate website for being *the* platform for sharing knowledge, exchanging tricks and methods, and collaboration between both contest participants, their authors, and coordinators. **Please consider this an open letter**, for this is a will not of a single person, but of many individuals. Please consider signing it by stating so in a comment under the...
title="In <https://xkcd.com/137/>

Full text and comments »

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

60.
By Shoo, 19 months ago, In English
Codeforces Round 1024 (Div. 1, Div. 2) Hello, Codeforces! [user:eren__,2025-05-05], [user:sweetweasel,2025-05-05], and I are glad to invite you to [contest:2101] and [contest:2102]. Both rounds take place at [contest_time:2101], and have a duration of **2 hours** and **30 minutes**. The Division 1 contest is made up of $6$ problems, and the Division 2 contest is also made up of $6$! We would like to thank: - [user:maomao90,2025-05-05] for his wonderful coordination and *huge* help in preparing the round. - [user:Alexdat2000,2025-05-08] for the Russian translations. - Our testers: [user:mmdrzada,2025-05-05], [user:N_z__,2025-05-05], [user:Hamed_Ghaffari,2025-05-05], [user:Shahrad_Mirzaei,2025-05-05], [user:RSAMSD,2025-05-05], [user:-this-is-obd-,2025-05-05], [user:AmShZ,2025-05-05], [user:AlefHeKaaf,2025-05-05], [user:beny_kh,2025-05-05], [user:Nariman_MT,2025-05-05], [user:sohsoh,2025-05-05], [user:Shayan86,2025-05-05], [user:Nimazare,2025-05-05], [user:Amoo_Safar,2025-05-05], [user:_R00T,2025-05-05], [user:Um...
Codeforces platforms. - title="You">You <>, for, amazing Polygon and Codeforces platforms. - title="You <>

Full text and comments »

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

61.
By Vladithur, history, 4 years ago, In English
Codeforces Round #813 (Div. 2) Editorial Thanks for participating in the round, we hope you liked the problems! <spoiler summary="Solve count predictions (official div. 2)"> Handle | A | B | C | D | E1 | E2 | F --- | --- | --- | --- | --- | --- | --- | --- [user:Vladithur,2022-08-13] | 16K | 8K | 3K | 900 | 500 | 50 | 4 [user:_dlbm17,2022-08-13] | 14K | 9K | 5K | 500 | ? | ? | ? [user:thanhchauns2,2022-08-13] | 14K | 8K | 2K | 1K | 500 | ? | ? [user:QuangBuiCP,2022-08-13] | 14K | 7K | 2K | 1K | 500 | 24 | 5 [user:welleyth,2022-08-13] | 16K | 10K | 4K | 1.5K | 600 | 130 | 2 [user:Kon567889,2022-08-13] | 14K | 10K | 5K | 2K | ? | ? | 5 </spoiler> [problem:1712A] <spoiler summary="Hint"> The smallest possible sum is $1 + 2 + \ldots + k$. </spoiler> <spoiler summary="Tutorial"> [tutorial:1712A] </spoiler> <spoiler summary="Solution"> ~~~~~ #include <bits/stdc++.h> #define all(x) (x).begin(), (x).end() #define allr(x) (x).rbegin(), (x).rend() #define gsize(x) (int)((x).size()) const ch...
"boxes". The title is just "Empty Box" changed to "Empty Graph". Also, "O_o" is a reference to one of, The quote is just a modification of the original title of KonoSuba, , changed to fit the programming context. And the title is just "Fate Zero" changed to "Sort Zero

Full text and comments »

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

62.
By marat.snowbear, 12 years ago, In English
Codeforces Round #269 (Div. 2) Hello Codeforces community! I'm happy to invite you to participate in Codeforces Round #269 for Division 2 which will be held [this Friday, September 26th](http://www.timeanddate.com/worldclock/fixedtime.html?day=26&month=9&year=2014&hour=19&min=30&sec=0&p1=166). As usual first division coders are invited to participate unofficially, I would appreciate a lot if they will join. All problems are mine, so if you won't like them... well, you know whom to blame for those. I did my best in order not to disappoint you. Since this is my first round, let me introduce myself. I'm 27, have around 7 years of programming experience and was never into ACM/ICPC and stuff like that before, learned words like "dynamic programming" couple of years ago from the algorithms course on Coursera and a bit later found this site. I'm from Saint Petersburg, Russia, was born and lived here until I became 24. Then I got married and me and my wife decided to go live somewhere else and we moved to Kyiv, Uk...
announcement](/blog/entry/8615) he mentioned that he's taking the 'eldest problem setter'title from

Full text and comments »

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

63.
By sevlll777, history, 4 years ago, translation, In English
Editorial of Codeforces Round 860 (Div. 2) Thank you all for participating, I hope you enjoyed the problems! You can rate the problems of the round in the corresponding spoilers. [problem:1798A]<br> <div class="spoiler"> <b class="spoiler-title">Hint 1</b> <div class="spoiler-content" style="display: none;"> For each index $i$, it makes no sense to perform the operation $\ge 2$ once, since applying the operation with the same index twice does not change anything. </div></div> <div class="spoiler"> <b class="spoiler-title">Hint 2</b> <div class="spoiler-content" style="display: none;"> Condition $a_n = \max(a_1, a_2, \ldots, a_n)$ is equivalent to $a_i \leq a_n$ for all $i$. So for each index $i$ there are only 2 conditions: $a_i \leq a_n$ and $b_i \leq b_n$. </div></div> <div class="spoiler"> <b class="spoiler-title">Tutorial</b> <div class="spoiler-content" style="display: none;"> [tutorial:1798A]</div></div> <spoiler summary="Solution"> ``` for _ in range(int(input())): n = int(input()) a = li...
Hint 1 , Hint 1.1 , Hint 1.2 , Hint 2 , Hint 2.1 , Hint 3 , Hint 3.1 , Hint 4 , Tutorial , Подсказка 1 , Подсказка 1.1 , Подсказка 1.2 , Подсказка 2 , Подсказка 2.1 , Подсказка 3 , Подсказка 3.1 , Подсказка 4 , Разбор

Full text and comments »

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

64.
By Alexdat2000, 4 years ago, translation, In English
Codeforces Round #862 (Div. 2) Hello, everyone at Codeforces.com! In this round, I ([user:Alexdat2000,2023-04-01]) and two of my friends &mdash; [user:FairyWinx,2023-04-01] and [user:Sevlll777,2022-06-03] &mdash; prepared **6 problems** for you (one of which is divided into two subtasks), and you will have **2 hours** to solve them. Everyone is welcome to follow the link: [contest:1805] at [contest_time:1805]. **This round will be rated for all participants with a rating of strictly less than 2100.** And now a few acknowledgements: - Thanks to [**<font color="#ff0000">[Coordinator] pashka</font>**](https://codeforces.me/profile/pashka) for coordinating and helping with testers - Special thanks to [**<font color="#ff0000">[G.O.A.T.] Mangooste</font>**](https://codeforces.me/profile/Mangooste) for discussing tasks and testing - Thanks to all the testers: [**<font color="#000000">[MVP</font><font color="#ff0000">++</font><font color="#000000">] Ormlis</font>**](https://codeforces.me/profile/Ormlis...
" alt="China" title="China"> [user:b6e3,2023-04-02] 6 6987 , -flag" src="https://cdn.codeforces.com/s/80272/images/flags-16/cn.png" alt="China"title="China, /80272/images/flags-16/cn.png" alt="China" title="China"> [user:amiya,2023-04-02] 7, /80272/images/flags-16/us.png" alt="USA" title="USA"> [user:Geothermal,2023-04-02] 0:02, /images/flags-16/us.png" alt="USA" title="USA"> [user:Geothermal,2023-04-02] 0:02 , ://cdn.codeforces.com/s/80272/images/flags-16/cn.png" alt="China" title ="China"> [user:amiya,2023-04-02], ://cdn.codeforces.com/s/80272/images/flags-16/cn.png" alt="China" title ="China"> [user:b6e3,2023-04-02]

Full text and comments »

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

65.
By Um_nik, history, 4 years ago, In English
MIT Mystery Hunt Disclaimer: This blog is not about competitive programming; you probably will not learn anything about algorithms and data structures. In other words, it doesn't qualify for [this initiative](https://codeforces.me/blog/entry/110840), but I want to give a link to it anyways because I think it's cool. I love solving problems. No, seriously. I LOVE it. The mindset described in [this blog](https://codeforces.me/blog/entry/91114) is 100% how I feel. But it is not constrained to competitive programming problems. I loved math problems for a much longer time, and physics was somewhere there. But I also love solving puzzles. And playing puzzle games on the computer (well, on consoles). And participating in intellectual games. I am not as good in them as in cp, but it was never about being good for me, I just love the process. And I think that there might be some people with a similar love for puzzles among competitive programmers, this is why I decided to write this blog on CF <s>and no...

Full text and comments »

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

66.
By Mike4235, 4 years ago, In English
Codeforces Round #873 (Div. 1 & 2) Hello, Codeforces! [user:thenymphsofdelphi,2023-05-09], [user:lanhf,2023-05-09], and I are delighted to invite you to take part in [contest:1827] and [contest:1828] which are going to take place at [contest_time:1827]. Participants with a rating lower than 1900 will participate in Division $2$, while participants with a rating of at least 1900 will participate in Division $1$. In both divisions, you will be given **2 hours** to solve **6 problems** (one of which is divided into two subtasks), all of which were authored and prepared by me, [user:lanhf,2023-05-09], and [user:thenymphsofdelphi,2023-05-09]. We would like to thank the following people who made our round possible: - [user:74TrAkToR,2023-05-09] for his great coordination and help with the problems' preparation during the last 4 months. - [user:khuepr123,2023-05-09] for doing nothing but being the mascot. - [user:A05,2023-05-09], [user:Kawaii,2023-05-09], [user:SeehEternity,2023-05-09], [user:yanglake,2023-05-09], ...
the Legendary Grandmaster title!

Full text and comments »

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

67.
By errorgorn, 14 months ago, In English
Congrats bribritt on becoming Singapore's new youngest LGM bro still has 3 more IOI and IMO attempts &#128128;&#128128;&#128128; <spoiler summary="By the way, I was wondering whether Singapore having 2 LGMs would make us the highest LGM per capita. It turns out no."> Note that here, I am doing it by max rating, instead of current rating. <div style="text-align:center;"> <img src="https://cdn.discordapp.com/attachments/752406106009239585/1423728259522105588/image.png?ex=68e15dc4&is=68e00c44&hm=a4ca2cc71c4482788e5915e40b71213a9a8d896fddd8594758c8d6b1eac663af&" style="width:50%;"> </div> In the chart above, I manually added one more LGM to Singapore. The error bars are what happens with $\pm 1$ LGM. Manually inspecting the above graph, we see that we should probably remove Antigua and Barbuda, and Samoa. Actually let's remove Cyprus (which I think <a class="rated-user user-red" href="/profile/Endagorion" title="International Grandmaster Endagorion">Endagorion</a> plausibly lives there) too from the plot so we can see everythin...
/Endagorion" title="International Grandmaster Endagorion">Endagorion plausibly lives there) too from the

Full text and comments »

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

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

Full text and comments »

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

69.
By Egor, 12 years ago, In English
Bayan 2015: Finals [Final scoreboard](http://contest.bayan.ir/en/contest/final_2014/scoreboard/) [Introduction](/blog/entry/17541) [Arrival](/blog/entry/17631) [History](/blog/entry/17633) [Some photos from contest and closing ceremony](/blog/entry/17733) Interview with Bayan CEO Ali Ghadiri and some photos from the event will be published tomorrow Places 10-15 received bronze medals Top 3 receive gold medals. Silver medals for next several places: 4. Adrian Budau 5. Peyman Jabbarzade 6. Pooya Zafar. Places 7-9 also received silver medals, unfortunately I could not keep up with announcers Nikola Djokic is third! Ali Haghani is second. Congratulations! And the winner is Evgenii Kapun aka ~eatmore,2015-05-02 Winners will be announced shortly! Speeches, videos and performances &mdash; all the usual things for closing ceremony. Closing ceremony is underway. We'll know winners shortly Scoreboard is frozen |Place|Name|Country |A |B |C|D |E|F|G |H |Score| |-...
2:22 Eugene solved G as well. Would it be enough to clench the title?

Full text and comments »

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

70.
By NajmuddinSabr, history, 19 months ago, In English
IOI 2025 Teams Salam everyone! IOI 2025 is right around the corner and this year it’s heading to Sucre, Bolivia! Drop your country’s IOI 2025 team in the comments. Added $2^6$ country <table> <thead> <tr> <th>Country</th> <!-- говорим, что колонка Members будет занимать две ячейки --> <th colspan="4">Members</th> <th>Average of Max Ratings</th> </tr> </thead> <tbody> <tr> <td>China</td> <td> <a class="rated-user user-legendary" href="/profile/liuhengxi" title="Legendary Grandmaster liuhengxi"><span class="legendary-user-first-letter">l</span>iuhengxi</a> </td> <td> <a class="rated-user user-legendary" href="/profile/crazy_sea" title="Legendary Grandmaster crazy_sea"><span class="legendary-user-first-letter">c</span>razy_sea</a> </td> <td> <a class="rated-user user-legendary" href="/profile/JoesSR" title="Legendary Grandmaster JoesSR"><span class="legendary-user-first-letter">J</...
="/profile/liuhengxi" title="Legendary Grandmaster liuhengxi">, > title="Legendary Grandmaster <>

Full text and comments »

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

71.
By ICPCNews, 5 years ago, In English
ICPC World Finals Moscow <img src="/predownloaded/a2/a3/a2a35281876bb89fc2558c46e36184124ca60caf.png" align="right" style="height: 400px; margin: 10px 20px 20px;" alt="text"/> Hello, Codeforces! ICPC World Finals Moscow will begin on [October 5, 2021 at 8:30 (UTC+3)](https://www.timeanddate.com/worldclock/fixedtime.html?msg=ICPC+World+Finals+Moscow&iso=20211005T0830&p1=166&ah=5). We are thrilled to invite you to join the live broadcast of the main event of the year in the world of sports programming! For the very first time in October 2021, Moscow will host the world’s most prestigious competition for young IT talents, the ICPC World Finals Championship. The last International Collegiate Programming Contest has hosted over 60000 students from 3,514 universities in 115 countries that span the globe. October 5 more than 100 teams will compete in logic, mental speed, and strategic thinking at Russia’s main Manege Central Conference Hall. Some useful links: - [Official website of the ICPC](http://...
<B>title</B>

Full text and comments »

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

72.
By __baozii__, history, 5 months ago, In English
Spectral::Cup 2026 Round 3 (Codeforces Round 1110, Div. 1 + Div. 2) Hello Codeforces! I am glad to invite you to participate in [contest:2245], which will start on [contest_time:2245]. You will be given **2 hours and 30 minutes** to solve **8** problems, where **one problem** will be split into subtasks. Also, there is **at least one** interactive problem, so you are recommended to read the [guide](https://codeforces.me/blog/entry/45307) to interactive problems if you have not encountered them before. Note that **hacks will be disabled** for problems A to D. All problems are authored and prepared by myself. Note the [rule restricting the use of AI](https://codeforces.me/blog/entry/133941). If you are caught breaking this rule, you will be thrown into [user:SSerxhs,2026-07-09]'s basement. For your own well-being, I suggest adhering to the rules. I would like to thank the following people for helping make this round possible! - [user:SSerxhs,2026-07-09] for his/her satisfactory coordination. - [user:Alexdat2000,2026-07-12] for trans...
://youtube.com/embed/cVYiKN44KL8" title="YouTube video player" frameborder="0" allow

Full text and comments »

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

73.
By galen_colin, 3 years ago, In English
THE OPTIMAL PRACTICE STRATEGY (**NOT CLICKBAIT**) Spoiler: it's clickbait. Sorry. Titles like those are fun. ...but, it's the same style of clickbait as my [roadmap](https://www.youtube.com/watch?v=bSdp2WeyuJY) [spoiler 2: if you haven't seen that, it markets itself as a standard roadmap (y'know, soulless and devoid of purpose), but then a few minutes in, says "ok but roadmaps are stupid and here's the advice that you really need" and completely changes the direction of the video]. That's my style of clickbait, and that's the vibe this blog goes for. [cut] <br><br> So... hear me out, please. The start ------------------ First, a couple meta-notes. I will likely exaggerate my tone a bit here for dramatic effect. Don't take it personally, please. Also, **this applies to almost all ratings**. At the very least, I recommend you process the main point of this blog and see whether or not you already do something similar (for most people... probably not?) The problem ------------------ I'm sure if you've looked at the...

Full text and comments »

Tags hi
  • Vote: I like it
  • +207
  • Vote: I do not like it

74.
By MikeMirzayanov, 2 years ago, In English
ICPC World Finals in Astana: I invite you to a push-up challenge! Hi everyone! At the ICPC World Finals in Astana, there's an Alumni Zone, and I've been invited there on [September 18th from 16:30 to 17:00](https://www.timeanddate.com/worldclock/fixedtime.html?msg=ICPC+World+Finals+in+Astana%3A+push-up+challenge&iso=20240918T1630&p1=921&am=30) (Astana time/UTC+5). I suggest we hold a push-up challenge during this time! I'm ready to participate and would be happy to see other participants. Let's do some push-ups! Are you ready? I'll give a Codeforces t-shirt to the winner. If this isn't your kind of sport and you're only into competitive programming, feel free to drop by to cheer and have fun. See you there! **UPD 1:** Thanks to [user:1.6,2024-09-16] for the idea! I'm planning to stream (instagram live) from my Instagram account: https://www.instagram.com/mikemirzayanov/ **UPD 2:** People came up to me and asked about the format. I think we'll do it this way: we'll do sets of 25 push-ups. Gradually, people will start dropping out. Wh...
will be the winner! So to speak, they'll hold the title of World Push-up Champion according to the

Full text and comments »

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

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

Full text and comments »

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

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

Full text and comments »

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

77.
By galen_colin, history, 6 years ago, In English
Alternate timelines Hi everyone! I'm writing this blog to hopefully throw out a bit of inspiration. With any measure of skill such as rating, people are always going to tie up their self-confidence with it. Unfortunately, that means when rating is lost, people lose confidence and/or motivation, which always sucks, especially with huge rating losses that seem impossible to overcome. But I want to demonstrate with an example that in the long run, even the largest rating losses won't affect much. We'll use [my performance on Global Round 7](https://codeforces.me/contest/1326/standings/participant/34093562#p34093562) as an example. A whopping <a style = "color: red; font-weight: bold; pointer-events: none;">-166</a>*. Devastating, right? Well, let's see about that... Let's look at the alternate timeline where I didn't participate in the round and the rating loss never happened (but my performance in the later contests was the same). Thanks to [user:sjsakib,2020-06-27] and [cfviz](https://cfviz.netl...
definitely more important to _keep_ a certain rating/title rather than just _reaching_ it.

Full text and comments »

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

78.
By AquaMoon, 3 years ago, In English
Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) Editorial Thank you for participation and we hope you enjoy this round ヽ(^ o ^)/. During the contest, there was a small issue in problem D. For those affected, we have skipped your duplicate submissions (if your duplicate submissions were not skipped, please let us know). We apologize again for any inconvenience caused. In addition, we are honored to invite you to our unofficial round tomorrow (*╹▽╹*) [Invitation to TheForces Round #22 (Interesting-Forces)](https://mirror.codeforces.com/blog/entry/119771) ### [1864A-Increasing and Decreasing](https://mirror.codeforces.com/contest/1864/problem/A) Idea : [user:wuhudsm,2023-08-27] <spoiler summary="Tutorial"> We use the following greedy construction: For all $i$ ($1<i<n$), set $a_i=a_{i+1}-(n-i)$. If $a_2-a_1 \geq n-1$, we've found a solution, otherwise there is no solution. Proof. Assume there's a solution which includes an index $i$ ($1<i<n$) such that $a_{i+1}-a_i>n-i$. We can make $a_j:=a_j+\Delta$ for all $j$ ($2 \le j ...
title

Full text and comments »

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

79.
By djm03178, 3 years ago, In English
Can we upgrade contest divisions? Often these days it feels like the problems are too hard for their positions but it's almost never the other way. I'm not saying these problems are fundamentally bad &mdash; it's good to confront them to improve our problem solving skills &mdash; but it's not very healthy in a contest's perspective. Let me bring up some examples: **Example 1.** Yesterday's contest, [contest:1973], had no official all solves. Most of Grandmasters, and even LGMs suffered from the difficulty of problem F. Less than 1% of the official participants were able to solve any of the harder half of problems of the contest. **Example 2.** [contest:1971], had the hardest problem [problem:1971H] that requires knowledge of 2-SAT. Only a very few official participants were able to solve it even though the topic was pretty well-known, just because the subject's level itself is too high. I think this is one of the harder topics even for the last problem of Div. 3, but it appeared on a Div. 4 contest. **Examp...
://www.acmicpc.net/problem/15983) (guess what, the problem title is literally "teleporting platform") with

Full text and comments »

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

80.
By purplesyringa, history, 6 years ago, In English
crazySegmentTree: Segment Tree implementation with 5x faster queries than bottom-up tree Hello, Codeforces! A few days ago [user:MohammadParsaElahimanesh,2021-04-06] posted a blog titled [Can we find each Required node in segment tree in O(1)?](https://codeforces.me/blog/entry/89377) Apparently what they meant was to find each node in $\mathcal{O}(ans)$, according to [ecnerwala's explanation](https://codeforces.me/blog/entry/89377?#comment-777885). But I was too dumb to realize that and accidentally invented a parallel node resolution method instead, which speeds up segment tree a lot. A benchmark for you first, with 30 million RMQ on a 32-bit integer array of 17 million elements. It was run in custom test on Codeforces on Apr 6, 2021. - **Classic implementation from cp-algorithms:** 7.765 seconds, or 260 ns per query - **Optimized classic implementation:** (which I was taught) 4.452 seconds, or 150 ns per query (75% faster than classic) - **Bottom-up implementation:** 1.914 seconds, or 64 ns per query (133% faster than optimized) - **Novel parallel implement...

Full text and comments »

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

81.
By Lyde, history, 3 years ago, In English
overwhelmed **Note: it's a mile-long wall of text about my story in the recent ICPC Regional Contest, which is my first time experiencing it, so if I wasted anyone's time, I'm truly sorry.** <spoiler summary="Backstory"> I kinda lost motivation in Competitive Programming for a while and decided to take a long hiatus since March. I had a lot of work to study and do, given semesters and stuff, and preparing to go to university (I'm 18). It wasn't fun back then. Fast forward to June, when everything was done, I had a bunch of universities to choose from, and it really messed up my mind. Every school felt, equal. It took like a whole 2 months before I chose Hanoi University of Science and Technology (HUST), most probably because it's well-known in Vietnam and has a long and successful history and stuff. I knew that it was really hard to not choose Vietnam National University (VNU), since it's a really good school and most of the strongest people in programming, especially CP, went there. My s...
title="made at <https://imgflip.com/i/88ozy0>

Full text and comments »

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

82.
By dario2994, 22 months ago, In English
European Championship 2025 (EUC) <img src="/predownloaded/e7/67/e767414385f88f6336aeb5fec7be1e5a29454d35.png" style="width:250px; float:right; margin: 0 1em 1em 1em"/> The [European Championship 2025](https://euc.icpc.global/) will take place on the 2nd of March in Porto. The top teams from the European ICPC regionals CERC, NWERC, SEERC, SWERC will compete for the title of European champions. It is the second edition of this ICPC super-regional. The mirror contest [contest:2068] will be held on Codeforces at [contest_time:2068] and will last 5 hours. The mirror contest will feature the same problems as the official competition, except for one problem, which will be presented in a more challenging version. I am the chief judge for the competition and I want to thank: - The amazing set of judges who proposed and prepared the problems: [user:bicsi,2025-02-07], [user:cip999,2025-02-07], [user:cdkrot,2025-02-07], [user:Egor,2025-02-07], [user:gangsterveggies,2025-02-07], [user:giove,2025-02-07], [user:Jork...
title of European champions. It is the second edition of this ICPC super-regional.

Full text and comments »

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

83.
By Arpa, history, 10 years ago, In English
Graph saving methods Hi. ## Introduction. We have a graph, we want to save it (and maybe run DFS on it for example); simple? Yes, but I want to show different methods for this, you can choose any of them depending on problem. ### Adjacency matrix. Simple, if graph is not weighted, save in $G[v][u]$ if there is an edge between $v$ and $u$ or not. If graph is weighted, if there is an edge between $v$ and $u$ save it’s weight in $G[v][u]$, save $-1$ otherwise (if weight can be negative, use $inf$ instead of $-1$). Memory usage : $\mathcal{O}(n ^ 2)$.<br>Overall time complexity : $\mathcal{O}(n ^ 2)$ (for running dfs). <spoiler summary="Code here"> ~~~~~ // God & me #include <bits/stdc++.h> using namespace std; const int maxn = 1e3 + 17; int n, m; bool G[maxn][maxn], mark[maxn]; void dfs(int v){ if(mark[v]) return ; mark[v] = 1; for(int u = 0; u < n; u++) if(G[v][u]) dfs(u); } int main(){ ios::sync_with_stdio(0), cin.tie(0); cin >> n >> m; ...
=" suspicious-run" title="Warn: correct solution exceeds half TL."> , > 1 title

Full text and comments »

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

84.
By sszcdjr, history, 2 years ago, In English
Refact.ai Match 1 (Codeforces Round 985, Div. 1 + Div. 2) Hello, Codeforces! We (KDOI Team) are glad to invite you to take part in [contest:2029], which is the 8th CP contest held by us! You can view the previous rounds by us [here](/blog/entry/135847). - Number of problems: $9$ ($0$ interactive); - Start time: [contest_time:2029]; - Contest duration: $180$ minutes; - Score distribution: $750-1250-1750-2250-2500-3000-3500-5000-5500$. The problems were authored and prepared by [user:Error_Yuan,2024-11-05], [user:wyrqwq,2024-11-05], [user:Otomachi_Una,2024-11-05] and me [user:sszcdjr,2024-11-05]. --- <img src="/predownloaded/73/e1/73e1593107761ee6b925164110aa7307488b2215.png" style="float:right; margin: 0 0 2em 2em; width:300px;"/> A few words from our sponsor: We’re [Refact.ai](https://refact.ai/?utm_source=codeforces&utm_medium=post&utm_campaign=round_09112024&utm_content=cf_short_09112024), an open-source AI Coding Assistant, and on November 9th, we’ll be hosting our first round on Codeforces! Winners will receive ...
and giving useful feedbacks. * title="Tourist You" href="/profile <>

Full text and comments »

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

85.
By ICPCNews, 4 years ago, In English
ICPC World Finals Dhaka — Live Broadcast and Mirror! Hello, Codeforces! <img alt="ICPC World Finals Dhaka Logo" src="/predownloaded/34/3e/343e3d2ae8f44d7c5225d52db21632db4bec56fe.svg" style="height: 300.0px;max-width: 100.0%;max-height: 100.0%;" align="right"> The ICPC World Finals Dhaka will begin on [November 10, 2022 at 11:00 (UTC+6)](https://www.timeanddate.com/worldclock/fixedtime.html?msg=ICPC+World+Finals+Dhaka&iso=20221110T11&p1=73&ah=5). This is the culmination of the 2020-2021 ICPC season, and we have over 130 teams competing for the title of ICPC champion. Please join us on the live broadcast for the main event of the year in competitive programming; commentators will include [user:ecnerwala,2022-11-09], [user:SecondThread,2022-11-09], [user:Egor,2022-11-09], and more! There will also be a live mirror for you to solve the problems alongside the contestants! Some useful links: * [ICPC Homepage](https://icpc.global/) * [World Finals Homepage](https://worldfinals.icpc.global/) * [World Finals Schedule](https://docs....
/15Wyj_-PG9I" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard

Full text and comments »

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

86.
By kpw29, 5 years ago, In English
Standard problems have been abused to oblivion and there is little interesting stuff to still be found in them Hi! Sorry for this rather click-baity title, but if you're reading this, you likely care about making Codeforces better. And so do I! And so, I've made a survey... ![ ](/predownloaded/d6/24/d6240b4c51c2bcb40ac47e778f6ec488dd48bcc8.png) Motivation ------------------ Some of the recent rounds, especially Div1 have been rather poorly received. Technocup and ByteDance rounds have been downvoted like hell, other rounds don't have particularly impressive contribution either. GR18 also has received a lot of criticism and as far as I remember had more upvotes before its start due to [user:PurpleCrayon,2021-12-28]'s incredibly wholesome announcement. There seems to be something wrong; people rarely compliment the writers for the bits they enjoyed which seems to draw an overall picture of rather unhappy audience. So, what's wrong exactly? ------------------ Well, I know what I don't like, but it of course may differ for you. For me, the spirit animal of modern competitive progr...
Hi! Sorry for this rather click-baity title, but if you're reading this, you likely care about

Full text and comments »

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

87.
By TheScrasse, history, 4 years ago, In English
Do you really understand Connected Components DP? [title inspired by [this](https://codeforces.me/blog/entry/83890) blog] Hello everyone, today, during a NEERC virtual contest, I found an unintended solution for problem [problem:1089I]. I've checked all the official submissions and no one of them uses my solution, so I think it's worth sharing it. Abridged statement: count the permutations of $[1, \dots, n]$ such that there are no subarrays of length between $2$ and $n-1$ where all the values are contiguous. For example, the permutation $[2,8,4,6,3,5,1,7]$ is bad because it contains $[4,6,3,5]$ as a subarray. Output the answer (modulo a prime, given in the input) for all $1 \leq n \leq 400$. My solution: - Let's use PIE (inclusion-exclusion principle) on minimal bad subarrays. - Let's use [Connected Components DP](https://codeforces.me/blog/entry/92602), somehow keeping track of minimal bad subarrays.<br><br> - Let $dp_{i,j,k}$ be the number of ordered sets of $j$ connected components with total length $i$, and $k =...
[title inspired by [this](https://codeforces.me/blog/entry/83890) blog]

Full text and comments »

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

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

Full text and comments »

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

89.
By -is-this-fft-, history, 2 years ago, In English
PSA on Meta Hacker Cup (must read if its your first time!) Meta Hacker Cup is upon us again. Along with it comes the unique format where we have to run our code on large test cases ourselves. Unfortunately, past experience shows that not everyone knows how to do this reliably. Usually, after the first round, many people lose points as a result of an unreliable workflow. This time, let's try to prevent that from happening. Sorry for the somewhat self-important title, but I really do wish that everyone understood this and that no one will fail the contest because of this. ### Don't EVER copy-paste huge files A lot of people's workflow to run a solution is the following: - Click some green button in the IDE - A box comes up, copy-paste the input into that box - The output shows up somewhere This may work well for running your solution on small sample test cases. It is **terrible** for running your solution on the huge test cases in Meta Hacker Cup. In last year's Round 1, the full test case for [problem C](https://www.facebook.com...
-important title, but I really do wish that everyone understood this and that no one will fail the

Full text and comments »

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

90.
By arvindf232, history, 23 months ago, In English
(Rolling) Range Sum Query of binomial coefficients This is absolutely a well known trick. However, I simply find no blogs discussing this (with a searchable title), so I hope to fill this gap in references. This blog consists of one sentence <blockquote> Range Sum Query of binomial coefficients is almost doable in a MO's rolling manner. </blockquote> The details are easy to derive on your own. For the completness of the blog, they are included: Consider the following simple range sum query problem on binomial coefficients **Problem** Find the following sums , $B(l,r,n)=\sum_{i=l}^{r}\binom{n}{i}$, evaluated mod a prime. It seems like there is no simple and realistic way to answer a single query any faster than $O(r-l+1)$. (Though as pointed out by [user:Elegia,2025-01-07], you could do something in $O(\sqrt{r-l})$ times log factors using some P-recursive concepts). However, in many situations where we need to answer many such queries (e.g. as part of a counting process), the values of $B(l,r,n)$ we need chang...
searchable title), so I hope to fill this gap in references.

Full text and comments »

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

91.
By Lyde, history, 5 years ago, In English
Farewell, Kuroni... <spoiler summary="Always remember, never forget"> <a href="https://imgflip.com/i/5e8bnd"><img src="https://i.imgflip.com/5e8bnd.jpg" title="made at imgflip.com"/></a><div><a href="https://imgflip.com/memegenerator"></a></div> </spoiler> Erm, so... Today for me starts like any other day, I woke up, ate breakfast, and visited Codeforces for fun. To be honest I didn't compete in any contests for a while, as I have a lot of exams and studying online. I'm pretty bored so I scrolled down randomly, and I found something that hit me, like a truck. One of the highest-rated and most respected Codeforces users in my country, [user:Kuroni,2021-06-23], left the Codeforces community. I checked his profile, and he left it with nothing but a blank in his profile picture, and a line below his nickname that says "Goodbye". That's it, nothing else. I was completely shocked. I even cried for around half an hour. I mean, anyone that has a big contribution to this community (and high-r...
="https://i.imgflip.com/5e8bnd.jpg" title="made at imgflip.com"/>

Full text and comments »

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

92.
By dmkozyrev, history, 8 years ago, translation, In English
[Tutorial] Rolling hash and 8 interesting problems [Editorial] **UPD**: while I was translating this post from Russian to English, [user:dacin21,2018-07-06] wrote his post, more advanced, [link](http://codeforces.me/blog/entry/60442). I hope that my post will help beginners, but in my post more rough estimates. And in Russia we call **rolling hashes** as a **polynomial hashes**. Hello, codeforces! This blogpost is written for all those who want to understand and use polynomial hashes and learn how to apply them in solving various problems. I will briefly write the theoretical material, consider the features of the implementation and consider some problems, among them: 1. Searching all occurrences of one string of length $n$ in another string length $m$ in $O(n + m)$ time 2. Searching for the largest common substring of two strings of lengths $ n $ and $ m $ $(n \ge m) $ in $O((n+m \cdot log(n)) \cdot log(m))$ and $O(n \cdot log(m))$ time 3. Finding the lexicographically minimal cyclic shift of a string of length $ n $ in $ O(n \cdo...
Title: Cyclic shifts, Title: Minimal shift, Title: Searching of a substring, Title: Strings — 3, Title: Sub-palindromes, Title: Suffixes

Full text and comments »

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

93.
By flamestorm, 3 years ago, In English
April Fools Day Contest 2024 Editorial Thank you for participating in our contest! We hope you enjoyed it. Please let us know what you thought of the problems by voting! [problem:1952A] Idea: [user:flamestorm,2024-03-31] <spoiler summary="Hint"> Have you seen the "are you a robot" boxes on websites? </spoiler> <spoiler summary="Solution"> [problem:1952A] ------------------ If you select all the squares with traffic lights and read the corresponding letters from left-to-right, top-to-bottom, you get the text "$\texttt{print safety}$". So all you need to do is print the word $\texttt{safety}$. </spoiler> <spoiler summary="Feedback"> - Based problem - Based problem - Based problem </spoiler> [problem:1952B] Idea: [user:willy108,2024-03-31] <spoiler summary="Hint"> Can you interpret the question in the title another way? </spoiler> <spoiler summary="Solution"> [problem:1952B] ------------------ You just need to check if there ...
Can you interpret the question in the title another way?

Full text and comments »

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

94.
By purplesyringa, history, 2 years ago, In English
AI might erase CP, but not us I haven't slept for 20 hours and I can't fall asleep. I've been reading others' topics on AI, and I had a sort of epiphany. These ideas have been brewing inside me for many years, and I thought it might be time to share them with the community. --- There were times when I was a "competitive programmer" at the core. I spent many years doing that exclusively. I've never been to IOI, but I like to think that I've reached some good heights. Two years ago, I stopped writing online competitions. I've written a few offline competitions after that, but eventually, I decided to stop that too. Yet somehow Codeforces still attracts me. I don't want to solve problems, but I keep typing codeforces.com into the address bar. *Why?* Just yesterday, I didn't have an answer. --- Imagine a layperson asking you what competitive programming is. What are you going to say? My answer has always been "Oh, we solve interesting algorithmic problems with time constraints and other limits". Many ...
instead. Scratch the LGM title, I want to watch you speedrunning a round on Twitch. Hold April fool's

Full text and comments »

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

95.
By MikeMirzayanov, 15 months ago, In English
ICPC Baku World Finals Alumni Event: I invite you to a push-up challenge! <div style="float:right; margin: 0 1em 1em 1em; width:200px;"> <img src="/predownloaded/1f/73/1f7347fb7cecd54d17063bfda097a75f214cfa56.jpg"/> <br> <small class="muted"><center>The image was created with the help of OpenAI, a sponsor of the ICPC World Finals 2025.</center></small> </div> Hello, Codeforces. Today I arrived in Baku for the ICPC World Finals. The very first participant I met asked me if we would be doing push-ups. Yes! This year I decided to repeat the fun event and I invite you to join the push-up challenge. It will take place on <a href="https://www.timeanddate.com/worldclock/fixedtime.html?day=3&month=9&year=2025&hour=17&min=00&sec=0&p1=166">September 3rd at 18:00</a>. The best performer will receive a prize from Codeforces! And everyone in the top 25 will get a souvenir. If you're not ready to do push-ups, come anyway to cheer for your friends and have fun! We'll repeat last year's format: push-ups in rounds of 25. Gradually, people will start droppi...
out. Whoever does the most total push-ups will be the winner! In other words, they'll hold thetitle

Full text and comments »

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

96.
By Endagorion, 15 years ago, translation, In English
Codeforces Beta Round #99 <p>Hello.<br /><br />Today round is prepared by me. My name is Mikhail Tikhomirov, i am fourth grade student at mech.-math. dep. of MSU, also i work as developer-researcher at Yandex.<br /><br />I want to thank Artem Rakhov ([[user:RAD,2011-12-24]]) for valuable help and thoughtful coordination, Maria Belova ([[user:Delinur,2011-12-24]]) for great-as-always translating statements into English, and also[[user:MikeMirzayanov,2011-12-24]] for letting us all get together today. =)</p><p>Round will be for both divisions. Every division will have five problems as usual, some of them will be the same, some will be not.</p><p>Score distribution:</p><p><b>Div1: 500-1000-2000-2000-2500.</b></p><p><b>Div2: 500-1000-1500-2000-3000.<br /></b></p><p>Today round is the last round in 2011. I want to thank Codeforces team, everyone who invented, prepared or helped in preparing problems this or past years, and those, who help developing the project. Codeforces now is not just a platform for programming ...
1. title="Гроссмейстер <> , 1. title="Эксперт s-quark">s <> , 10. title="Международный <> , 2. title="Гроссмейстер al13n">al13n <> , 2. title="Эксперт wayne-ho <> , 3. title="Гроссмейстер WJMZBMR <> , 3. title="Эксперт emrevarol <> , 4. title="Гроссмейстер yeputons <> , 4. title="Специалист <> , 5. title <> , 5. title="Эксперт lzqxh <> , 6. title="Гроссмейстер <> , 7. title="Гроссмейстер wata <> , 8. title="Гроссмейстер <> , 9. title <> , . title="Grandmaster <>, ="../../../profile/ivan.popelyshev" title="Grandmaster ivan.popelyshev">ivan.popelyshev 2. , ="../../../profile/ivan.popelyshev" title="Гроссмейстер ivan.popelyshev">ivan.popelyshev 2. , Div2: 1. title="Expert s-quark <>

Full text and comments »

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

97.
By MikeMirzayanov, history, 11 years ago, translation, In English
Time to Change: Your Feedback Is Important to Us Hooray! Soon there will happen several updates on Codeforces affecting rating and colors. The second Revolution of Colors and Titles is coming! You will soon find out a new rating with public formula, new color bounds and even something more... New bounds will fix the rating inflation of last year, it will return exclusivity of high rating and titles. Don't worry if you end up with lower color; it's a new reason for you to move forward! While discussing the ongoing change we faced an issue about how to apply new colors with two possible solutions. #### First solution: forward without looking back. When applying new bounds we will update colors everywhere according to a new schema. For example, somebody can possibly lose not only the read color, but he may also regain a new challenge "to become red" since he lost time when he was red before on his rating history. For the first time it doesn't seem as a good solution, but if you think deeper, there is nothing bad in it...

Full text and comments »

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

98.
By MikeMirzayanov, 8 years ago, translation, In English
Codeforces: Results of 2018 Hi Codeforces! February 2019 is already on the calendar, which means that I was late with the report for 2018. Better late than never! Let's remember last year. In 2018, [user:_kun_,2019-02-05], [user:300iq,2019-02-05] and [user:arsijo,2019-02-05] joined the team of coordinators. The work of the coordinators is headed (and is the coordinator of the coordinators) [user:KAN,2019-02-05]. I really hope that a more measured schedule of preparing rounds by a large team of coordinators will give a better insight into the contests. The main innovations in the platform are implemented by me and the developers [user:kuviman,2019-02-05], [user:fcspartakm,2019-02-05], [user:MaximShipko,2019-02-05]. Great work on the organization of events and prizes mailing was done by [user:gKseni,2019-02-05]. Special thanks to the writers of the problems and testers. It is your content that charges the community with life and unites all of us. Thank you for the problems! And now let's summarize...
creation time 1. Search in Gyms by problem title 1. MathJax support 1. Posts reworked (now it is

Full text and comments »

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

99.
By Alexdat2000, 4 years ago, translation, In English
Editorial of Codeforces Round #862 (Div. 2) Thank you for participating! We hope you enjoyed the problems! [problem:1805A]<br> Idea and preparation: [user:Alexdat2000,2023-04-02] <div class="spoiler"> <b class="spoiler-title">Hint 1</b> <div class="spoiler-content" style="display: none;"> Recall the basic properties of the $\oplus$ operation: $A \oplus 0 = A$, $A \oplus A = 0$, $A \oplus B = B \oplus A$. </div></div> <div class="spoiler"> <b class="spoiler-title">Hint 2</b> <div class="spoiler-content" style="display: none;"> Consider the cases of even and odd array lengths. </div></div> <div class="spoiler"> <b class="spoiler-title">Editorial</b> <div class="spoiler-content" style="display: none;"> [tutorial:1805A]</div></div> <spoiler summary="Solution"> ``` for _ in range(int(input())): n = int(input()) a = list(map(int, input().split())) xor = 0 for x in a: xor ^= x if xor == 0: print(0) else: if n % 2 == 1: print(xor) else:...
Editorial , Hint 1 , Hint 1.1 , Hint 2 , Hint 2.2 , Hint 5 , Hints for the hard version: Hint 3 , Подсказка 1 , Подсказка 1.1 , Подсказка 2 , Подсказка 2.2 , Подсказка 5 , Подсказки для сложной версии: Подсказка 3 , Разбор

Full text and comments »

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

100.
By Nathan4, 21 month(s) ago, In English
Cryptoforces? **UPDATE**: Thanks to everyone who enjoyed it! I might not be able to catch-up with your requests, so I made a [simple tool](https://nathanchen.me/projects/TA/index.html) that lets you draw your own trend lines! There are also some common patterns attached at the bottom. <spoiler summary="Spoiler"> ![ ](https://i.ibb.co/YBjwcqFg/Screenshot-2025-02-19-at-23-10-09.png) ![ ](https://i.ibb.co/67VQxdzM/Screenshot-2025-02-19-at-23-10-18.png) </spoiler> --- What this post is **not** about: - New algorithms invented &mdash; I'm 10 years away from that. - Asking for improvement suggestions &mdash; I know how to google before asking. - Proposing new ways of spotting cheaters &mdash; I [agree](https://codeforces.me/blog/entry/139643) that this is not the place for it. Now if you're still interested in this post, I hope you enjoy the tale! --- It was a normal day. As usual, I decided to solve some 800-rated problems to keep my activity streak alive (right?). I opened Cod...

Full text and comments »

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

101.
By OddImage, history, 4 years ago, In English
Invitation to Goodbye Renyin Hello, Codeforces! It’s our pleasure to invite you to [Goodbye Renyin](https://uoj.ac/contest/80), which takes place on [Friday, January 20, 2023 at 13:00<sup title="timezone offset" style="font-size:8px;">UTC+8</sup>](https://www.timeanddate.com/worldclock/fixedtime.html?msg=The+contest+will+hold+at&iso=20230120T13&p1=33&ah=5). You will have 5 hours to solve 5 problems sorted roughly by difficulty. Each problem is worth 100 points and may have several subtasks. There might be interactive or output-only problems. The contest is open to everyone, though Codeforces-Div. 1-level contestants are more likely to enjoy it. For details, you may check last year’s [Goodbye Xinchou](https://uoj.ac/contest/74) (only available in Chinese, Simplified). The problems are authored by [user:changruinian2020,2023-01-17], [user:ix35,2023-01-17], [user:flowerletter,2023-01-17], [user:Melania,2023-01-17] and [user:qingyu,2023-01-17]. The competition format will be similar to (but a bit different...
on [Friday, January 20, 2023 at 13:00title="timezone offset" style="font-size:8px;">UTC+8

Full text and comments »

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

102.
By Errichto, 3 years ago, In English
My Summer CP School, rating 1000-2200 Hi, I'm going to teach competitive programming classes this Summer, starting with a 4-week batch to see how it goes. I hope to make 2 or 3 groups of ~12 students, each group aimed at some CF rating. We will use problems from Codeforces, CSES, Atcoder, Polish olympiad (only higher group), and my modifications and follow-ups. There will be homework, some to be discussed next lesson. - Dates: June 24 to July 19 (4 weeks) - Time: morning-noon in Europe - 2-3 lessons per week, 1.5h or 2h each - Price: around 20 USD per hour, 260-440 USD total per person - Platform: Discord and/or Google Meet Please fill [this form](https://forms.gle/v1q7qZKU1YnNWRbaA) to get a 5% early-bird discount. I will use the results to choose and announce groups (difficulty and frequency) in 1-2 weeks. Feel free to ask questions in the comments, or DM me. <spoiler summary="regarding the idea of USACO classes"> I already mentioned [here](https://codeforces.me/blog/entry/129009) my plan to do USAC...
details of Revolut, Wise or EUR wire transfer. The transfer title should be "CF Classes yourcfhandle

Full text and comments »

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

103.
By natalia, 15 years ago, translation, In English
Codeforces Round #100 <p>Всем привет!</p><div>Надеюсь, вы уже закончили отмечать Новый год или готовы сделать небольшой перерыв, чтобы принять участие в юбилейном Codeforces Round #100. Раунд состоится <a href="http://timeanddate.com/worldclock/fixedtime.html?day=4&amp;month=1&amp;year=2012&amp;hour=19&amp;min=0&amp;sec=0&amp;p1=166" style="color: rgb(0,0,204);font-family: verdana , arial , sans-serif;font-size: 12.0px;line-height: 20.0px;background-color: rgb(255,255,255);">4-го января в 19:00 (Московское время)</a><font face="verdana, arial, sans-serif"><span style="font-size: 12.0px;line-height: 20.0px;">. </span></font>Это будет общее соревнование для участников обоих дивизионов на одном и том же комплекте из 6 задач. Первые 100 участников по результатам соревнования получат <a href="http://codeforces.me/blog/entry/3461">призовые футболки</a>. </div><div><br /></div><div>Разбалловка: <b>500-1000-1500-2000-2500-3000</b></div><div><br /></div><div>Как вы уже догадались, в качестве автора задач выступаю я....
-align: left;background-color: rgb(248,248,248);" title="Гроссмейстер Dmitry_Egorov">Dmitry_Egorov, -align: left;background-color: rgb(248,248,248);" title="Гроссмейстер dzhulgakov">dzhulgakov, : 12.0px;line-height: 20.0px;background-color: rgb(255,255,255);" title="Штаб, RAD">RAD, : left;background-color: rgb(248,248,248);" title="Гроссмейстер e-maxx">e-maxx, : left;background-color: rgb(248,248,248);" title="Международный гроссмейстер Petr">Petr, : left;background-color: rgb(255,255,255);" title="Гроссмейстер hos.lyric">hos.lyric, : left;background-color: rgb(255,255,255);" title="Гроссмейстер Coder">Coder, : left;background-color: rgb(255,255,255);" title="Гроссмейстер Egor">Egor, : left;background-color: rgb(255,255,255);" title="Гроссмейстер RAVEman">RAVEman, : left;background-color: rgb(255,255,255);" title="Международный гроссмейстер tourist">tourist, ;background-color: rgb(248,248,248);" title="Не в рейтинге, pooya_">pooya_ и , ;text-align: left;background-color: rgb(248,248,248);" title="Гроссмейстер SergeyRogulenko

Full text and comments »

Announcement of Codeforces Round 100
  • Vote: I like it
  • +314
  • Vote: I do not like it

104.
By YouKn0wWho, 2 years ago, In English
CodeTON Round 9 (Div. 1 + Div. 2, Rated, Prizes!) কি অবস্থা ব্রো? আবারও চলে এসেছি! (That's Bengali for "What's up bro? I am back again!") I am super excited to invite you to participate in [contest:2039] which will be held on [contest_time:2039]. This round is rated for both divisions. The contest will feature $8$ problems, with three of them divided into two subtasks each. You will have $3$ hours to solve as many as you can. The problems are authored and prepared by me and [user:wuhudsm,2024-11-20]. I would like to thank - - [user:TheScrasse,2024-11-20] and [user:Kaey,2024-11-20] for their jaw-dropping (<strike>literally</strike>) coordination of the round, giving valuable feedback and improving lots of problems. - [user:wuhudsm,2024-11-20] for being kind enough to use one of his cool problems in the round. - [user:Alpha_Q,2024-11-20] and [user:Raiden,2024-11-20] for discussing tons of problems with me and improving some problems. - [user:antontrygubO_o,2024-11-20] for sacrificing his TON by not participating in the ro...
And here is the information from our title sponsor:, _Since July 2022, [we have been supporting](/blog/entry/104544) Codeforces as a title sponsor. This

Full text and comments »

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

105.
By wuhudsm, history, 16 months ago, In English
Codeforces Round 1040 (Div. 1, Div. 2) Editorial Thank you for participation and we hope you enjoy this round :) <spoiler summary="How did you find the contest?"> - Great: - Good: - Average: - Bad: - Trash: </spoiler> <spoiler summary="Which problem is your most favourite?"> - D2A: - D2B: - D1A: - D1B: - D1C1: - D1C2: - D1C3: - D1D: - D1E: - D1F1: - D1F2: </spoiler> <spoiler summary="Which problem you hate the most?"> - D2A: - D2B: - D1A: - D1B: - D1C1: - D1C2: - D1C3: [likes:favorite,2039E3_...
Did you notice the double meaning of the title?, Do you know the source of the title?

Full text and comments »

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

106.
By Gassa, history, 2 years ago, translation, In English
Dynamic Programming: two trainings by SPbSU students Hi. In Spring semester, I conducted a short course titled &ldquo;Dynamic Programming&rdquo; in SPbSU. To complete the course, the students solved many training problems, and also prepared their own problem in Polygon. For the majority of the students, it was the first problem they authored. Nevertheless, the result looks cute. A couple problems went to local contests. From the remaining ones, I composed two trainings and put them on Codeforces. The trainings are set at the following time: * first: [contest:105239], starts on [contest_time:105239], duration: 3 hours ([statements](https://codeforces.me/gym/105239/attachments/download/26220/gym105239-statements-en.pdf), [results](https://codeforces.me/gym/105239/standings), [tutorial](https://codeforces.me/gym/105239/attachments/download/26222/gym105239-tutorial-en.pdf)) * second: [contest:105244], starts on [contest_time:105244], duration: 3 hours ([statements](https://codeforces.me/gym/105244/attachments/download/...

Full text and comments »

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

107.
By _Seele_Vollerei_, history, 4 months ago, In English
Report: Contest-Time Solution Hints Linked to NotOnlySuccess I am writing this blog to report a competitive-integrity issue involving the Codeforces user [user:NotOnlySuccess,2026-08-09] and a website associated with their content. The main issue is simple: **problem-specific solution material and hints for an ongoing Codeforces contest were made available before the contest ended.** # 1. Solution material published before the contest ended During [Codeforces Round 1116 (Div. 1, Div. 2)](https://codeforces.me/blog/entry/155668), an article titled [CF Round 1116 (Div. 1+2)](https://mp.weixin.qq.com/s/P3QJqmQFRsLlW9GX_y_8YQ) was published on a WeChat public account at August 10, 2026, 00:37 (UTC +8). The Codeforces contest ended at August 10, 2026, 01:05 (UTC +8). Therefore, the article was publicly available **28 minutes before the contest ended**. ![ ](/predownloaded/e5/8e/e58ea523bd7a61b7bdd20d83d2d16a0672f1cca0.png) The article already contained problem-specific solution material. For readers who do not understand Chinese...

Full text and comments »

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

108.
By Alex_KPR, 15 years ago, translation, In English
Codeforces Beta Round #80 <p>Hi all!</p><p>Now it's time for 80th Codeforces Beta Round.</p><p>The authors of the contest are:&nbsp;<span class="Apple-style-span" style="font-family: verdana, arial, sans-serif; font-size: 12px; "><a href="http://codeforces.me/profile/Alex_KPR" title="Подполковник Alex_KPR" class="rated-user user-red" style="font-family: arial; text-decoration: none !important; font-weight: bold; color: rgb(0, 0, 204); ">Alex_KPR</a></span>,&nbsp;<span class="Apple-style-span" style="font-family: verdana, arial, sans-serif; font-size: 12px;"><a href="http://codeforces.me/profile/winger" title="Подполковник winger" class="rated-user user-red" style="font-family: arial; text-decoration: none !important; font-weight: bold; color: rgb(0, 0, 204); ">winger</a></span>,&nbsp;<span class="Apple-style-span" style="font-family: verdana, arial, sans-serif; font-size: 12px;"><a href="http://codeforces.me/profile/RAD" title="Штаб, RAD" class="rated-user user-admin" style="font-family: arial; text-decoration:...
, arial, sans-serif; font-size: 12px; ">title <http://codeforces.me/profile/Alex_KPR>, -serif; font-size: 12px; ">title="Подполковник <http://codeforces.me/profile/Alex_KPR>, -size: 12px;">title="Майор Connector" class="rated-user <http://codeforces.me/profile/Connector>, ://codeforces.ru/profile/Delinur" title="Не в рейтинге, Delinur" style="font-family: arial; text, ://codeforces.ru/profile/SergeiRogulenko" title="Генерал SergeiRogulenko" class="rated-user user-red

Full text and comments »

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

109.
By Noam527, history, 4 years ago, In English
Attempting to Extend Segment Trees to Arbitrary Subsets Throughout the last several weeks I have tried to invent and solve, a generalization of segment trees (although now it doesn't fit to name it "segment trees"... see for yourself). The results are very few (and not good, if you ask me), but the problem was very appealing and fun to think about. The purpose of this blogpost is to share my experience with this problem, in order to provide curiousity to at least a few people, and also to let bright-minded users tackle this problem together, and hopefully achieve better results. Since I want to share my experience, I will also put some possibly challenging parts under spoilers, if you want to attempt it yourself. So, there is no tl;dr. Sorry :) The Motivation and The Problem ------------------------------ As the title suggests, the motivation was from inspection of segment trees. Define the following problem, which we will try to solve throughout this post: Given $n$ elements $a_0, \ldots, a_{n-1}$, initially $0$, and $m$ subs...
The Motivation and The Problem ------------------------------ As the title suggests, the

Full text and comments »

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

110.
By Vladithur, history, 2 years ago, In English
EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) Editorial Hope you liked the problems! We apologize for the (very?) weak tests in H. Editorials for problems will be added over time (and hints), for now, please take a look at the available hints and model solutions. <spoiler summary="Easter eggs"> <spoiler summary="A"> ForceCodes is a reference CrossCode, you should try it. </spoiler> <spoiler summary="C"> Basil is one of the characters in OMORI, you should also try it. </spoiler> <spoiler summary="D"> "World is Mine" is one of Hatsune Miku's most well known songs, and a fan-made MV has a lot of cakes in it) I originally wanted to make the characters names Miku and Sweetheart(from OMORI), but decided to stick to Alice and Bob to keep the statement clean. </spoiler> <spoiler summary="E"> The epigraph is a reference to KonoSuba. </spoiler> <spoiler summary="H"> The epigraph is a quote from Celeste (you should try it), and the title is a reference to one of it's locations, Mirror Temple, but only now there are fumo...
The epigraph is a quote from Celeste (you should try it), and the title is a

Full text and comments »

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

111.
By DNR, 17 months ago, In English
RSHF — a Rating and Report System (Beta) # TL-DR ##### https://rshf.net/ (not adapted for mobile) ##### https://chromewebstore.google.com/detail/rshf/jmpohmlhicdbghkhageaiefhenmkdfcg (the most recent version will be available at https://github.com/welcome-to-the-sunny-side/rshf-extension) <br> # TS-DR <img src="https://i.ibb.co/NdgvgPLG/logo.png" alt="RSHF logo" style="float:right;width:300px !important;height:auto;margin-left:30px; margin-bottom:6px;"> Simply put, RSHF offers the ability for users to form groups that have their own self-contained rating, report and moderation systems. Deeper visual integration with the Codeforces website is offered through a browser extension. More details on each of these components follow: ### Groups Group members are partitioned into three tiers: 1. Admins 2. Moderators 3. Members Their roles and responsibilities closely match what you might think they do: Admins and Moderators process reports and take appropriate actions in response. Admins have additi...
" title="RSHF Report Mechanism Demo" frameborder="0" allow="accelerometer; autoplay; clipboard-write

Full text and comments »

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

112.
By MikeMirzayanov, 4 years ago, In English
Complaints on Comments <img src="/predownloaded/f0/ff/f0ff581246db486e2d6a28398f591770f01a0747.png" style="width: 400px; float: right; margin: 0 1em 1em 1em;"/> Hello! Now, if you've downvoted a comment, you can report it. You should do this if you're certain that one of the rules is being violated. Currently, the list of rules is as follows: * <b>Hate/Offensive</b>: The publication contains signs of hatred, racial slurs, derogatory language or intolerance. Please maintain a respectful tone; critical comments should include thoughtful reasoning. * <b>Threats/Harassment</b>: Content that contains explicit threats or harassment, including cyberbullying or stalking, is subject to censorship. Codeforces aims to create a safe and respectful environment for its users. * <b>Vi...
. It would be preferable if your suggestions included precise formulations for both a brieftitle

Full text and comments »

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

113.
By ACGN, 5 years ago, In English
What if tourist goes rainboy mode? (Simulation) DISCLAIMER: NO TOURISTS AND RAINBOYS WERE PINGED Ah yes, two names that most people on Codeforces have heard -- <b>t<span style="color:red;">ourist</span></b> and <b><span style="color:purple;">rainboy</span></b>, one known as the CP Legend, and one as the user who does everything reverse. Such a great idea to put them together &mdash; a hypothetical user with the same ability as <b>t<span style="color:red;">ourist</span></b>, and solves problems the <b><span style="color:purple;">rainboy</span></b> way. _For those unaware of the "rainboy way", it means solving the problems in reverse order. In particular, if he cannot solve the final problem, he solves no problems in the contest._ Unfortunately, <b><span style="color:purple;">rainboy</span></b> had not yet reached red, peaking at 2398 rating. How far can this user go? We shall simulate this user through all the contests that tourist and rainboy took part in comparably, which adds up to 60 contests from [contest:745] to [cont...
(Div. 1)Apr/12/2020 22:05title="timezone offset" style="font <>, (Div. 1)Apr/16/2021 22:35title="timezone offset" style="font <>, (Div. 1)Jan/19/2020 21:35title="timezone offset" style="font <>, (Div. 1)Jul/24/2020 22:35title="timezone offset" style="font <>, (Div. 1)May/12/2020 20:35title="timezone offset" style="font <>, (Div. 1)Oct/30/2021 22:35title="timezone offset" style="font <>, (Div. 1)Sep/06/2020 22:35title="timezone offset" style="font <>, (open for everyone, rated, Div. 1 + Div. 2)Jul/22/2021 22:35title <>, 10Aug/16/2020 22:35title="timezone offset" style="font <>, 14May/02/2021 22:35title="timezone offset" style="font <>, 15Jul/25/2021 22:35title="timezone offset" style="font <>, 19:05title="timezone offset" style="font-size:8px;">UTC+8270, 23:05title="timezone offset" style="font-size:8px;">UTC+8772, RoundJan/16/2017 01:05title="timezone offset" style="font-size:8px;">UTC <>, class="dark">Jan/04/2019 22:45title="timezone offset" style="font-size:8px;">UTC+8 <>, href="/">Dec/24/2021 22:35title="timezone offset" style="font-size:8px;">UTC+8, href="/">Feb/12/2022 22:35title="timezone offset" style="font-size:8px;">UTC+8, href="/">Jul/04/2020 22:45title="timezone offset" style="font-size:8px;">UTC+8, href="/">Sep/12/2021 22:35title="timezone offset" style="font-size:8px;">UTC+8, , Rated, T-shirts + prizes!)Mar/03/2020 22:35title="timezone offset" style <>, /2016 22:15title="timezone offset" style="font-size:8px;">UTC+86322, /2018 22:35title="timezone offset" style="font-size:8px;">UTC+82, /2020 20:05title="timezone offset" style="font-size:8px;">UTC+870, /2022 22:35title="timezone offset" style="font-size:8px;">UTC+814408, ; Thanks, Algo Muse!Jun/04/2020 22:35title="timezone offset" style="font <>, ; Thanks, Denis aramis Shitov!Apr/03/2020 22:35title="timezone offset" style <>, >Apr/03/2021 22:35title="timezone offset" style="font-size:8px;">UTC+8 <>, >Apr/15/2020 22:35title="timezone offset" style="font-size:8px;">UTC+8 <>, >Aug/12/2020 22:35title="timezone offset" style="font-size:8px;">UTC+8 <>, >Aug/30/2020 22:35title="timezone offset" style="font-size:8px;">UTC+8 <>, >Feb/02/2020 22:05title="timezone offset" style="font-size:8px;">UTC+8 <>, >Jan/28/2021 22:35title="timezone offset" style="font-size:8px;">UTC+8 <>, >Jul/30/2019 22:35title="timezone offset" style="font-size:8px;">UTC+8 <>, >Mar/10/2021 20:05title="timezone offset" style="font-size:8px;">UTC+8 <>, >May/24/2021 22:35title="timezone offset" style="font-size:8px;">UTC+8 <>, >Sep/27/2020 23:05title="timezone offset" style="font-size:8px;">UTC+8 <>, >Sep/30/2020 22:35title="timezone offset" style="font-size:8px <>, Dec/17/2019 23:05title="timezone offset" style="font-size <>, Jun/18/2020 22:45title="timezone offset" style="font-size <>, title="timezone offset" style="font-size:8px;">UTC+822

Full text and comments »

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

114.
By BledDest, 5 years ago, In English
Kotlin Heroes 8 Announcement <img src="/predownloaded/dc/3d/dc3d601ff391e638c1f2b20ec167083978099bbe.png" style="width:500px;float:right;margin:0 1em 1em 1em;"/> Hello, Codeforces! First and foremost, we would like to say a massive thank you to everyone who entered and submitted their answers to the seven Kotlin Heroes competitions which were held previously: [Episode 1](https://codeforces.me/contests/1170), [Episode 2](https://codeforces.me/contests/1211), [Episode 3](https://codeforces.me/contests/1297), [Episode 4](https://codeforces.me/contests/1346), [Episode 5: ICPC Round](https://codeforces.me/contest/1431), [Episode 6](https://codeforces.me/contest/1488), and [Episode 7](https://codeforces.me/contest/1533). Ready to challenge yourself to do better? The [contest:1571] competition will be hosted on the Codeforces platform on [contest_time:1571]. The contest will last 2 hours 30 minutes and will feature a set of problems from simple ones, designed to be solvable by anyone, to hard ones, to mak...
<B>title</B>="YouTube

Full text and comments »

Announcement of Kotlin Heroes: Practice 8
Announcement of Kotlin Heroes: Episode 8
  • Vote: I like it
  • +146
  • Vote: I do not like it

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

Full text and comments »

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

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

Full text and comments »

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

117.
By feecIe6418, history, 20 months ago, In English
InfOJ April Fools Day Contest 2025 (On April 5th) Hello Codeforces! I am glad to invite you to [InfOJ April Fools Day Contest 2025](http://119.27.163.117/contest/28) (IAFDC for short) which will start on [April 5th 2025, 19:00 UTC+8](https://www.timeanddate.com/worldclock/fixedtime.html?day=5&month=4&year=2025&hour=19&min=00&sec=0&p1=33). The problem setters are me and [user:gyh20,2025-03-22]. This is not a joke: the contest will really be held! The contest will last for 2.5 hours with 10 tasks for you to solve. All problems are worth 100 points, and the contest will be in IOI mode with standings. You can see the past problems [here](http://119.27.163.117/contests). ## Why is April Fool's Contest not on April Fools Day? From the year 2023, the contest has always been held on April 5th, to match the Tomb Sweeping Day's break in Chinese schools. ## Language of Problem Statements We will provide English statements for all problems. However, in the past several years, only Chinese statements are available. If you wan...
- Problem A from IAFDC 2022. Title: Infinity. Statement: print a 128-bit 01 string.

Full text and comments »

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

118.
By vovuh, history, 8 years ago, translation, In English
Разбор Codeforces Round #527 (Div. 3) [problem:1092A] <spoiler summary="Разбор"> [tutorial:1092A] </spoiler> <spoiler summary="Решение"> ~~~~~ #include <bits/stdc++.h> using namespace std; int main() { #ifdef _DEBUG freopen("input.txt", "r", stdin); // freopen("output.txt", "w", stdout); #endif int t; cin >> t; for (int i = 0; i < t; ++i) { int n, k; cin >> n >> k; for (int j = 0; j < n; ++j) { cout << char('a' + j % k); } cout << endl; } return 0; } ~~~~~ </spoiler> [problem:1092B] <spoiler summary="Разбор"> [tutorial:1092B] </spoiler> <spoiler summary="Решение"> ~~~~~ #include <bits/stdc++.h> using namespace std; int main() { #ifdef _DEBUG freopen("input.txt", "r", stdin); // freopen("output.txt", "w", stdout); #endif int n; cin >> n; vector<int> a(n); for (int i = 0; i < n; ++i) { cin >> a[i]; } sort(a.begin(), a.end()); int res = 0; for (int i = 0; i < n; i += 2) { res += a[i + 1] - a[i]; } co...
return 0; } ~~~~~Your title here... ==================

Full text and comments »

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

119.
By meooow, 8 years ago, In English
[Tutorial] Convex Hull Trick — Geometry being useful ### The problem Let us consider the problem where we need to quickly calculate the following over some set $S$ of $j$ for some value $x$. $$\max_{j \in S} \{m_j \cdot x + c_j\}$$ Additionally, insertion of new $j$ into $S$ must also be efficient. This will most likely be encountered with DP problems. For example, the recent problem [problem:1083E] from Round #526 has the following DP formulation after sorting the rectangles by $x$. $$f(i) = x_i \cdot y_i - a_i + \max_{1 \le j < i}\{-x_j \cdot y_i + f(j)\}$$ The problem requires quick calculation of the above define maximum for each index $i$. How can this be done? ### The idea Notice the special form of $m_j \cdot x + c_j$. This is identical to the equation of a straight line with slope $m_j$ and Y-intercept $c_j$. So the problem is equivalent to being given a set of lines and asked for the maximum $y$ value any of those lines can give at a particular $x$. If you draw a bunch of straight lines on a plane, you'll...

Full text and comments »

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

120.
By TheScrasse, history, 3 years ago, In English
Problems that I authored so far Hi everyone, after [contest:1854], maybe it's time to collect all my problems here. For now, I've mainly invented easy-ish problems. I wish to invent a very hard problem sooner or later :) <spoiler summary="Update after Pinely Round 3"> Done :D </spoiler> I'm putting the story of each problem under spoiler, because it may contain parts of the solution. I invented many problems by just trying random setups until I came up with something solvable, but some problems (especially the harder ones, for example [problem:1854D]) may have more interesting stories. Fun facts: - I struggled a lot to find a suitable div2A for [contest:1654]. I proposed a lot of problems that turned out to be unsuitable (for example, because they were too hard), then I used them somewhere else. - While I was writing this blog, I realized that [problem:1849E] is identical to my problem [preoii_allenamento \- Allenamento su ChinaForces](https://training.olinfo.it/#/task/preoii_allenamento/statement),...
variations. Later, title="Legendary Grandmaster tourist" class="rated <>

Full text and comments »

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

121.
By Queue, history, 22 months ago, In English
[Invitation] IICPC CodeFest 2025 ### Greetings, Codeforces Community! We are thrilled to invite you to **CodeFest**, a premier competitive programming event brought to you by [IICPC](https://iicpc.com/), co-sponsored by [Citadel](https://www.citadelsecurities.com/) and [Jump Trading](https://www.jumptrading.com/), Associate sponsors as [Jane Street](https://www.janestreet.com/), [Hudson River Trading (HRT)](https://www.hudsonrivertrading.com/), [Landeed](https://www.landeed.com/) and [QuantInsti](https://www.quantinsti.com/) being the Knowledge Partner. ![ ](/predownloaded/fb/68/fb68ac0fa74f24821bb707fc07dd9fc491afefed.jpeg) The camp is being hosted by the 8 IITs namely Madras, Delhi, Bombay, Guwahati, Hyderabad, Kharagpur, Roorkee and Indore and we are grateful for the same! You can check our event announcement video [here](https://www.youtube.com/live/cKTUU0PEBYA?si=eEwZ0iiLaeiYkdM4). --- ### **Inspiration** In late 2024, Ayush and I were wondering what could be done next to improve the Competit...

Full text and comments »

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

122.
By Egor, 12 years ago, In English
Yandex.Algorithm Finals Hello from Berlin! Get ready for some action as participants are ready to battle for Grand Prize of 300000 russian roubles and coveted title of Yandex.Algorithm champion Stay tuned for live commentaries If you have any questions about the competition feel free to ask. Competition starts at 11:30 CET, about an hour from now. Currently participants set up their PCs -0:33 &mdash; We have quite tough field this year including ACM ICPC World Champions, TCO, GCJ and IOI winners. ~snarknews,2014-08-01 had provided some info on finalists [here](http://yandex2014.snarknews.info/index.cgi?data=yandex/2014/finalists&year=2014&contest=yandex&class=yandex2014) -0:10 &mdash; Contest is delayed for 10 minutes -0:09 &mdash; You can follow live results [here](http://contest.yandex.ru/contest/507/standings/) -0:05 &mdash; Currently contest area is filled with several journalists and cameramen 0:01 &mdash; Contest had been started, participants reading problems atm 0:11 &mdash;...
roubles and coveted title of Yandex.Algorithm champion

Full text and comments »

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

123.
By stefdasca, history, 4 years ago, In English
On organizing new Competitive Programming Competitions with awards Hello everybody! As you already know, some high profile competitions, such as GCJ and TCO have been officially discontinued and there is clearly a lack of competitive programming contests with awards for the very best performers. Given the size of the community we have here on Codeforces and on other places too, I think we can use our expertise and our networking to create a new series of competitions (and possibly in the future an organization to help competitive programming grow worldwide) to make up and even pass the existent competitions in prestige and awards. After all, the platform which will be used won't even matter that much, as I see it as a team effort to bring competitive programming to a higher standard in terms of prizes in competition. For example, [Codeforces got $125k](http://codeforces.me/10years/supporters) when people donated for the 10 year badge, which is a lot of money used for expenses such as keeping the servers up, paying problem setters and paying...

Full text and comments »

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

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

Full text and comments »

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

125.
By PieArmy, history, 19 months ago, In English
EJOI 2025 Teams Recently Türkiye's team selection for EJOI has ended and I love EJOI so I thought why not make the EJOI teams blog of this year? 9th edition of EJOI will be held in Bulgaria, Shumen from August 29 to September 4, 2025. Official [website](https://2025.ejoi.org/) has been announced. **LIVE RANKINGS: [results.ejoi.org](http://results.ejoi.org)** **Result of both days combined: [results.ejoi.org/standing/Day1,Day2](https://results.ejoi.org/standing/Day1,Day2)** **USERNAME: results** **NEW PASSWORD: results** You can check the results of the previous EJOIs in [this](https://ejoi.eu/) site. Here is the Türkiye team and their codeforces handles: - Efe Gürkaş([user:EfeG,2025-08-30])—1st time at EJOI, 0 attempts left - Osman Eymen Karaoğulları([user:osmiyum,2025-08-30])—1st time at EJOI, 1 attempts left - Onur Ocak([user:theheatcoder,2025-08-30])—1st time at EJOI, 0 attempts left - Yiğit Yenmez([user:yigit11,2025-08-30])—1st time at EJOI, 0 attempts left I...
user-orange" href="/profile/farkon00" title="International Master farkon00">farkon00, ="/profile/farkon00" title="International Master farkon00">farkon00

Full text and comments »

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

126.
By Lyde, history, 2 years ago, In English
underwhelmed You guys may not have seen a light-hearted blog in a little while. So I made one. Enjoy! <spoiler summary="Backstory"> You may read [that previous blog from Millienium](https://codeforces.me/blog/entry/123126). Otherwise, there isn't much. </spoiler> So after that miraculous Silver Medal run in that 2023 ICPC Asia Hue City Regional Contest, our team went back to normal life and waited for more information. A few days later, we were announced as a participant in the 2024 ICPC Asia Pacific Championship (or in short, Super Regional), which is nice, although it's expected. So back to training, I guess? In that gap time between the Regional and Super Regional contests, we still kept that positive mentality and practiced together like normal. The Lunar New Year and end-term exams from our university took a lot of time from us, but everything went pretty well and it was a lot of fun. Actually, my most memorable moment at that time was when I found out the Super Regional Contest...
(And yes if we were actually 12th this blog would have existed back then. And not with thistitle.)

Full text and comments »

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

127.
By shorya1835, 21 month(s) ago, In English
Invitation to Insomnia'25 **Greetings, Codeforces Community!** ==================================== We, [the Programming and Algorithms Group](https://www.instagram.com/pag_iitr/), are excited to invite you to our upcoming event, **Insomnia 2025!** This event is proudly sponsored by [Hilabs](https://www.hilabs.com/) as our title sponsor, with support from our cherished alumni as co-sponsors. ![Poster](/predownloaded/be/c1/bec12dc2d82cfe2f88f6069d6f463d98d17d78db.png) **Format** ---------- **Insomnia 2025** is an ICPC style team contest where you would be given 10-15 problems in the span of 5 hours, for teams of at most 3 members. - **Date & Time**: [Saturday, March 1, 2025, at 20:00 IST](https://www.timeanddate.com/countdown/launch?iso=20250301T20&p0=1863&msg=Insomnia+2025&font=cursive) - **Mode**: Online - **Platform**: Codeforces, [Contest Link](https://codeforces.me/contestInvitation/29f652a20cd24fa942defdf237dc5a72e416d1a1) - [Registration Link](https://unstop.com/p/insomnia25-program...
://www.hilabs.com/) as our title sponsor, with support from our cherished alumni as co-sponsors.

Full text and comments »

Announcement of Insomnia 2025
  • Vote: I like it
  • +223
  • Vote: I do not like it

128.
By VLamarca, history, 9 years ago, In English
Please allow rated participation of purple-rating users in Div. 2 contests Hi! The main objective of my post is to make most **Div. 2 only** rounds rated for purle users. This is beneficial because it would distinguish their rating better. It would also mean a more frequent participation for those people, which is good for the growth of the plataform. It makes no sense to make a purple coder wait for a Div. 1 round, which is rare due to the difficulty to come up with a Div1 D/E problem, when in most cases those users don't even read these harder problems at all. Another reason is because most Div. 2 rounds are hard enough for people with purple rating. I assume the difficulty of contests should be sufficient to not transform them in a "type race", which means that it is good that few people solve all the problems. I will try to convince you that we can make div2 contests rated for people with higher rating without breaking this principle. **EDIT:** Originally the title of this blog was "Please increase div2 upper rating limit" but this was missl...
**EDIT:** Originally the title of this blog was "Please increase div2 upper rating limit" but this

Full text and comments »

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

129.
By ICPCNews, 15 months ago, In English
The 2025 ICPC World Finals Baku Salam Codeforces! We are glad to invite you to follow the 2025 ICPC World Finals in Baku, Azerbaijan! <img alt="ICPC WF Baku" src="/predownloaded/e0/0c/e00c1cbead88d5c3243220a3b8331768ff4b7040.png" style="height: 300.0px;max-width: 100.0%;max-height: 100.0%;" align="center"> The event will mark the conclusion of the 2024–2025 ICPC season. Near the 140 university teams from different countries will join the finals. After many regional contests, they will now meet in Baku to fight for the title of ICPC World Champion at the 49th ICPC World Finals. The 2025 ICPC World Finals Baku will start on [September 4, 2025 at 11:00 (UTC+4)](https://www.timeanddate.com/worldclock/fixedtime.html?msg=The+2025+ICPC+World+Finals+Baku&iso=20250904T11&p1=369). We invite everyone to join the live broadcast of the biggest programming event of the year! Teams qualified to ICPC WF Baku: - [Official list](https://icpc.global/worldfinals/teams) - [Non-official list with CF rating](https://cod...
="margin: 1em; title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard

Full text and comments »

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

130.
By eyfxrby, 6 months ago, translation, In English
Codeforces Round 1103 (Div. 3) #Шумбрат, Сәлам, Привет Codeforces! Мы очень рады позвать вас принять участие в [contest:2236] в [contest_time:2236] — очередном Codeforces раунде для третьего дивизиона. В этом раунде будет 7-8 задач, которые подобраны по сложности так, чтобы составить интересное соревнование для участников с рейтингами до 1600. **Однако все желающие, чей рейтинг 1600 и выше, могут зарегистрироваться на раунд вне конкурса**. Раунд пройдёт по правилам образовательных раундов. Таким образом, во время раунда задачи будут тестироваться на предварительных тестах, а после раунда будет 12-часовая фаза открытых взломов; после её завершения все успешные попытки будут перетестированы на успешных взломах. Мы постарались сделать приличные тесты — так же как и вы, мы будем расстроены, если у многих будут падать решения после окончания контеста. Вам будет предложено 7-8 задач и 2 часа 30 минут на их решение. **Штраф** в этом раунде будет равняться 10 минутам. [Напоминаем](https://codeforces...
- And, of corse, thanks a lot title <>, - И, конечно, большое спасибо title <>

Full text and comments »

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

131.
By yeputons, 10 years ago, In English
Online judge with IOI problem went public Hello everyone. Two years ago there was a post titled "Submitting IOI problems" and [my comment](/blog/entry/10967#comment-161620) there. I offered everyone to contact me via PM on Codeforces to get the access and be able to solve problems from past IOIs (starting with IOI 2003). What was important here is that [user:PavelKunyavskiy,2016-06-12] and me took effort and made the system as similar to what was used on particular IOI as we could, including: 1. Original tests from archives 2. Tests grouping and correct subtasks scoring where applicable &mdash; you won't get 54 points if there are subtasks for 40 and 60 points &mdash; just like on IOI. 3. Interactive problems with interactive I/O (say, "Aliens" from IOI 2007 or "Maintain" from IOI 2003) 4. Partial scoring where you can get only a fraction of points per test, like "Reverse" from IOI 2003 or "Hotter Colder" from IOI 2010. 5. "Encode-decode" problems, where your solution is executed several times in separate processes, ...

Full text and comments »

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

132.
By darkkcyan, history, 6 years ago, In English
[Not tutorial] Sort before insert — A small extension to Merge sort tree Hello Codeforces! This is my first ever blog on Codeforces, and today I wanted to <s>gain contributions</s> share my small invention during my upsolving. I don't know if there existed a similar idea yet, but as far as I can tell, the editorial for the problem that I have solved does not use my idea. I think it would be nice to share with you guys and have your opinions on this idea. <h1>Prerequisite</h1> You should understand what is a segment and what is a merge-sort tree first. All the code in this blog is in <a href="https://codeforces.me/blog/entry/18051">efficient style</a>, therefore you should at least recognize part of it before reading the code. <h1>Idea explanation</h1> <h2>How do we build Merge-sort tree again?</h2> Merge sort tree is a Segment tree, each node of which contains a sorted set/vector of every element in its range. We build it in a bottom-up manner. To build the parent nodes, we merge 2 sets/vectors of the children the same as we do in the merge-...
Summary I know that this trick is not as powerful as it sounded in the title (the title

Full text and comments »

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

133.
By kpw29, 11 years ago, In English
1st Hunger Games Small Editorial — Hints Here's the first part of Hunger Games Editorial prepared by community. There are only my hints, see also the second blog, which will be soon published, with different, more detailed solutions written by many people :) I'd like to thank problemsetters team ([user:PrinceOfPersia,2015-08-26], [user:keyvankhademi,2015-08-26] and [user:AliA,2015-08-26]) for such wonderful contest. Hints will be probably updated when I'll learn more beautiful solutions for these problems :) Enjoy! **Problem A: Good Numbers** Suppose first integer is multiplied A times and second &mdash; B times. How many ways are there to complete the big number? Did we count something more than once? **Problem B: Hamro and array** Try to count numbers on even and odd positions separately. **Problem C: Hamro and Vampire Diaries** Suppose A[1] = x. How do we calculate A[1 + 3]? How to calculate next and all other values of A? What happens if n mod 3 = 0? **Problem D: Hamro and tools** Read abo...
**Problem L: It's not that bad** (seriously, why does this task has such title?)

Full text and comments »

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

134.
By Fefer_Ivan, 13 years ago, translation, In English
Codeforces Groups <img src="http://assets.codeforces.com/images/groups/group.jpg" style="float:right; margin: 0 1em 1em 1em;"/> Hello, Codeforces! Today I would like to tell you about new Codeforces feature: about groups. Now you can create a group , invite people into it, add members to group and organize contests inside a group. ### Create a Group ### Only Div.1 coders can create a group. Good reason to increase rating, right? If you have rights to create a group on the Groups page, it will be a special link. Except name, you can specify: * description (feel free to use simple HTML) * logo: it will shine on each group’s page! * related to group website URL [cut] &nbsp; <center><img src="http://assets.codeforces.com/images/groups/new-group-en-75.png" style="border:1px solid gray;margin-top:1em;"/></center> ### Visibility ### There are public and private groups. Public groups are visible to all users and private are visible only to members of the group. Public groups can...
need only click into special link on the group title page and choose a contest. Feel free to use

Full text and comments »

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