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.

upsolve

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

Full text and comments »

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

3.
By awoo, history, 5 years ago, translation, In English
Educational Codeforces Round 121 [Rated for Div. 2] Hello Codeforces! On [contest_time:1626] [contest:1626] 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-01-15] Dalabaev, Vladimir [user:vovuh,2022-01-15] Petrov, Ivan [user:BledDest,2022-01-15] Androsov, Mak...
**UPD:** Unfortunately, the round is unrated. We are sorry for the inconvenience. You canupsolve

Full text and comments »

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

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

Full text and comments »

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

5.
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...
doing and what are his impressions during the contest. 2. Upsolve the problems he did not manage to

Full text and comments »

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

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

Full text and comments »

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

7.
By maroonrk, history, 6 years ago, In English
TL Issue in the #659 (Div. 1) Problem F I've hacked all AC solutions of [this](https://codeforces.me/contest/1383/problem/F) problem, which were submitted during the contest, and I believe I can hack most of upsolving solutions. Currently, I only checked that they time out on my local machine, because "Unexpected Verdict" prevents me from uphacking. I even hacked model implementation in the editorial. [Here](https://ideone.com/cHvjkp)'s my latest generator. Feel free to challenge it. Side Note: [user:yosupo,2020-07-26] wrote a [solution](https://codeforces.me/contest/1383/submission/88036534), which passes the above case, but I failed it with another [generator](https://ideone.com/LKx3FP). What I want to argue is that TL of this problem is too tight, and it affected some of the competitors. For example, I got almost the same idea as the model solution during the contest. Still, I was too scared to write it because I suspected it would time out without full optimization and possibly some tweaks like shuffling ve...

Full text and comments »

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

8.
By ATSTNG, history, 7 years ago, In English
[Tutorial] Matroid intersection in simple words **[This article is also available in [Russian](https://codeforces.me/blog/entry/69287?locale=ru)]** Hello, CodeForces. I think that matroids are beautiful and powerful concept, however, not really well known in competitive programming. I’ve discovered matroids at 2019 Petrozavodsk Winter Training Camp. There was a problem that clearly cannot be solved using usual techniques I knew, editorial for this problem was just these three words “just matroid intersection”. Back then it took me more than 2 days of upsolving to find all the information and details I need and implement solution that gets Accepted on this. And it took way longer to actually understand why does it work and exactly how does it work. (I still hesitate in some details.) Of course, it is not hard to google up all the definitions and some related articles, but in my opinion they all are focused more on mathematical part of theory, strict proofs in some not really obvious but short ways, and observing only ke...

Full text and comments »

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

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

Full text and comments »

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

10.
By Errichto, 6 years ago, In English
Community IOI Weekly Classes (on Codechef?) Let's discuss the idea of IOI preparation in form of weekly contests and classes. Many programming camps reuse problems from old national camps and contests. What about doing this on a bigger scale and conducting weekly mashup contests open for everybody for free? The problem analysis would be in English, in written or (live) video format, possibly combined with a lecture. Make a discord server for further discussion and questions, encourage students to upsolve, maintain yearly leaderboard and upsolving leaderboard. Once or twice a year, call it a 1-week online camp and organize these mashup contests daily. I can take part in this initiative but I want to be just one of many teachers. When it's my turn, I would pick some old interesting POI or ONTAK problems because I either know them or can look up the solution in Polish. If I do this once per 1-2 months, I won't run out of good problems anytime soon, and I have enough time to prepare analysis and lecture, and later spend severa...
a discord server for further discussion and questions, encourage students to upsolve, maintain, server for further discussion and questions, encourage students to upsolve, maintain yearly leaderboard

Full text and comments »

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

11.
By antontrygubO_o, 3 years ago, In English
[CONTEST OVER] MIT Informatics Tournament 2024 Spring Invitational **Update 2**: The Qualification Round has **officially concluded**! A huge thank you to our contestants for joining us and supporting this new initiative! Congratulations to the top 16 finalists who are advancing to the finals round (along with many more as we continue to confirm people's availability)! 1. [user:Rewinding,2024-04-24] 2. [user:ksun48,2024-04-24] 3. [user:Petr,2024-04-24] 4. [user:Geothermal,2024-04-24] 5. [user:mango_lassi,2024-04-24] 6. [user:hank55663,2024-04-24] 7. [user:ecnerwala,2024-04-24] 8. [user:MiFaFaOvO,2024-04-24] 9. [user:Kevin114514,2024-04-30] 10. [user:A_G,2024-04-30] 11. [user:Adam_GS,2024-04-24] 12. [user:Tourist,2024-04-24] 13. [user:FlowerOfSorrow,2024-04-24] 14. Matthew Allan 15. [user:uwu,2024-04-24] 16. [user:TLE,2024-04-24] At this time, the scoreboard has been finalized, and you can upsolve our problems / watch our video tutorials with the following links: - Finalized Scoreboard: [https://mitit.org/Contest/ViewScoreboar...
this time, the scoreboard has been finalized, and you can upsolve our problems / watch our video, At this time, the scoreboard has been finalized, and you can upsolve our problems / watch our video

Full text and comments »

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

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

Full text and comments »

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

13.
By bashkort, 19 months ago, In English
FAQ, Advice & AMA This post assumes you're super ambitious. But don't take any advice too seriously -- we're all different. This is simply what worked for me and might work for you. Choose your own path. #### Useful Links - [LI2 Contests](https://codeforces.me/blog/entry/131164) -- used this course when I was starting out. - [usaco.guide](usaco.guide) -- a collection of great articles & problems on almost all topics. - [OI Checklist](https://docs.google.com/spreadsheets/d/15b1ZaP1owTfTcA4vQ69A5S_wUd_vJmM8Slwu6FiWgP4/edit?usp=sharing) -- my OI Checklist. - [Pavel Mavrin's youtube channel](https://www.youtube.com/channel/UC9WDkCyUlNTncq1Y-mFSgLQ) -- watched his great lectures when I was younger :) - [qoj.ac](qoj.ac), [loj.ac](loj.ac), [dmoj.ca](dmoj.ca), [oj.uz](dmoj.ca), ... #### How do I start? **Advice:** join a great community (school, club, ...), try solving problems, and find someone who can answer your silly questions. I wouldn't have started CP if not for my school. Of c...

Full text and comments »

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

14.
By Geothermal, history, 3 years ago, In English
A Highly Experimental Training Plan for Beginners Very loosely inspired by some comments on [Thoughts on Reaching Cyan?](https://codeforces.me/blog/entry/101561) and [my recent AMA](https://codeforces.me/blog/entry/118845). Until now, I've avoided telling beginners to practice math before working on competitive programing problems because I haven't figured out a helpful way of doing so. This post is my attempt at telling grays to train math first in a way that might lead to improvement without an absurd time commitment. ## Introduction This section is largely motivation for why I'm proposing this training plan. If you just want to see the instructions for the training plan I'm proposing, you can skip this part. The first subsection in particular is not especially relevant to the rest of the post, but I wanted to have some documentation explaining why I still think the traditional "just solve problems" advice is good. ### The Conventional Advice on Improvement I'm frequently asked for advice on how to improve at co...
You should continue to participate in programming contests and upsolve problems from those contests

Full text and comments »

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

15.
By zimpha, 6 years ago, In English
List of All Petrozavodsk Contests Like my last blog [List of All Open Cup Contests](https://codeforces.me/blog/entry/84466). I made this list for all contests from Petrozavodsk Training Camp, containing the standings, upsolving links and statements. The upsolving links of Petrozavodsk Summer 2020 are private, yandex.contest logins are needed. I will update the link if other sources found. And thanks to the efforts of [Baekjoon Online Judge](https://www.acmicpc.net/), most contests from winter 2015 to winter 2020 can be solved without private logins. For some of the rest contests, opentrains logins are needed. And for some of the rest contests, I found several other sources to virtual participant using [Virtual Judge](https://vjudge.net/), [Codeforces gyms](https://codeforces.me/gyms) and [Programmers club of PetrSU](http://acm.petrsu.ru/). For some of the rest contests, I could not find any public sources and maybe someone could help with it (I believe problems in Warsaw U Contests are from old POI or PA). ...

Full text and comments »

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

16.
By errorgorn, 4 years ago, In English
Invitation to TLX Regular Open Contest #30 <p> Selamat pagi Codeforces!</b> <img src="/predownloaded/2d/30/2d30c17aba8882b75b0b9b0aa7c222a519bcc7ba.png" style="width: 400.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;"> </p> We are excited to invite you to <b>TLX Regular Open Contest #30! Key details: - Contest URL: [TLX](https://tlx.toki.id/contests/troc-30) - Time: [7th January 2023, 14:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TLX%20Regular%20Open%20Contest%20%2330&iso=20230107T140500) - Writer: minum susu ([user:errorgorn,2023-01-03], [user:Pyqe,2023-01-03], [user:rama_pang,2023-01-03], [user:nyab,2023-01-03]) - Duration: 150 minutes - Problems: 8 - Scoring distribution: **100 — 250 — 250 — 300 — 550 — 550 — 800 — 800** Many thanks to: - [user:Pyqe,2023-01-03], [user:steven.novaryo,2023-01-03] for coordinating the contest and translating the statements. - [user:dorijanlendvaj,2023-01-03], [user:gansus,2023-01-03], [user:nandonathaniel,202...
You can upsolve the problem [here](https://tlx.toki.id/problems/troc-30). Editorial is available in, upsolve the problem [here](https://tlx.toki.id/problems/troc-30). Editorial is available in theupsolve

Full text and comments »

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

17.
By Tommyr7, history, 9 years ago, In English
Codeforces Round #462 Hi, Codeforces! Happy Valentine's Day. And happy Lunar New Year! I'm quite honored to invite you to Codeforces Round #462 which will take place at [15:05 MSK on 14 Feb](https://www.timeanddate.com/worldclock/fixedtime.html?day=14&month=2&year=2018&hour=15&min=5&sec=0&p1=166) and last for two hours. The authors are [user:quailty,2018-02-12], [user:skywalkert,2018-02-12], [user:visitWorld,2018-02-12] and me. This is our second round here. The round couldn't have been realized without efforts of [user:KAN,2018-02-12] and our testers: [user:cyand1317,2018-02-12], [user:demon1999,2018-02-12]. Thanks for your help to the contest. Also, thank [user:MikeMirzayanov,2018-02-12] for the fantastic Codeforces and Polygon platforms. The contest will consist of five problems and it is **rated** for both division contestants. The background of problems will be about Lunar New Year. (Yes... Not Valentine's Day...) Hope to see you in the contest! Good luck and have fun, wish you a hig...
always upsolve a contest, but there is only one Valentine's Day ;)

Full text and comments »

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

18.
By errorgorn, 5 years ago, In English
Invitation to TOKI Regular Open Contest #24 Hello again Codeforces &#x1f44b;, We are excited to invite you to **TOKI Regular Open Contest #24**! Key details: - Contest link: [TLX](https://tlx.toki.id/contests/troc-24) - Time: [18th December 2021, 13:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+Regular+Open+Contest+%2324&iso=20211218T1305&p1=1440&ah=2&am=30) - Writers: [user:errorgorn,2021-12-13], [user:maomao90,2021-12-13], [user:oolimry,2021-12-13] - Duration: 150 minutes - Problems: 7, but one of the problems will have a subtask - Scoring distribution: **100 &mdash; 200 &mdash; 400 &mdash; 600 &mdash; (600 + 200) &mdash; 900 &mdash; 1000** Many thanks to: - [user:prabowo,2021-12-13] &#x1f468;&zwj;&#x2764;&#xfe0f;&zwj;&#x1f48b;&zwj;&#x1f468; for &#x1f552; coordinating the &#x1f466;&#x1f337; contest and translating our &#x1f4b0;&#x1f171; stupid &#x1f615;&#x1f4a9; jokes into &#x27a1; Indonesian &#x1f1ee;&#x1f1e9;. - [user:icypiggy,2021-12-13] for helping &#x1f4bb; us &#x1f1...
Editorial is available in the upsolve [link](https://tlx.toki.id/problems/troc-24)., You can upsolve the problems here.

Full text and comments »

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

19.
By Pirate_ksh, 6 years ago, In English
Codeforces Upsolving Helper <spoiler summary="UPD(July 24, 2020)">**Randomize Button** added at the end of each section in **All Problemset Recommender** . </spoiler> <spoiler summary="UPD(July 19, 2020)"> **Unattempted Problem Recommender** from **Past Contests** (as suggested by [user:sharatsachin,2020-07-20] and [user:mr_robot11,2020-07-20]) and from **All Problemset** (as suggested by [user:ekaerovets,2020-07-23]) has been introduced . ![ ](https://drive.google.com/uc?export=view&id=1egZULQ-uCBSBoVbCvPLrKG2mufTrrZAx) </spoiler> <spoiler summary="UPD(July 14, 2020)"> **Team Mode** has been introduced as suggested by [user:socho,2020-07-13]. ![ ](https://drive.google.com/uc?export=view&id=1F7uifgCCb7tI8-FvWXlRJOrGSNseHWRC) </spoiler> <spoiler summary="UPD(July 11, 2020)"> Rated and Unrated Problems are now separated under respective headings in each section(when Problems are segregated by Index) as suggested by [user:gol_en_05,2020-07-12] . ![ ](https://drive.google.com/uc?export=view&id=1Z6aO...

Full text and comments »

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

20.
By galen_colin, 3 years ago, In English
fix problem ratings pls (the rainboy effect) [The first few paragraphs of this blog, above the first spoiler, are just for story purposes and are irrelevant to the problem statement] One fateful day, a naive and young version of me from about 5 days ago had a dream. A dream to stop being so terrified of hard problems. A dream to conquer the most challenging stuff that CF ever had to offer. A dream to... ok, enough of that, that's so stupid. Basically, I've been grinding 3500s lately, mostly for fun (and my god, has it been fun). Two days prior, I found myself solving [1919G](https://codeforces.me/contest/1919/problem/G). That went fine, but after getting it, I noticed that despite G being 3500, it wasn't even the hardest problem in the contest &mdash; that honor went to the next problem, [1919H](https://codeforces.me/contest/1919/problem/H) (the subject of this blog), which had **no solves in-contest**. I concluded that I would have to be insane to try that, and moved on to other problems. Well, yesterday, I decided I...
I'm not sure if upsolving is a factor in problem ratings (in particular the firstupsolve or

Full text and comments »

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

21.
By antontrygubO_o, 7 years ago, In English
Background of Good Bye 2019 Hi there! The recent Good Bye 2019 was very important event for us, and thanks for all the positive feedback we got, especially from [user:Radewoosh,2020-01-01]! As a follow-up, we would like to share some background on its preparation. ### **Problems:** **A**: This one was the hardest to come up with. We wanted it to be super easy but still to include some idea, and this is like the $10$th version of the problem. **B**: Initially there was another problem at this position. However, it turned out to be too hard for B (one orange couldn’t do it during the testing), and people didn’t like it in general, so we came up with another task. **C**: Funny, but we didn’t know that it’s always possible to make array good with adding at most $1$ element before the contest. **D**: This problem was created just 3 days before the contest to make it more balanced :O. We are glad that the contest did turn out to be well-balanced. **E**: Initially we wanted this problem to be at positi...

Full text and comments »

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

22.
By adamant, 21 month(s) ago, In English
OCPC 2025 Winter — wrap Hi everyone! <center><a href="https://ocpc.camp"><img src="https://ocpc.camp/images/ocpc.svg" height="100px"></a> <a href="https://icpc.foundation/"><img src="/predownloaded/43/08/43086529a28ccb5c9f2f2eec560ffa85e09c6881.svg" height="100px"></a></center> <center> <b>Supported by</b><br> <a href="https://www.quantco.com/"><img src="https://ocpc.camp/images/quantco.svg" height="60px" style="margin: 10px 10px 10px 10px;"></a> <a href="https://ordercapital.com/"> <img src="https://ocpc.camp/images/OrCa.svg" height="60px" style="margin: 10px 10px 10px 10px;"> </a> <a href="https://www.janestreet.com/join-jane-street/open-roles/?type=students-and-new-grads&location=london"> <img src="/predownloaded/ee/f2/eef26616a3661c658d1545f18ed21fabb14d5871.svg" height="60px" style="margin: 10px 10px 10px 10px;"></a> <a href="https://pinely.com/"> <img src="/predownloaded/0a/0f/0a0f3f67435d1f6e467bc7203d4a2090ba8f92cc.svg" height="60px" style="margin: 10px 10px 10px 10px;"></a> </ce...

Full text and comments »

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

23.
By GlebsHP, 11 years ago, translation, In English
New coordinator presents Codeforces Round #327 Hello, dear participants of Codeforces community! Starting from Codeforces Round #327 I'll be the new coordinator and will manage preparation process for all regular Codeforces rounds and other contests held on this platform. I'll do my best to increase the quality of contests we offer you, though [user:Zlobober,2015-10-24] already raised this bar high. Let's cheer him once again, for all the great job he had done! Tomorrow round will be held using the problems of Moscow team olympiad for high-school students. Do not be tricked by the word "school" &mdash; there will be a gold medalist of IOI 2015 participating and some candidates to this year Russian IOI team, meaning the level of the problems will be appropriate. I am sure everyone will find an interesting problem to enjoy. The problemset was prepared by the team of Moscow authors (list is incomplete): [user:Zlobober,2015-10-24], [user:romanandreev,2015-10-24], [user:_meshanya_,2015-10-24], [user:wilwell,2015-10-24], [user:g...
over, results are now final. Feel free to upsolve and read other contestants code. Congratulations, **UPD4.** The system testing is over, results are now final. Feel free to upsolve and read other

Full text and comments »

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

24.
By MikeMirzayanov, 7 years ago, translation, In English
Codeforces: Uphacking <img src="/predownloaded/23/8e/238e0f685f8b7b53a6aeee7099936d271eebb13f.png" style="float:right;margin:0 1em 1em 1em;"/> Hi Codeforces. Recently there have been several improvements on the website. A little later, I will write a short note about them. Here I want to tell about a noticeable new functionality that has recently been implemented by [user:kuviman,2019-07-05]. Sometimes after the end of a round there are requests in comments to add a particular test. And problem writers or coordinators add it manually. Now this process is automated. Meet the uphacking phase! Now, after the end of almost any contest, participants from Div.1 have the opportunity to hack any solution in this contest during the week. Yes, including official solutions from rounds. In case of successful hacking: * Your test will be automatically added to the problem and will be used in the future when testing new solutions for this problem; * If a hacked solution is a practice (i.e. upsolving), ...

Full text and comments »

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

25.
By kuviman, history, 11 years ago, translation, In English
Ratings in groups Hello everyone! Not so long ago summer trainings finished in Saratov State University, and to make it easier to monitor the success of our programmers we introduced a feature to add custom ratings. Now you also have this opportunity! ![ ](http://codeforces.me/predownloaded/85/43/8543cfde9bd7064b9b3d12f89c5405132fded843.png) Currently rating is calculated as follows: overall rating is equal to the arithmetic mean of the ratings for each contest in which the user has participated. Contest rating depends on the ratio of problems solved by user and a number of problems solved by winner, as well as user's place in the contest. Also points for upsolving are added to the contest rating. There is a rumor that such method of calculating rating first was used in ITMO. More formally: $$R=200 \cdot \frac{n - place + 1}{n} \cdot \frac{solved}{maxSolved} + 100 \cdot \frac{upsolved}{problemCount},$$ where * $R$ &mdash; contest rating, * $n$ &mdash; maximum of 50 and number of cont...

Full text and comments »

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

26.
By Zanite, history, 2 years ago, In English
Invitation to TLX Regular Open Contest #39 <img src="/predownloaded/40/0e/400e9c64e89b0d5af898014b9c7372fec74eb544.png" style="height: 200.0px;" /> <img src="/predownloaded/2d/30/2d30c17aba8882b75b0b9b0aa7c222a519bcc7ba.png" style="height: 150.0px;float: right;margin: 0 2.0em 2.0em 2.0em;max-width: 100.0%;max-height: 100.0%;" /> We are excited to invite you to **TLX Regular Open Contest #39!** Key details: - Contest links: [TLX](https://tlx.toki.id/contests/troc-39) - Time: [25th October 2024, 13:20 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TLX+Regular+Open+Contest+%2339&iso=20241025T1320&p1=1440) - Writers: [user:joelgun14,2024-10-23], [user:joshjms,2024-10-23], [user:JvThunder,2024-10-23], [user:MetalPower,2024-10-23], [user:Nevll,2024-10-23], [user:yz_,2024-10-23], [user:Zanite,2024-10-23] - Duration: 2 hours - Problems: 8 - Scoring distribution: **150 — 200 — 350 — 450 — 600 — 700 — 700 — 750** We would like to thank: - [user:Pyqe,2024-10-23] and [user:yz_,2024-10-23] ...
: [user:peti1234,2024-10-25] H: [user:maspy,2024-10-25] You can upsolve the problems [here](https, Editorial is available in the upsolve link., You can upsolve the problems [here](https://tlx.toki.id/problems/troc-39).

Full text and comments »

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

27.
By prabowo, history, 6 years ago, In English
Asia-Pacific Informatics Olympiad 2021 Open Contest Dear Codeforces community, The **[Asia-Pacific Informatics Olympiad (APIO) 2021](https://apio2021.id/)** is going to take place this month. <img src="/predownloaded/d6/44/d644de3ae41b008fffe91cf178534a8d54b446ba.png" style="width:250px"/> We invite everyone to participate in the [APIO 2021 Open Contest](https://open.apio2021.toki.id/). The open contest will have the same problemset as APIO 2021 and will be held using CMS. The open contest will be held between [Monday, 24 May 2021 (05:00 UTC+0)](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20210524T05&p1=1440) and [Wednesday, 26 May 2021 (05:00 UTC+0)](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20210526T05&p1=1440). The duration of the contest is 5 hours, and you can participate at any time within that window. More details are available on [https://apio2021.id/open.html](https://apio2021.id/open.html). You can register and access the contest on [https://open.apio2021.toki.id/](https://open.apio...
result for the open contest can be found [here](https://apio2021.id/open-results). - You canupsolve, /2C You may upsolve the problems there. Some of them have editorials that can be found from the, You may upsolve the problems there. Some of them have editorials that can be found from the left

Full text and comments »

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

28.
By Pyqe, 14 months ago, In English
Invitation to TLX Regular Open Contest #42 <img src="/predownloaded/2d/30/2d30c17aba8882b75b0b9b0aa7c222a519bcc7ba.png" style="width: 400.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;" /> Hello, Codeforces! We're excited to invite you to **TLX Regular Open Contest #42!** Key details: - Contest links: [TLX](https://tlx.toki.id/contests/troc-42) - Time: [13th October 2025, 13:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TLX+Regular+Open+Contest+%2342&amp;iso=20251013T1305&amp;p1=1440) - Writer: [user:Pyqe,2025-10-10] - Duration: 2 hours 30 minutes - Problems: 7 - Scoring distribution: **100 — 200 — 300 — 350 — 500 — 700 — 800** I would like to thank: - [user:tzaph_,2025-10-10] for the coordination. - [user:rama_pang,2025-10-10], [user:user202729,2025-10-10], and [user:Kinon,2025-10-10] for their help in testing the problems and giving feedback. - [user:fushar,2025-10-10] for the TLX platform. Please register for the contest and I encou...
over! You can upsolve the problems [here](https://tlx.toki.id/problems/troc-42). Editorials are, You can upsolve the problems [here](https://tlx.toki.id/problems/troc-42). Editorials are available

Full text and comments »

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

29.
By cadmiumky, 4 years ago, In English
How to un-become Master Since no one asked on how to un-become Master I decided to post one. So, here are the ways I managed to un-become Master after a lot of effort and hard work. ### Have a life Having a life is the easiest and most efficient way to un-become Master on Codeforces. Relax, play ping-pong ### Get a class Getting a class is another perfect way to un-become Master. You have way less time to focus on Competitive Programming and way more teme which is perfect for losing rating. In my personal experience, after I got a 10 at a prestigious Paul I started to not care so much about competitive programming because in the end of the day virtual rating on Codeforces is meaningless, but 10 on catalog is eternal. ### Prepare for IIOT Trying to compose a team for IIOT instantly brings your free time to 0, which might sound tragic but actually is a great thing. You realize there are more important things than virtual points and you start thinking about what people to team up with. A ...
### Never upsolve.

Full text and comments »

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

30.
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...

Full text and comments »

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

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

Full text and comments »

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

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

Full text and comments »

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

33.
By Pyqe, 3 years ago, In English
Invitation to TOKI Indonesian NOI Open Contest 2023 Hello Codeforces community, We are excited to invite you to **TOKI Indonesian NOI Open Contest 2023** — an online mirror contest for the Indonesian National Olympiad in Informatics. This national olympiad is one of the stages required for our students to qualify to represent Indonesia in the International Olympiad in Informatics (IOI). You may have seen our past open olympiads ([2015](https://codeforces.me/blog/entry/17924), [2016](https://codeforces.me/blog/entry/44892), [2017](https://codeforces.me/blog/entry/53037), [2018](https://codeforces.me/blog/entry/60263), [2019](https://codeforces.me/blog/entry/67967), [2020](https://codeforces.me/blog/entry/83514), [2021](https://codeforces.me/blog/entry/96689), [2022](https://codeforces.me/blog/entry/107378)), and you can check our past problems [here](https://tlx.toki.id/problems/problemsets?archive=osn). The contest is similar to IOI: 2 competition days (+ 1 trial session), each consisting of 3 IOI-style (partial, subtasks)...
You can upsolve the problems [here](https://tlx.toki.id/problems/osn-2023). The official editorials

Full text and comments »

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

34.
By ashmelev, history, 8 years ago, translation, In English
Codeforces Round #491 (Div.2) Hello! Codeforces Round #491 (Div.2) will start this Saturday, [June 23, 18:35 (UTC+3)](https://www.timeanddate.com/worldclock/fixedtime.html?day=23&month=6&year=2018&hour=18&min=35&sec=0&p1=166). This round will be **rated for the participants with rating lower than 2100** and other contestants can join it out of competition. This round problems have a significant intersection with NNSU Programming Contest 2018. Please **do not participate** in the round if you participated in the NNSU contest or tried to upsolve the problems. During the round you have to help student Vasya to manage the difficulties caused by the end of the academic year. There will be 6 problems and 2 hours to solve them. If you solve all the problems in 25 minutes you will be able to watch the second half of South Korea &mdash; Mexico at the FIFA World Cup. The scoring is unusual a bit: **500-1000-1250-1500-2000-2750** Great thanks to Mikhail [user:MikeMirzayanov,2018-06-22] Mirzayanov for the well-...
not participate** in the round if you participated in the NNSU contest or tried toupsolve the

Full text and comments »

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

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

Full text and comments »

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

36.
By Priyansh31dec, 18 months ago, In English
2 Years of Helping Beginners Upsolve Contests at TLE Eliminators Hello, Codeforces! We, the team at TLE Eliminators, are glad to announce the 2nd Anniversary of our Post Contest Discussion Series on Youtube. These discussions were born out of a simple but crucial idea, the importance of **Upsolving**, which helps you identify gaps in your knowledge and directly results in growth in your CP ability. ### How it started: 4 years ago, when I was actively participating in Codeforces contests, I used to have a post-contest call with my ICPC teammate &mdash; [user:parth20,2025-05-28], to discuss problems and our ideas. As I went on to start my Youtube channel later, I realised that upsolving was a major issue for most people, especially beginners who struggled to read text editorials. That's when I started uploading the recordings of our calls on Youtube and to my surprise, it blew up. We started getting 4-5k views on average on each video. Later, as I started TLE Eliminators and got busy with other things in life, I could hardly find time to ...
2 Years of Helping Beginners Upsolve Contests at TLE Eliminators, editorials. We post the videos right after the contests to ensure you don't make an excuse to notupsolve, the contests to ensure you don't make an excuse to not upsolve contests. Here is the link: https

Full text and comments »

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

37.
By Ashishgup, 8 years ago, In English
Codeforces Data Scraping Websites There are many useful websites that extract data from Codeforces and give some statistics, problem recommendations, graphs, etc. I thought that collecting them all in one place would be a good idea. Please comment the websites you find useful :D List as of now: - [CF-Predictor](https://cf-predictor-frontend.herokuapp.com/) ([Original Blog](https://codeforces.me/blog/entry/50411)): Predicts the expected rating change during and after contests. - [Code-Drills](https://code-drills.com/) ([Original Blog](https://codeforces.me/blog/entry/48991)): Recommends problems for a list of user & gives statistics on total number of problems solved. - [Codeforces Visualizer](https://cfviz.netlify.com/) ([Original Blog](https://codeforces.me/blog/entry/50326)): Gives various statistics for a user, and supports comparison between two users. - [CF Statistics](https://cfstatistics.herokuapp.com/) ([Original Blog](https://codeforces.me/blog/entry/60775)): Comparison between 2 users ...

Full text and comments »

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

38.
By adamant, history, 10 months ago, In English
OCPC 2026 Winter — wrap _If you are potentially interested in participating in OCPC **in person** in Summer/Autumn 2026, **please** fill **[this form](https://forms.gle/VdMRh6cAJRN4YvQN6)**!_ Hi everyone! <center><a href="https://ocpc.camp"><img src="https://ocpc.camp/images/ocpc_light.svg" height="80px"></a> <a href="https://icpc.foundation/"><img src="/predownloaded/43/08/43086529a28ccb5c9f2f2eec560ffa85e09c6881.svg" height="80px"></a></center> <center> <b>Supported by</b><br> <a href="https://www.janestreet.com/join-jane-street/open-roles/?type=students-and-new-grads&location=london"> <img src="/predownloaded/ee/f2/eef26616a3661c658d1545f18ed21fabb14d5871.svg" height="40px" style="margin: 10px 10px 10px 10px;"></a> <a href="https://www.hudsonrivertrading.com/"> <img src="https://ocpc.camp/images/HRT.svg" height="40px" style="margin: 10px 10px 10px 10px;"></a> <a href="https://www.silares.com/"> <img src="https://ocpc.camp/images/silares-red.svg" height="40px" style="margin: 10px 10px 10px ...

Full text and comments »

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

39.
By Zhtluo, history, 3 years ago, In English
All You Need is Randomly Guessing — How to Improve at Codeforces I hope [my previous blog](https://codeforces.me/blog/entry/126310) has convinced you that the best way to improve at Codeforces is to be more Russian, i.e. to improve your math capability. Unfortunately, humble mortals such as you and I are not gifted with the talent that esteemed Russian grandmasters such as 74TrAkToR had: _Surely, it is beneficial to have a code reference for many algorithms and data structures, but I also think that just superficially knowing the algorithm and maybe having implemented it once or twice before is sufficient to use it without a reference?_ _&mdash; Some other Codeforces grandmaster_ Therefore, in this blog I will explore the dark side of Russian-ness &mdash; randomly guessing &mdash; that is forsaken by every Russian grandmaster of the light side I know. However, it has been very helpful to me, and I hope that it serves you well, too. ## Example 1 I will start by using an example to demonstrate my thought process. This problem [1923C](h...
guess can I come up with that solves the problem? Or rather, as I would put it: *In anupsolve, ask

Full text and comments »

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

40.
By rama_pang, history, 4 years ago, In English
Invitation to TOKI Indonesian NOI Open Contest 2022 Hello Codeforces community, We are excited to invite you to **TOKI Indonesian NOI Open Contest 2022** — an online mirror contest for the Indonesian National Olympiad in Informatics. This national olympiad is one of the stages required for our students to qualify to represent Indonesia in the International Olympiad in Informatics (IOI). You may have seen our past open olympiads ([2015](https://codeforces.me/blog/entry/17924), [2016](https://codeforces.me/blog/entry/44892), [2017](https://codeforces.me/blog/entry/53037), [2018](https://codeforces.me/blog/entry/60263), [2019](https://codeforces.me/blog/entry/67967), [2020](https://codeforces.me/blog/entry/83514), [2021](https://codeforces.me/blog/entry/96689)), and you can check our past problems [here](https://tlx.toki.id/problems/problemsets?archive=osn). The contest is similar to IOI: 2 competition days (+ 1 trial session), each consisting of 3 IOI-style (partial, subtasks) problems to be solved in 5 hours. The schedule is...
You can upsolve the problems [here](https://tlx.toki.id/problems/osn-2022). The editorials can be

Full text and comments »

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

41.
By Pyqe, history, 4 years ago, In English
Invitation to TOKI Regular Open Contest #27 (based on COMPFEST 14) Dear Codeforces community, We are excited to invite you to **TOKI Regular Open Contest #27 (based on COMPFEST 14)**! For those of you who don't know, COMPFEST is a national contest for university students in Indonesia. Key details: - Contest link: [TLX](https://tlx.toki.id/contests/troc-27) - Time: [25th September 2022, 12:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI%20Regular%20Open%20Contest%20%2327&iso=20220925T120500) - Writer: [user:nandonathaniel,2022-09-22] [user:Nyse,2022-09-22] [user:Pyqe,2022-09-22] [user:TakeMe,2022-09-22] - Duration: 2 hours 20 minutes - Problems: 8 - Scoring distribution: **100 — 200 — 350 — 500 — 500 — 500 — 700 — 700** Many thanks to: - [user:steven.novaryo,2022-09-22] for the dedication and effort in COMPFEST 14 and TROC 27. - [user:NeoZap,2022-09-22] [user:Zappeko,2022-09-22] for helping with problem preparation. - [user:AMnu,2022-09-22] [user:bry_rp,2022-09-22] [user:bukanYohandi,2022-09-22] [user:david....
**UPD 2**: editorial is available in the upsolve link., You can upsolve the problems [here](https://tlx.toki.id/problems/troc-27)., ] - H. [user:heno239,2022-09-25] You can upsolve the problems [here](https://tlx.toki.id/problems

Full text and comments »

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

42.
By Zanite, history, 2 years ago, In English
Invitation to TLX Regular Open Contest #40 <img src="/predownloaded/90/b6/90b618fd78d1776d82e6e7e8777847d642e48cbc.png" style="max-height: 133.0px;" /> Hello, Codeforces! We are excited to invite you to **TLX Regular Open Contest #40 (based on BNPCHS 2024 Final Round)!** BNPCHS (Bina Nusantara Programming Contest for High School Students) is an annual competitive programming competition hosted by Binus University as part of BeeFest, a national-level competition for high school students. The problemset will be based on BNPCHS 2024 final round. The TROC will be happening alongside the onsite contest and is open for everyone to join! Key details: - Contest links: [TLX](https://tlx.toki.id/contests/troc-40) - Time: [3rd November 2024, 06:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TROC+40+x+BNPCHS+2024&iso=20241103T1305&p1=108&ah=2). **Note the unusual time of the round.** - Writers: [user:ArgoCahaya,2024-10-28], [user:joelgun14,2024-10-28], [user:Owmicron,2024-10-28], [user:Zanite,2024-10...
Editorial is available in the upsolve link., You can upsolve the problems [here](https://tlx.toki.id/problems/troc-40).

Full text and comments »

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

43.
By Errichto, 6 years ago, In English
My Coding Streams in September 2020 You can watch me live on https://www.twitch.tv/errichto or see stored broadcasts on https://www.youtube.com/errichto2. I will start with a week of daily streams and then it's just when I have time. * [September 8, 18:30 CEST](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20200908T1830&p1=262) &mdash; Codeforces Round #668 ([recording](https://youtu.be/h8W0omsVETo)) * [September 9, 17:00 CEST](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20200909T17&p1=262) &mdash; chatting with viewers, random stuff ([recording](https://youtu.be/9Z8MgTBmOIs)) * [September 10, 17:00 CEST](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20200910T17&p1=262) &mdash; 1v1 lockout against [user:Merkurev,2020-09-09] ([recording](https://youtu.be/lY2-stOhkVQ)) * [September 11, 17:00 CEST](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20200911T17&p1=262) &mdash; recent Codechef lunchtime and cook-off contests ([recording](https://youtu.be/xc_RBsSw2mI)) * [Sep...

Full text and comments »

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

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

Full text and comments »

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

45.
By YF_YUSUF, 7 months ago, translation, In English
Typical "Recent actions" codeforces How often do you read blogs? --- ## Codeforces Round Announcement/Editorial The most common reminder that here you can not only read blogs, but also solve/upsolve problems. --- ## Atcoder Contest Announcement Try solving the problems on another vjudge. --- ## Please ban this cheaters Law enforcement officers, look at other people codes and check whether LLM wrote the code. --- ## Rule about third-party... Author: MikeMirzayanov Have you seen how many comments there are? --- ## I just started learning competitive programming. Newbies who are just learning to code share how they solved problems and ask for advice on how to move forward. --- ## I solved this problem in a round by using another idea. Either geniuses who found a simpler solution, or those who did not understand the authors solution and wrote it their own way. --- ## Challange to reach a lot of rating He set a goal for himself that he wants to r...
read blogs, but also solve/upsolve problems.

Full text and comments »

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

46.
By TheEvilBird, 10 months ago, translation, In English
Codeforces Round #1078 (Div.2, based on Moscow Olympiad for Young Students, rated) Hello, Codeforces! This Sunday there will be a Moscow Olympiad for Young Students. This contest is prepared by Moscow Olympiad Scientific Committee that you may know by Moscow Open Olympiad, Moscow Team Olympiad, Metropolises Olympiad and All-Russian olympiad in the name of Keldysh. We are glad to invite you to [contest:2194] based on the problems of this olympiad, which will take place on [contest_time:2194]. **Note the unusual time of the round.** The round will be held according to the Codeforces rules and will be rated for all participants with rating below 2100. Problems of this competition were prepared by [user:silvvasil,2026-02-06], [user:Semen07,2026-02-06], [user:allvik66,2026-02-06], [user:dope,2026-02-06], [user:teraqqq,2026-02-06] guided by [user:TheEvilBird,2026-02-06], [user:grphil,2026-02-06] and Helen Andreeva. Thanks to [user:FairyWinx,2026-02-06] for the round coordination, and also thanks for [user:MikeMirzayanov,2026-02-06] и [user:KAN,2026-02-06] for C...

Full text and comments »

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

47.
By Zanite, history, 14 months ago, In English
Invitation to BNPC-HS 2025 Final Round Mirror <img src="https://zanite.dev/docs/troc/bnpchs-2025-banner.png" style="max-height: 133.0px;" /> Selamat siang, Codeforces! We are excited to invite you to the mirror of **BNPC-HS Final Round**! BNPC-HS (Bina Nusantara Programming Contest for High School Students) is an annual competitive programming competition hosted by BINUS University as part of BeeFest, a national-level competition for high school students. This contest is mirrored from the problemset of the Final Round of BNPC-HS 2025, and is open for everyone to join (not limited to high school students)! Key details: - **Rated for all** - Contest links: [TLX](https://tlx.toki.id/contests/bnpchs-2025-final-mirror/) - Time: [Sunday, October 19, 2025 at 04:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=BNPC-HS+2025+Final+Round+Mirror&iso=20251019T1105&p1=108&ah=3) - Duration: 4 hours - Problems: 10 - Allowed languages: C, C++11, C++17, C++20, Pascal, Java, Python 3, Go, Rust - Cont...
Editorial is available in the upsolve link., You can upsolve the problems [here](https://tlx.toki.id/problems/bnpchs-2025).

Full text and comments »

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

48.
By pwned, 2 years ago, In English
Train Better with ThemeCPs (+ Website)! Hello Codeforces! I am excited to share with you my competitive programming innovation which successfully propelled me to master (2100+)! This is the **<span style="color:black;">Theme</span><span style="color:red;">CP</span>** training method, which stands for **Themed <span style="color:red;">C</span>odeforces <span style="color:red;">P</span>rogressions**. Use at your discretion -- your Codeforces practice may get too effective and addictive! ![ ](/predownloaded/b5/33/b533201227bd15e23e4d344e38cf7f454e27e08a.png) **Want to read this blog in document form (with images)? Check out the following Google Doc!** https://tinyurl.com/themecp #### What is **<span style="color:black;">Theme</span><span style="color:red;">CP</span>**? **<span style="color:black;">Theme</span><span style="color:red;">CP</span>** is an experimental training system wherein users train on a perpetual ladder for ratings in **[<span style="color:gray;">900</span>, <span style="color:black;">3</span><...
. **Remember to upsolve the easiest problem you didn’t get during the mock!** This is very important. 5

Full text and comments »

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

49.
By Mangooste, 3 years ago, In English
XVIII Open Olympiad in Informatics (2023-2024) Hello, Codeforces! We have started the qualification contest of the **Open Olympiad in Informatics**! The Open Olympiad in Informatics is one of the most prestigious and challenging olympiads for school students in Russia. Every year, the most experienced students from Russia and other countries participate in the final of the olympiad. Starting this year, the results of the Open Olympiad will also be taken into account for the selection of participants for the Russian national team in informatics at various international olympiads. The tasks for the olympiad are prepared by the Moscow Olympiad Scientific Committee that you may know by Moscow Team Olympiad, Moscow Olympiad for Young Students and Metropolises Olympiad (rounds [327](https://codeforces.me/blog/entry/21185), [342](https://codeforces.me/blog/entry/23309), [345](https://codeforces.me/blog/entry/43615), [376](https://codeforces.me/blog/entry/47769), [401](https://codeforces.me/blog/entry/50613), [433](https://codeforc...
/2023-24/zaoch-materials/) are published. You can upsolve the problems [here](https://codeforces.com

Full text and comments »

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

50.
By mblazev, history, 7 years ago, In English
Presenting TLE: the best Codeforces bot for Discord I would like to present to you an open-source competitive programming (primarily codeforces) discord bot written in python by [user:meooow,2019-08-05], [user:algmyr,2019-08-05], [user:Narut,2019-08-05], [user:Rahul,2019-08-05], [user:pajenegod,2019-08-05], [user:aryaman,2019-08-05], [user:keima915,2019-08-05], [user:chilli,2019-08-05], [user:c1729,2019-08-05], [user:cfalas,2019-08-05] and [user:mblazev,2019-08-05]. Source code is avaliable on [github](https://github.com/cheran-senthil/TLE). If you would like to try the bot without having to set it up yourself, enter this server: [discord.gg/2CJ6qvY](https://discord.gg/2CJ6qvY). The bot is still work in progress, but it is already 4 months old so it can already do quite a few cool things. Here is a showcase of a subset of its features: - It can plot rating distribution of either active or all codeforces users, in either normal or log scale, who have competed at least n times. For example, `;plot cfdistrib normal active 5` gives: <...
Apart from random problems, you can also gain points for `;upsolve`-ing problems you failed in a, `, `;gudgitters` and `;upsolve`. They incentivize solving problems around user's rating by giving

Full text and comments »

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

51.
By Jatana, 7 years ago, translation, In English
Codeforces Round #612 Hello everybody! Now the winter SIS (Summer Informatics School) is taking place, and we, as part of the parallel A*+ with its teachers, have prepared a complete <a href="/contests/1286,1287" style="color:#03A89E !important; font-weight:bold">Codeforces Round</a>. The round will happen at [contest_time:1286] and will last for 2 hours. There will be 6 problems in each division. The tasks of the round were invented and prepared by [user:ismagilov.code,2020-01-04], [user:devid,2020-01-04], [user:Volkov_Ivan,2017-05-29], [user:Jatana,2020-01-04], [user:karasek,2020-01-04], [user:polinarria,2020-01-04], [user:cookiedoth,2020-01-04], [user:AlesyaIvanova,2020-01-04], [user:doktorkrab,2020-01-04], [user:AliceG,2020-01-04], [user:D.Pavlenko,2018-01-04], [user:VFeafanov,2020-01-04], [user:LordVoidebug,2020-01-04], [user:forestryks,2020-01-04], [user:Ilistratov,2020-01-04], [user:seiko.iwasawa,2020-01-04], [user:DeadInsideOnTest993,2020-01-04], [user:Drozd_off,2020-01-04] under the guidan...

Full text and comments »

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

52.
By nika-skybytska, 5 years ago, In English
March Summary ## Ratings _It's always nice to see them growing._ - codeforces: 2311 + 21 = 2332 - atcoder: 2024 + 29 = 2053 - leetcode: 2701 + 81 = 2782 - dmoj: 2161 + 197 = 2358 - prepbytes: 1853 + 79 = 1932 ## Contests _A contest a day keeps mental health away._ - rated: 11 - unrated: 14 - fullsolve: 12 ## Problems _One downside of many contests is that you don't have time to upsolve properly._ - solved: 145 - upsolved: 5 - todo: 23 **Hardest problems that I solved in-contest:** - [CF #779 E &mdash; Gojou and Matrix Game](https://codeforces.me/problemset/problem/1658/E) - [ABC 245 G &mdash; Foreign Friends](https://atcoder.jp/contests/abc245/tasks/abc245_g) - [CC Start 32 &mdash; Avoid Alternating](https://www.codechef.com/problems/AVOIDALT) - [PB PT P5 &mdash; Kevin and his Operation](https://mycode.prepbytes.com/problems/bit-manipulation/KVOP) **Easiest problems that I failed to solve in-contest:** - [ARC 137 C &mdash; Distinct Numbers](https://atc...
_One downside of many contests is that you don't have time to upsolve properly._

Full text and comments »

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

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

Full text and comments »

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

54.
By cry, 2 years ago, In English
Codeforces Round 971 (Div. 4) Editorial Thanks for participating! Despite the round being unrated, we hope you've enjoyed the problemset. We put a lot of effort into this round :prayge: I want to give huge thanks to [user:Dominater069,2024-08-28] and [user:satyam343,2024-08-28] for their heavy contributions to the subtasks of G. If you're participating out of competition, we hope you enjoyed attempting these bonus subtasks. Otherwise, we hope you will enjoy upsolving them! [problem:2009A] Problem Credits: [user:cry,2024-08-28] <br> Analysis: [user:cry,2024-08-28] <spoiler summary="Solution "> We choose $c$ between $a$ and $b$ $(a \leq c \leq b)$. The distance is $(c - a) + (b - c) = b - a$. Note that the distance does not depend on the the position $c$ at all. </spoiler> <spoiler summary="Code (Python) (ntarsis30) "> ```py for _ in range(int(input())): a,b = map(int,input().split()) print(b-a) ``` </spoiler> [problem:2009B] Problem Credits: [user:cry,2024-08-28] <br> Analysis: [user:cry...

Full text and comments »

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

55.
By Zanite, 14 months ago, In English
Invitation to BNPC-HS 2025 Qualification Round Mirror <img src="https://zanite.dev/docs/troc/bnpchs-2025-banner.png" style="max-height: 133.0px;" /> Selamat pagi, Codeforces! We are excited to invite you to the mirror of **BNPC-HS Qualification Round**! BNPC-HS (Bina Nusantara Programming Contest for High School Students) is an annual competitive programming competition hosted by BINUS University as part of BeeFest, a national-level competition for high school students. This contest is mirrored from the problemset of the Qualification Round of BNPC-HS 2025, and is open for everyone to join (not limited to high school students)! Key details: - **Rated for all** - Contest links: [TLX](https://tlx.toki.id/contests/bnpchs-2025-penyisihan-mirror/) - Time: [Sunday, September 21, 2025 at 02:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=BNPC-HS+2025+Qualification+Round+Mirror&iso=20250921T0905&p1=108&ah=3) - Duration: 3 hours - Problems: 6 - Allowed languages: C, C++11, C++17, C++20, Pascal, Java,...
Editorial is available in the upsolve link., You can upsolve the problems [here](https://tlx.toki.id/problems/bnpchs-2025-penyisihan).

Full text and comments »

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

56.
By prabowo, history, 5 years ago, In English
Invitation to TOKI KSN Open Contest 2021 Hello Codeforces community, We are excited to invite you to **TOKI KSN Open Contest 2021** — an online mirror contest for the Indonesia national olympiad in informatics. This national olympiad is one of the stages required for our students to qualify to represent Indonesia in the International Olympiad in Informatics (IOI). You may have seen our past open olympiads ([2015](https://codeforces.me/blog/entry/17924), [2016](https://codeforces.me/blog/entry/44892), [2017](https://codeforces.me/blog/entry/53037), [2018](https://codeforces.me/blog/entry/60263), [2019](https://codeforces.me/blog/entry/67967), [2020](https://codeforces.me/blog/entry/83514)) and you can check our past problems [here](https://tlx.toki.id/problems/problemsets?archive=osn). The contest is similar to IOI: 2 competition days (+ 1 trial session), each consisting of 3 IOI-style (partial, subtasks) problems to be solved in 5 hours. The schedule is as follows: * Day 0: [7 November 2021 09:00 — 8 November 2...
The editorials can be found in the contest link or upsolve link., You can upsolve the problems [here](https://tlx.toki.id/problems/ksn-2021).

Full text and comments »

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

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

Full text and comments »

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

58.
By Zanite, history, 8 days ago, In English
Invitation to The 2026 ICPC Asia Jakarta Regional Contest Mirror <img src="/predownloaded/87/ad/87adebad8266b6abbd8dbae1a675c2746019891d.png" /> Salam sejahtera, Codeforces! We are excited to invite you to the mirror of **The 2026 ICPC Asia Jakarta Regional Contest**! Key details: - **Rated for all** - Contest links: [TLX](https://tlx.toki.id/contests/icpc-jakarta-2026-mirror) - Time: [Sunday, November 29, 2026 at 03:35 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=The+2026+ICPC+Asia+Jakarta+Regional+Contest+Mirror&iso=20261129T1035&p1=108&ah=2) - Duration: 2 hours - Problems: 6 - Allowed languages: C, C++11, C++17, C++20, Pascal, Java, Python 3, Go, Rust - Contest style: ICPC - Penalty per wrong submission: 6 minutes - There will be no scoreboard freeze. - Available Languages: English, Bahasa Indonesia We would like to thank: - Our mysterious testers for testing the problems and giving outstanding feedback. - Our as-yet-unknown scientific and technical committee of The 2026 ICPC...

Full text and comments »

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

59.
By prabowo, 3 years ago, In English
TOKI Open 2024 Hello Codeforces! We will host TOKI Open 2024. This is one of the tests to select the Indonesian team for [IOI 2024](https://www.ioi2024.eg/). Everyone is welcome to take part in this contest. The contest will be held in two days: - [Day 1](https://tlx.toki.id/contests/toki-open-2024-day-1/): [Saturday, 25 May 2024, 09:00 (UTC+7) — Sunday, 26 May 2024, 07:00 (UTC+7)](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+Open+2024+Day+1&iso=20240525T09&p1=108&ah=22) - [Day 2](https://tlx.toki.id/contests/toki-open-2024-day-2/): [Sunday, 26 May 2024, 09:00 (UTC+7) — Monday, 27 May 2024, 07:00 (UTC+7)](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+Open+2024+Day+2&iso=20240526T09&p1=108&ah=22) Some key details of the contest: - Duration: 5 hours - Style: IOI - Allowed language: C++17 - You can start at any time within the 22-hour window. All contest days are hosted on [TLX](https://tlx.toki.id/). Please register for an account if you do not ...
You can upsolve the problems [here](https://tlx.toki.id/problems/toki-open-2024). The editorial can

Full text and comments »

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

60.
By shishyando, 5 years ago, In English
Codeforces Global Round 16 (meme announcement) #**Приветики! ヾ(≧▽≦*)o** ###**This is a meme announcement, but it will be updated too**. We are incredibly happy to invite you to a special (for us and, we hope, for you) event, [contest:1566]. It will be held on [contest_time:1566], rated for everyone of course! Feel free to participate! <br/> #####The problems were written and prepared by [user:shishin,2018-09-25] and [user:Artyom123,2018-03-11]. We chose the green color because it matches the **"Upvote"** button (cyan is fine too). #####**You know what to do.** <br/> #### Huge Thanks and much Love to great people who _contributed_ in the round creation These people really deserve all the warm words and that green upvotes: - [user:isaf27,2016-02-27], the one who did a lot of things for the round to happen, I just can't find the exact words to thank him orz - [user:Shinchan01,2019-12-19], [user:Ziware,2018-09-23], [user:Kirill22,2018-08-18], [user:ijxjdjd,2019-08-25], [user:m371,2020-10-05], [user:A...
problems. Moreover, we really hope you upsolve the problems after the round, there are some interesting

Full text and comments »

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

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

Full text and comments »

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

62.
By prabowo, history, 6 years ago, In English
Invitation to TOKI KSN Open Contest 2020 Hello Codeforces community, Similar to [last year](https://codeforces.me/blog/entry/67967), we are excited to invite you to **TOKI KSN Open Contest 2020** -- an online mirror contest for Indonesia national olympiad in informatics. This national olympiad is one of the stages required for our students to qualify to represent Indonesia in the International Olympiad in Informatics (IOI). The contest is similar to IOI: 2 competition days (+ 1 trial session), each consisting of 3 IOI-style (partial, subtasks) problems to be solved in 5 hours. The schedule is as follows: - Day 0: [12 October 2020 09:00 &mdash; 21:30 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+KSN+Open+Contest+2020+Day+0&iso=20201012T1605&p1=108&ah=12&am=30) (trial session) - Day 1: [13 October 2020 06:30 &mdash; 21:30 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+KSN+Open+Contest+2020+Day+1&iso=20201013T1335&p1=108&ah=15&am=00) - Day 2: [14 October 2020 06:30 &mdash; 2...
You can upsolve the problems [here](https://tlx.toki.id/problems/ksn-2020).

Full text and comments »

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

63.
By tzaph_, 2 years ago, In English
Invitation to TLX Regular Open Contest #36 <p> Hello, Codeforces! </b> <img src="/predownloaded/2d/30/2d30c17aba8882b75b0b9b0aa7c222a519bcc7ba.png" style="width: 400.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;"> </p> We are excited to invite you to <b>TLX Regular Open Contest #36!</b> Key details: <ul> <li>Contest links: [TLX](https://tlx.toki.id/contests/troc-36)</li> <li> Time: [27th July 2024, 14:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TLX%20Regular%20Open%20Contest%20%2336&iso=20240727T140500)</li> <li> Writer: [user:yz_,2024-07-25]</li> <li> Duration: 2 hours</li> <li> Problems: 7</li> <li> Scoring distribution: <b>100 &mdash; 200 &mdash; 350 &mdash; 400 &mdash; 450 &mdash; 550 &mdash; 700</b> </li> <li> <spoiler summary="The theme of the contest is related to...">![ ](/predownloaded/8a/0b/8a0bcb1e2b031e9625d2f83ba4b32f9aa11d5dfc.png)</spoiler> </li> </ul> I would like to thank: <ul> <li> [user:Pyqe,2024-07-25] for coordinating...
Editorial is available in the upsolve link., You can upsolve the problems [here](https://tlx.toki.id/problems/troc-36).

Full text and comments »

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

64.
By notlikeduck, history, 3 years ago, In English
Lexington Informatics Tournament 2023 **Final update**: The contest has finished! This year, since it was prepared using Polygon, it is available for upsolving in the [Codeforces gym](https://codeforces.me/gym/104511). Thanks everyone for participating! And congratulations to the top teams: | Place | Team | Points | Penalty | | ----- | ---- | ------ | ------- | | 1 | [user:Golovanov399,2023-08-09], [user:andreysergunin,2023-08-09], [user:amethyst0,2023-08-09] | 850 | 177:51 | | 2 | [user:hyforces,2023-08-09], [user:lunchbox,2023-08-09], [user:oursaco,2023-08-09] | 850 | 179:52 | | 3 | [user:GusterGoose27,2023-08-09], [user:Ritwin,2023-08-09], [user:skittles1412,2023-08-09] | 830 | 171:40 | | 4 | [user:null_awe,2023-08-09], [user:PurpleCrayon,2023-08-09], [user:penguinhacker,2023-08-09] | 830 | 178:43 | | 5 | [user:antontrygubO_o,2023-08-09], [user:244mhq,2023-08-09] | 800 | 169:11 | **Update update**: Both the [Standard Round](https://lit.lhsmathcs.org) 5-day window and CTF Round have started. GOOD LUCK HA...

Full text and comments »

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

65.
By steven.novaryo, history, 6 years ago, In English
Invitation to TOKI Regular Open Contest #14 <img width="350px" src="/predownloaded/47/c5/47c59201579b90d0e12c8a1c4a43daed4b11f05c.jpg"> Dear Codeforces community, We are excited to invite you to <b>TOKI Regular Open Contest (TROC) #14!</b> Key details: <ul> <li>Contest links: [Div 1](https://tlx.toki.id/contests/troc-14-div-1) (rating ≥ 2000) and [Div 2](https://tlx.toki.id/contests/troc-14-div-2) (rating ≤ 1999) </li> <li> Time: [5 September 2020, 12:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+Regular+Open+Contest+%2314&iso=20200905T1205&ah=2) </li> <li> Writer: [user:steven.novaryo,2020-09-01] </li> <li> Duration: 2 hours </li> <li> Problems: 6 for every division </li> </ul> <br> Scoring distribution: <ul> <li> Div 2: <b>100 &mdash; 200 &mdash; 300 &mdash; 300 &mdash; 400 &mdash; 550 </b></li> <li> Div 1: <b>100 &mdash; 100 &mdash; 200 &mdash; 350 &mdash; 450 &mdash; 600 </b></li> </ul> I would like to thank [user:prabowo,2020-09-01] as coordinator, [user:hocky,2020-09-01]...
You can upsolve the problems [here](https://tlx.toki.id/problems/troc-14).

Full text and comments »

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

66.
By tzaph_, 5 years ago, In English
Invitation to TOKI Regular Open Contest #25 Happy (late) new year Codeforces! &#127881; &#127881; &#127881; We are excited to invite you to <b>TOKI Regular Open Contest (TROC) #25!</b> &#129321; &#129321; &#129321; Key details: <ul> <li>Contest links: [TLX](https://tlx.toki.id/contests/troc-25)</li> <li> Time: [9th January 2022, 13:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI%20Regular%20Open%20Contest%20%2325&iso=20220109T130500) &#8986;</li> <li> Writer: [user:CyberSleeper,2022-01-08] &#127907; [user:MGS763,2022-01-08] &#129488; [user:ainunsy1,2022-01-08] &#128171; [user:joshjms,2022-01-08] &#9875; [user:JvThunder,2022-01-08] &#129365; [user:Zap,2022-01-08] &#127800; </li> <li> Duration: 2 hours </li> <li> Problems: 8 </li> </ul> <br> Scoring distribution &#128576;: <b>100 &mdash; 200 &mdash; 300 &mdash; 300 &mdash; 500 &mdash; 500 &mdash; 700 &mdash; 800 </b> We would like to thank: <ul> <li> [user:Prabowo,2022-01-07] &#129320; for <strike>being president</strike> the amazing coor...
Editorial is available in the upsolve link., You can upsolve the problems [here](https://tlx.toki.id/problems/troc-25).

Full text and comments »

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

67.
By accord, 5 months ago, In English
Competitive Programming in the Era of AI **Read the original post on :** https://www.vibhaas.net/posts/Competitive-Programming-in-the-era-of-AI/ <br> <div align="center"> <img src="/predownloaded/3e/ae/3eaee0e93cf1784ab4923157729c81dd3a080fcf.jpg" alt="Wanderer above the Sea of Fog, Caspar David Friedrich" width="70%"> <br> <small><i>Wanderer above the Sea of Fog, Caspar David Friedrich</i></small> </div> <blockquote> Picture this. You've had a draining week at university or at work. You're exhausted, and you need a break. Most people would play a few video games, grab a few beers with their friends, or just sleep. But you have the (mis?)-fortune of being addicted to this weird, aesthetically questionable website called Codeforces (or AtCoder, or whatever your favorite OJ is). </blockquote> <blockquote> You check the list of upcoming contests, and you're in luck. "Nice," you think to yourself, "two rated contests back to back!" This is going to allow you to farm some rating! ...
After the contest, you upsolve the question. It takes you a few days. But you're

Full text and comments »

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

68.
By vioalbert, history, 3 years ago, In English
Invitation to TLX Regular Open Contest #34 (based on BNPCHS 2023 Final Round) <p> Dear Codeforces community, <img src="https://media.discordapp.net/attachments/822512645395578902/1161240790345977886/3.1.png" style="width: 400.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;" alt=”TROC 34 x BNPCHS 2023”> </p> We are excited to invite you to <b>TLX Regular Open Contest #34 (based on BNPCHS 2023 Final Round)!</b> BNPCHS (Bina Nusantara Programming Contest for High School Students) is an annual competitive programming competition hosted by Binus University as part of BeeFest, a national-level competition for high school students. The problemset will be based on BNPCHS 2023 final round. The TROC will be happening alongside the onsite contest and is open for everyone to join! Key details: - Contest URL: [TLX](https://tlx.toki.id/contests/troc-34) - Time: [15th October 2023, 06:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TROC+34+x+BNPCHS+2023&iso=20231015T1305&p1=108&ah=2) **(Note the unusual time ...
You can upsolve the problem [here](https://tlx.toki.id/problems/troc-34). Editorial is available in

Full text and comments »

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

69.
By hyforces, history, 3 years ago, In English
Teamscode Summer 2023 Editorial This is the editorial for the recent Teamscode Summer 2023 contest, and the problems are open for upsolving on this [gym](https://codeforces.me/gym/104520). Problems were prepared by [user:oursaco,2023-08-22], [user:dutin,2023-08-22], [user:thehunterjames,2023-08-22], [user:Bossologist,2023-08-22], [user:Esomer,2023-08-22], [user:danx,2023-08-22], [user:codicon,2023-08-22], [user:willy108,2023-08-22], and [user:hyforces,2023-08-22]. The problems were tested by [user:omeganot,2023-08-22], [user:codicon,2023-08-22], [user:cry,2023-08-22], [user:skye_,2023-08-22], [user:Litusiano_,2023-08-22], and [user:apple_method,2023-08-22]. ### [A. Who is cooking?](https://codeforces.me/gym/104520/problem/A) <spoiler summary="Solution"> danx </spoiler> <spoiler summary="Code"> ~~~~~ print("Esomer") ~~~~~ </spoiler> ### [B. Restaurant Sorting](https://codeforces.me/gym/104520/problem/B) <spoiler summary="Solution"> The answer is $n - $ the longest prefix of the array where a...

Full text and comments »

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

70.
By rfpermen, history, 4 years ago, In English
Invitation to TOKI Regular Open Contest #28 (Div. 2 Only, based on BNPC-HS 2022 Elimination Round) <p><img src="https://media.discordapp.net/attachments/976314385721077762/1032912348178030642/header.png" alt="" width="700" /></p> We are excited to invite you to [TOKI Regular Open Contest #28 (Div. 2 Only, based on BNPC-HS 2022 Elimination Round)](https://tlx.toki.id/contests/troc-28-div-2) on [Sunday, October 23rd 2022 19:05 UTC+7](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+Regular+Open+Contest+%2328+%28Div.+2+Only%2C+based+on+BNPC-HS+2022+Elimination+Round%29&iso=20221023T1905&p1=3909) Your rating should **be less than 2000 or not yet rated** in TLX to participate in this contest. The contest will be **2 hours long** and will feature **6 problems**. Note that you should participate in the contest **individually**. The problems were written by [user:vioalbert,2022-10-21], [user:rfpermen,2022-10-21], [user:Tyroflex,2022-10-21], [user:Trainerherp,2022-10-21], [user:Kresna,2022-10-21], [user:ConvexHull89,2022-10-21], [user:felix_suharjo,2022-10-21]. P...
**UPD 2**: editorial is available in the upsolve link., You can upsolve the problems [here](https://tlx.toki.id/problems/troc-28).

Full text and comments »

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

71.
By SergeiFedorov, 15 years ago, translation, In English
Codeforces Round #107. Tutorial. ### [problem:150E] 1. If there exists a path with the median $\ge k$, for some $k$, then there exists a path with the median $\ge q$, for each $q \le k$. That means we can use binary search to calculate the answer. So now the task is: is there any path with the median greater or equal to $Mid$ ? 2. We will calc the edge as $+1$ if it's wight $\ge Mid$, or as $-1$ in other case. Now we only need to check if there exists a path with legal length and the sum greater than or equal to zero. 3. Let's denote some node $V$ as a root. 4. All paths can be divided into two types: that contains $v$, and that do not. Now we are to process all first-type paths and run the algorithm on all subtrees. That is so-called divide-and-conquer strategy. 5. We can trivially show that it is always possible to choose such vertex $v$ that all it's subtrees will have size less than or equal to the size of the whole tree. That means that each node will be proccessed in $Log N$ trees max. 6....

Full text and comments »

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

72.
By Errichto, 5 years ago, In English
List of Coaches (IOI and ICPC Camps) When some country organizes an ICPC or IOI preparation camp, they often need a teacher from abroad. When they ask me, I usually decline because of a lack of time. I want to be able to link this blog so they would find a good teacher. If you teach and want to be reached by camp organizers, leave a comment and say something about your experience. <spoiler summary="More info about such camps"> Here's how it usually works. Organizers always pay for your flights and accommodation. They also might provide food and salary (1000-2500 USD per week). There are 8-30 students and they don't pay for anything. You are supposed to conduct 5-hour contests and maybe do a few lectures. It's ok to reuse old problems instead of creating new ones (though it might be nice for a particular lecture). I usually cover IOI finals and Polish contests. And CSES is good for beginners. If there are very few students, you can work more 1-to-1 with them and help with codes and upsolving. That's n...

Full text and comments »

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

73.
By dmkozyrev, history, 4 years ago, In English
Invitation to Bug Game [marathon problem, mirror of buglab.ru] Hello Codeforces! **UPD.** [user:I_love_natalia,2023-04-18] crashed the checker by his maze with $10^9$ moves. The problem is resolved now and all of the solutions rejudged. Scoring is changed. [More info](https://codeforces.me/blog/entry/115144?#comment-1023668) **UPD 2:** The official site [https://buglab.ru/](https://buglab.ru/) was updated. See [comment](https://codeforces.me/blog/entry/115144?#comment-1024061). **UPD 3:** The checker has been speeded-up by [user:mfv,2023-05-01] in $2.2$ times (in comparison with my checker. The new speed is equal to $4$ seconds for a $10^9$ moves in codeforces "Custom Invocation"). Current standings: 1. $17\cdot 10^9$ &mdash; [user:sas4eka,2023-05-01]; 2. $14\cdot 10^9$ &mdash; [user:I_love_natalia,2023-05-01]; 3. $6.8 \cdot 10^9$ &mdash; [user:maxplus,2023-05-01] (on the buglab: $11.3 \cdot 10^9$). **UPD 4:** I updated the checker: now mazes up to $42$ billions are supported before checker got TL. Time limit of checker on codef...

Full text and comments »

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

74.
By jonathanirvings, history, 6 years ago, In English
TOKI CMS Contest Hi all, As a preparation for the Indonesian Informatics Olympiad committee to host [IOI 2022](https://ioi2022.id/), we decided to organise a test contest using [CMS](https://cms-dev.github.io/), the contest system used for IOI since 2012. The main purpose of this contest is for us to be familiar with CMS, including troubleshooting issues that may arise before, during, or after the contest. Therefore, we would like to invite everyone to participate in this contest. The contest will be held on [Sunday, 10 January 2021 9:05PM UTC+7 (Western Indonesian Time)](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+CMS+Contest&iso=20210110T2105&p1=108&ah=2). Since we are using the contest to be familiar with IOI-related features in CMS, the contest follows several IOI specifications, including: - There are batch, output-only, interactive, and communication tasks. - For non output-only tasks, you only need to implement one or more functions specified in the problem specif...

Full text and comments »

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

75.
By kiwii, 3 years ago, In English
TLX Special Open Contest — April Fools 2024! ~~~~~ /*** * _____ ___ ___ ___ ___ __ ___ _ _ * |_ _| / __| / _ \ / __| |_ ) / \ |_ ) | | | O O o * | | \__ \ | (_) || (__ / / | () | / / |_ _| o * _|_|_ |___/ \___/ \___| _____ /___| _\__/ /___| _|_|_ [O]__ZT * _|"""""_|"""""_|"""""_|"""""_| _|"""""_|"""""_|"""""_|"""""_|======} * "`-0-0-"`-0-0-"`-0-0-"`-0-0-"`-0-0-"`-0-0-"`-0-0-"`-0-0-"`-0-0-"`000--o\. * ___ ___ ___ ___ _ ___ ___ ___ _ ___ * o O O / \ | _ \ | _ \ |_ _| | | | __| / _ \ / _ \ | | / __| * o | - | | _/ | / | | | |__ | _| | (_) || (_) | | |__ \__ \ * TS__[O] |_|_| _|_|_ |_|_\ |___| |____| _____ _|_|_ \___/ \___/ |____| |___/ * {======_|"""""_| """ _|"""""_|...
You can now upsolve the problems [here](https://tlx.toki.id/problems/tsoc-april-fools-2024).

Full text and comments »

Tags tlx
  • Vote: I like it
  • +78
  • Vote: I do not like it

76.
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-...

Full text and comments »

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

77.
By Xellos, history, 10 years ago, In English
IOI, again I got to IOI solving &mdash; and upsolving &mdash; a bit late and I just recently finished it (with help of various comments). One thing I didn't really see there was: how would you have done? Here are my comments about the problems: - aliens: a common DP + convex hull trick; apparently, $O(NK\log)$ gets TLE for the 5th subtask and even $O(NK)$ has trouble fitting within the TL; 60pts - shortcut: I knew that there's binsearch (from a similar TC problem); afterwards, finding an $O(N\log^2)$ solution isn't hard, but improving it enough to get more points is; 93pts - railroad: [mfw](http://knowyourmeme.com/photos/993875-nick-young) &mdash; I didn't move beyond a bitset DP; even though I had a lot of ideas including what turned out to be the correct one (finding a flow), I thought it'd be some kind of greedy, but those are numerous and hard to check in this case; the last subtask was very easy after solving the 3rd; 34pts - messy: the bounds are $7\cdot2^7$ with $N=2^7$, so ...

Full text and comments »

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

78.
By Pyqe, 2 years ago, In English
Invitation to TOKI Indonesian NOI Open Contest 2024 Hello Codeforces community, We are excited to invite you to **TOKI Indonesian NOI Open Contest 2024** — an online mirror contest for the Indonesian National Olympiad in Informatics 2024. This national olympiad is one of the stages required for our students to qualify to represent Indonesia in the International Olympiad in Informatics (IOI) 2025. You may have seen our past open olympiads ([2015](https://codeforces.me/blog/entry/17924), [2016](https://codeforces.me/blog/entry/44892), [2017](https://codeforces.me/blog/entry/53037), [2018](https://codeforces.me/blog/entry/60263), [2019](https://codeforces.me/blog/entry/67967), [2020](https://codeforces.me/blog/entry/83514), [2021](https://codeforces.me/blog/entry/96689), [2022](https://codeforces.me/blog/entry/107378), [2023](https://codeforces.me/blog/entry/119797)), and you can check our past problems [here](https://tlx.toki.id/problems/problemsets?archive=osn). The contest is **similar to IOI**: 2 contest days (+ 1 trial ...

Full text and comments »

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

79.
By BigBag, 6 years ago, In English
Weak test cases for problem G from Grakn Forces, or how did I hack tourist Today I was upsolving a problem [problem:1408G] from the recent Grakn Forces 2020 contest. I've solved it, however I didn't really like my solution. So I decided to view how other participants solved this problem. Of course, I first opened the [user:tourist,2020-10-02]'s submission ([submission:94320762]), because his codes are always written in a good style and are easy to understand. But when I carefully looked through his solution, I was a little bit confused, because he used the idea, which I supposed to be wrong. The idea is the following: computers with indices $x_1$, $x_2$, $\ldots$, $x_k$ form a valid set, iff for each $i \in$ {$x_1, x_2, \ldots, x_k$}, values $a[i][x_1]$, $a[i][x_2]$, $\ldots$, $a[i][x_k]$ are smaller then all $a[i][j]$, where $j \notin$ {$x_1, x_2, \ldots, x_k$}. It's obvious that it's a necessary condition for being a valid set, and while solving this problem I first thought, that it can be also a sufficient condition. But after thinking a little bit...

Full text and comments »

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

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

Full text and comments »

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

81.
By rfpermen, history, 5 years ago, In English
Invitation to TOKI Mirror Open Contest: BNPC-HS 2021 Final Round <p align="center"><img src="https://i.imgur.com/JpX9oOj.png"></p> We are excited to invite you to [TOKI Mirror Open Contest (Unrated) &mdash; BNPC-HS 2021 Final Round](https://tlx.toki.id/contests/tmoc-bnpchs-2021-final) on [Saturday, October 16th 2021 13:05 UTC+7](https://www.timeanddate.com/worldclock/fixedtime.html?msg=BNPC-HS+2021+Final+Round+Mirror&iso=20211016T1305&p1=108&ah=5). The contest will be **5 hours** long and will feature **10 problems**. Note that you should participate in the contest **individually**. Scoring will be based on **ICPC rules**. The problems were written by [user:KerakTelor,2021-10-11], [user:Owmicron,2021-10-11], [user:Yoshiyuki,2021-10-11], [user:siplusplus,2021-10-11], [user:rfpermen,2021-10-11], [user:Berted,2021-10-11], [user:Nich728,2021-10-11], [user:VinsenN,2021-10-11], and [user:vioalbert,2021-10-11]. Problem components were prepared by the Scientific Committee: [user:rfpermen,2021-10-11], [user:Owmicron,2021-10-11], [user:ZeroScar,2021-...

Full text and comments »

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

82.
By tzaph_, history, 4 years ago, In English
Invitation to TLX Regular Open Contest #29 <img width="350px" src="/predownloaded/2d/30/2d30c17aba8882b75b0b9b0aa7c222a519bcc7ba.png"> Hello, Codeforces! Hope you are ready to do some laundry! We are excited to invite you to <b>TLX Regular Open Contest (TROC) #29!</b> Key details: <ul> <li>Contest links: [TLX](https://tlx.toki.id/contests/troc-29)</li> <li> Time: [5th December 2022, 13:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TLX%20Regular%20Open%20Contest%20%2329&iso=20221205T130500)</li> <li> Writer: [user:Zappeko,2022-12-02]</li> <li> Duration: 2 hours </li> <li> Problems: 8 <strike>buttons</strike> </li> <li> Scoring distribution: <b>100 &mdash; 200 &mdash; 300 &mdash; 450 &mdash; 500 &mdash; 550 &mdash; 650 &mdash; 700 </b> </li> </ul> I would like to thank: <ul> <li> [user:Pyqe,2022-12-02] and [user:steven.novaryo,2022-12-02] for their help in coordinating the round and in preparing the problem components.</li> <li> [user:Kinon,2022-12-02], [user:Drew_,2022-12-02], and [user...
Editorial is available in the upsolve link., You can upsolve the problems [here](https://tlx.toki.id/problems/troc-29).

Full text and comments »

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

83.
By prabowo, history, 7 years ago, In English
Invitation to TOKI Regular Open Contest #12 ![ ](https://i.imgur.com/t6g3WKU.jpg) Dear Codeforces community, We're excited to invite you to **TOKI Regular Open Contest (TROC) #12**! Key details: - Rated - Contest links: [Div 1](https://tlx.toki.id/contests/troc-12-div-1) and [Div 2](https://tlx.toki.id/contests/troc-12-div-2) - Time: [2 May 2020, 21:05 UTC+7](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+Regular+Open+Contest+%2312&iso=20200502T1405&p1=%3A&ah=2) - Style: full feedback, with penalty (time taken to reach current score) + (4-minute penalty per wrong submission) - Scoring: You get the score assigned to the problem when you fully solve it - Writers: [user:Berted,2020-04-29] [user:Pyqe,2020-04-29] [user:tzaph_,2020-04-29] [user:Pa.Nic,2020-04-29] [user:steven.novaryo,2020-04-29] [user:rama_pang,2020-04-29] [user:vioalbert,2020-04-29] - Duration: 2 hours - Problems: 5 for every division - Allowed languages: C, C++11, Pascal, Java, Python 3 The round uses two divisions system: ...
You can upsolve the problems [here](https://tlx.toki.id/problems/troc-12).

Full text and comments »

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

84.
By Leeking, history, 3 months ago, In English
Proposal: Standardized Editorial URLs **Proposal: Standardized Editorial URLs (`/contest/xxxx/editorial`) & API Endpoint Support** Finding tutorials for past Codeforces contests is currently far more inconsistent than it needs to be. Depending on the contest author and round, editorials are scattered across different formats: For anyone upsolving or building community tools (like browser extensions and problem trackers), this unpredictability causes constant friction. **The Proposal** Introduce a standardized URL alias and API endpoint for contest tutorials. **1. Standardized Web Route** Allow users to access any contest editorial via a single, predictable URL: ``` codeforces.com/contest/{contestId}/editorial ``` Practical Implementation & Settings: - **Contest Manager Settings:** In the contest dashboard, coordinators or authors simply enter the `blogEntryId` (or external link) designated as the official tutorial. - **Problem-Level Linking & Discussion:** [user:Errichto,2026-08-27] sugge...

Full text and comments »

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

85.
By prabowo, history, 7 years ago, In English
Invitation to TOKI Regular Open Contest #11 ![ ](https://i.imgur.com/t6g3WKU.jpg) Dear Codeforces community, We're excited to invite you to **TOKI Regular Open Contest (TROC) #11**! Key details: - Rated - Contest links: [Div 1](https://tlx.toki.id/contests/troc-11-div-1) and [Div 2](https://tlx.toki.id/contests/troc-11-div-2) - Time: [1 March 2020, 19:05 UTC+7](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+Regular+Open+Contest+%2311&iso=20200301T1205&ah=2) - Style: full feedback, with penalty (time taken to reach current score) + (4-minute penalty per wrong submission) - Scoring: You get the score assigned to the problem when you fully solve it - Writers: [user:Pyqe,2020-02-25] [user:Berted,2020-02-25] [user:nabilervatra,2020-02-25] [user:rama_pang,2020-02-25] [user:tzaph_,2020-02-25] [user:steven.novaryo,2020-02-25] [user:Prabowo,2020-02-25] [user:vioalbert,2020-02-25] - Duration: 2 hours - Problems: 6 for every division - Allowed languages: C, C++11, Pascal, Java, Python 3 The round u...
You can upsolve the problems [here](https://tlx.toki.id/problems/troc-11).

Full text and comments »

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

86.
By ko_osaga, history, 2 years ago, In English
IOI 2024 **Final Results are out!** Congratulations to everyone, especially: * [user:orzdevinwang,2024-09-05] for the first place * [user:Adam_GS,2024-09-05] for the second place * [user:kes0716,2024-09-05] for the first place in Korea (decided to be Gold at the very last minute!) --- IOI 2024 is held in Alexandria, Egypt. Good luck to all participants! I'm also attending as a student coach (Guest) as well; please say hi if you see me! All times are in UTC+3 (Egypt &mdash; Eastern European Summer Time). * Day 1: 2024.09.03 09:00 &mdash; 14:00 * Day 2: 2024.09.05 09:00 &mdash; 14:00 * Closing Ceremony: 2024.09.06 19:00 &mdash; 21:00 Links * [Official Results](https://stats.ioinformatics.org/results/2024) * [Problems (temporary Dropbox link)](https://www.dropbox.com/scl/fo/afbr0wzjsac9mmqawwu5x/APCmysuwE676sc9UgIdnuLg?rlkey=t7xro06dx47tgivd41ippet4g&dl=0) * [Scoreboard](https://ranking.ioi2024.eg/) * [Upsolving](https://ioi.contest.codeforces.com/group/32KGsXgiKA/con...

Full text and comments »

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

87.
By tzaph_, 6 years ago, In English
Invitation to TOKI Regular Open Contest #15 <img width="350px" src="/predownloaded/59/da/59da8076f9da4b6fa97f42d388b67e3ea44cb2b3.jpg"> Dear Codeforces community, We are excited to invite you to <b>TOKI Regular Open Contest (TROC) #15!</b> Key details: <ul> <li>Contest links: [Div 1](https://tlx.toki.id/contests/troc-15-div-1) (rating ≥ 2000) and [Div 2](https://tlx.toki.id/contests/troc-15-div-2) (rating < 2000 or unrated) </li> <li> Time: [1st November 2020, 14:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+Regular+Open+Contest+%2315&iso=20201101T1405&ah=2) </li> <li> Writer: [user:tzaph_,2020-10-29] </li> <li> Duration: 2 hours </li> <li> Problems: 6 for every division </li> </ul> <br> Scoring distribution: <ul> <li> Div 2: <b>100 &mdash; 200 &mdash; 300 &mdash; 400 &mdash; 550 &mdash; 650 </b></li> <li> Div 1: <b>100 &mdash; 200 &mdash; 350 &mdash; 400 &mdash; 500 &mdash; 600 </b></li> </ul> I would like to thank [user:prabowo,2020-10-29] as coordinator, [user:hocky,2020-10...
You can upsolve the problems [here](https://tlx.toki.id/problems/troc-15).

Full text and comments »

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

88.
By kiwii, 20 months ago, In English
TLX Special Open Contest — April Fools 2025! <hr><br> <div style="font-size: 30px">&#9201;&#65039;&#127937;&#3486;&#10062;&#65039;&#128511;&#127183;&#129425;&#127808;&#x1F6B6;&#x200d;&#x2640;&#xFE0F;&#65039;&#127862;&#128514;&#128164;</div> <img src="/predownloaded/68/1c/681c4236c970b27389c3d51238ef6637ce122bf6.png" style="height: 150.0px;float: right;margin: 0 2.0em 2.0em 2.0em;" /> Hello codeforces :D! We're very happy to announce and invite you to **TLX Special Open Contest (TSOC) &mdash; April Fools 2025**! <p>See our past contests: <a href="https://tlx.toki.id/contests/tsoc-april-fools-2024">2024</a> <a href="https://tlx.toki.id/contests/tsoc-april-fools-2021">2021</a> <a href="https://tlx.toki.id/contests/tsoc-april-fools-2020">2020</a> <a href="https://tlx.toki.id/contests/toc-2018-apr">2018</a></p> - Contest link: [TLX Special Open Contest (TSOC) &mdash; April Fools 2025](https://tlx.toki.id/contests/tsoc-april-fools-2025) - Time: <a href="https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+Spe...
You can now upsolve the problems [here](https://tlx.toki.id/problems/tsoc-april-fools-2025).

Full text and comments »

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

89.
By adarsh7203, 5 months ago, In English
[Website] CF UpsolveX — Automated Upsolving Companion for Codeforces (Web App + Chrome Extension) Hello everyone! I built **CF UpsolveX**, an automated upsolving companion for Codeforces. It consists of a full-stack web application along with a Chrome extension that helps you track, prioritize, and consistently upsolve the problems you missed in contests. --- ### Problem: While participating in Codeforces contests, I often found myself saying: *"I'll upsolve the remaining problems tomorrow."* But after a few contests, dozens of unsolved problems start piling up and it becomes difficult to decide: * Which problems should be upsolved first? * Which contests still have pending problems? * How much progress has been made overall? * Whether I am actually being consistent with upsolving? Since upsolving is one of the most important aspects of improvement in competitive programming, I felt there should be a better system for tracking and prioritizing missed problems. --- ### Solution: So I built **CF UpsolveX**. It automatically tracks your missed...
* **Analytics Dashboard:** Upsolve Velocity, Completion Rate, Current Streak & Rating Progression, * **Prioritized Upsolve Queue across all contests.**, * Track missed problems across contests. * Prioritize what to upsolve next. * Maintain, *"I'll upsolve the remaining problems tomorrow."*, , prioritize, and consistently upsolve the problems you missed in contests.

Full text and comments »

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

90.
By ramchandra, 6 years ago, In English
Compilation and debugging tutorial In this tutorial I'm going to share some useful compilation and debugging tips. These tips can save you a ton of time debugging and make compilation and debugging convenient. ### Useful compilation flags G++ has many useful warning flags such as - `-Wall` enables all warnings. I highly recommend using this flags. - `-Wextra` enables extra warnings. - `-Wno-sign-conversion` silences sign conversion warnings for code like `x < vec.size()` - `-Wshadow` enables shadowing warnings, so that if you define another variable with the same name in a local scope, you will get a warning. Using these flags can save you time debugging silly mistakes like forgetting to return a value in a function or doing a comparison like `x < vec.size()-1` where `vec.size()-1` can underflow into `SIZE_MAX-1`. #### Precompiled headers You can use precompiled headers to substantially speed up the compilation of your code. Note that the precompiled header is only used if it is compiled with the ...

Full text and comments »

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

91.
By prabowo, history, 3 months ago, In English
Invitation to TOKI Indonesian NOI Open Contest 2026 Hello Codeforces community, We are excited to invite you to **TOKI Indonesian NOI Open Contest 2026** — an online mirror contest for the Indonesian National Olympiad in Informatics 2026. This national olympiad is one of the stages required for our students to qualify to represent Indonesia in the International Olympiad in Informatics (IOI). You may have seen our past open olympiads ([2015](https://codeforces.me/blog/entry/17924), [2016](https://codeforces.me/blog/entry/44892), [2017](https://codeforces.me/blog/entry/53037), [2018](https://codeforces.me/blog/entry/60263), [2019](https://codeforces.me/blog/entry/67967), [2020](https://codeforces.me/blog/entry/83514), [2021](https://codeforces.me/blog/entry/96689), [2022](https://codeforces.me/blog/entry/107378), [2023](https://codeforces.me/blog/entry/119797), [2024](https://codeforces.me/blog/entry/133110), [2025](https://codeforces.me/blog/entry/147108)) and you can check our past problems [here](https://tlx.toki.id/probl...

Full text and comments »

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

92.
By prabowo, history, 7 years ago, In English
Invitation to TOKI Regular Open Contest #10 ![ ](https://i.imgur.com/t6g3WKU.jpg) Dear Codeforces community, We're excited to invite you to **TOKI Regular Open Contest (TROC) #10**! Key details: - Rated - Contest links: [Div 1](https://tlx.toki.id/contests/troc-10-div-1) and [Div 2](https://tlx.toki.id/contests/troc-10-div-2) - Time: [1 February 2020, 19:05 UTC+7](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+Regular+Open+Contest+%2310&iso=20200201T1205&ah=2) - Style: full feedback, with penalty (time taken to reach current score) + (4-minute penalty per wrong submission) - Scoring: You get the score assigned to the problem when you fully solve it - Writers: [user:hocky,2020-01-28] [user:Pa.Nic,2020-01-28] [user:phillotunru1,2020-01-28] - Duration: 2 hours - Problems: 6 for every division - Allowed languages: C, C++11, Pascal, Java, Python 3 The round uses two divisions system: - Users with rating **less than 2000** or **not yet rated** should participate in [Div 2] (https://tlx.toki.id...
You can upsolve the problems [here](https://tlx.toki.id/problems/troc-10).

Full text and comments »

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

93.
By Zlobober, 11 years ago, translation, In English
Codeforces Round #345 Hi everybody! Glad to tell you that tomorrow on [9:05 UTC](http://www.timeanddate.com/worldclock/fixedtime.html?day=7&month=3&year=2016&hour=12&min=5&sec=0&p1=166) there will be Codeforces Round #345. The round is formed of the first day of X Moscow Open Olympiad problemset with several additional problems created for this round. This round is brought to you by the scientific committee of Moscow Programming Olympiads controlled by [user:GlebsHP,2016-03-06], [user:romanandreev,2016-03-06] and your humble servant, and also with a great help of [user:fcspartakm,2016-03-06] who helped us make a complete problemset of our problems. The round will be conducted under the standard Codeforces rules, you will be given 5 problems for 2 hours. Yes, this round is rated :) Note that because of holding the main onsite round system testing and upsolving will be available no earlier than 12:35 UTC. Also we would like to ask you to **not discuss** problems in comments during the time between th...

Full text and comments »

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

94.
By lsmll, history, 7 years ago, In English
The 2019 China Collegiate Programming Contest Harbin Site (Online Mirror) in Gym Hello, Codeforces! The China Collegiate Programming Contest (CCPC) is a competitive programming contest series for college students in China, organized by the CCPC Committee, which consists of coaches of the competitive programming teams of Chinese universities. It started in 2015, and this year is the 5th edition of CCPC. There are 4 onsite CCPC contests this year, including three regional contests in Qinhuangdao, Harbin and Xiamen, as well as the CCPC Final in Beijing. Many Chinese universities use CCPC as an opportunity to practice before the ICPC regionals. The 2019 CCPC Harbin Site has recently ended on October 13 in Northeast Forestry University. A total of 272 teams, most of whom were selected from the preliminary online contest, took part in the official onsite contest in Harbin. The problems for this contest were mostly prepared by retired ICPC participants of Zhejiang University, and the head judge was me. We are glad to invite you to participate in its online mirro...
this contest 6 hours before it starts, and you will be able to virtually participate andupsolve the

Full text and comments »

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

95.
By tzaph_, history, 6 years ago, In English
Invitation to TOKI Regular Open Contest #18 Happy (late) new year Codeforces community! We are excited to invite you to <b>TOKI Regular Open Contest (TROC) #18!</b> Key details: <ul> <li>Contest links: [TLX](https://tlx.toki.id/contests/troc-18) (combined divisions)</li> <li> Time: [17th January 2021, 13:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+Regular+Open+Contest+%2318&iso=20210117T1305&ah=2) </li> <li> Writer: [user:steven.novaryo,2021-01-15] [user:Zap,2021-01-15] </li> <li> Duration: 2 hours </li> <li> Problems: 7 </li> </ul> <br> Scoring distribution: <b>100 &mdash; 250 &mdash; 300 &mdash; 350 &mdash; 450 &mdash; 600 &mdash; 650 </b> We would like to thank: <ul> <li> [user:Prabowo,2021-01-15] for <strike>admitting to be a masochist</strike> the amazing coordination of the round.</li> <li> [user:hocky,2021-01-15] for <strike>showing his very long tongue</strike> helping with problem preparation.</li> <li> [user:malfple,2021-01-15] and [user:markus_geger,2021-01-15] for testi...
You can upsolve the problems [here](https://tlx.toki.id/problems/troc-18).

Full text and comments »

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

96.
By hloya_ygrt, 7 years ago, translation, In English
X BSUIR Open Programming Championship <div style="text-align: center; margin-bottom: 10px;"> <img src="/predownloaded/8e/c4/8ec47dc8ee73d992e81bb7974a1dde9590a4490f.png" /> </div> The **X BSUIR Open Programming Championship** will be held from March 21 till May 7, 2020 (Minsk, Belarus). Semifinal is over, upsolving is open and standings are unfreezed. Thanks to the problemsetters: [user:aropan,2016-11-08], [user:teleport,2016-08-06], [user:wilcot,2020-04-08], [user:ShavelV,2020-04-08], [user:rui-de,2020-04-08], [user:Vladik,2020-04-08], [user:netman,2016-11-08]. Results here: [students](https://contest.yandex.ru/contest/17437/standings?lang=en) и [school](https://contest.yandex.ru/contest/17438/standings?lang=en). **UPD3:** Registration deadline comes in **30 hours**. **UPD:** [Telegram channel](https://t.me/bsuir_open_x_news). There's a link there to a chat, where you can talk to other participants and team up. **UPD2:** With respect to the situation in the world, organizing committee decided to mak...

Full text and comments »

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

97.
By jonathanirvings, history, 9 years ago, In English
Invitation to 2017 Indonesian National Olympiad in Informatics Open Contest Hello! Indonesia will hold 2017 National Olympiad in Informatics next week (July 3rd — July 5th 2017) in Pekanbaru, Indonesia. It is a competition for Indonesian high school students as one of the preliminary round of Indonesian IOI selection. And this is the third year for Indonesia ([2016](http://codeforces.me/blog/entry/44892), [2015](http://codeforces.me/blog/entry/17924)) to invite everyone around the world to try solving the problems by participating the Open Contest! The contest will be conducted on [TLX Online Judge](https://competition.ia-toki.org/contests). You may need to register for a TLX account if you do not have one. If you have a TLX account, you can login and go to the contest link to register for the contest. There will be three different contests, one for each day. You may participate them separately (e.g. only participate in Day 1 and Day 2, but not in Day 0), but we expect you to join them all. The Open Contest will start after an hour from the real c...

Full text and comments »

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

98.
By jonathanirvings, history, 8 years ago, In English
2018 ICPC Asia Jakarta Regional Contest problemset on (now Codeforces) Gym **UPD: 2018 ICPC Asia Jakarta Regional Contest problemset is now available on CODEFORCES Gym** **UPD2:** The original checker for [problem C](https://codeforces.me/gym/102001/problem/C) turns out to have non-deterministic behaviour due to insufficient array size. Fortunately, the false checking caused by the bug occurs rarely enough that the live contest (including the mirror in Codeforces) was not impacted (at least we did not receive complaints on the live contest). The checker was fixed on 23 June 2020 and all submissions have been rejudged. See [this comment](https://codeforces.me/blog/entry/63220?#comment-598987) for more detail. We would like to invite you to the [mirror post-contest of 2018 ICPC Asia Jakarta Regional Contest](https://codeforces.me/gym/102001). The contest will start on [Sunday, 25 November 2018, 10.00AM Western Indonesian Time (UTC+7)](https://www.timeanddate.com/worldclock/fixedtime.html?msg=2018+ICPC+Asia+Jakarta+Regional+mirror+post-contest&iso=20181...

Full text and comments »

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

99.
By Yam, 2 years ago, In English
TeamsCode Summer 2024 Virtual Programming Contest **UPD: The problems from the contest are available for upsolving at these links: [Novice Division Gym](https://codeforces.me/gym/105283) and [Advanced Division Gym](https://codeforces.me/gym/105284)**. **UPD2: The editorial for the contest can be found at [this link](https://codeforces.me/blog/entry/132173)**. Hello Codeforces! [TeamsCode](https://teamscode.org/) is excited to announce the [TeamsCode Summer 2024 Virtual Programming Contest](https://www.teamscode.org/contests/summer-2024/)! It will take place on [**Sunday, July 28 from 11:15 AM to 5:30 PM Pacific Time / 2:15 PM to 8:30 PM Eastern Time**](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TeamsCode+Spring+2024+Virtual+Programming+Contest&iso=20240728T1115&p1=283&ah=6&am=15). **Teams of up to 4 members will have 3 hours to solve around 10 problems.** The problem difficulties will range from Div 2. A to Div 1. F. There are two divisions: Novice and Advanced, so no matter what skill level you are, there i...

Full text and comments »

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

100.
By Xellos, history, 7 years ago, In English
Virtual participation is great! I want to promote the option of virtual participation in contests, since I noticed it's not used as often as it could be. Perhaps it's just not something people keep in mind, but I'm sure that if you use it often, it will help you a lot. What does it do? It allows you to compete in past contests as if you were actually competing when the contest took place &mdash; there are only two differences: - it's unrated - there are no hacks and so far, no pretests Virtual participation is a great way to compete without worrying about your rating. Instead of making a fake account that you then throw away, you can just participate with your real account with no risk. If you care about embarassing yourself with poor performance, don't worry about it. Nobody cares. Virtual participation is also a great way to train. Unlike regular upsolving, you have a timer, so you can't just take your time trying stupid shit or overthinking. This way, it's much better for training fast thinking. Takin...

Full text and comments »

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

101.
By prabowo, history, 14 months ago, In English
Invitation to TOKI Indonesian NOI Open Contest 2025 Hello Codeforces community, We are excited to invite you to **TOKI Indonesian NOI Open Contest 2025** — an online mirror contest for the Indonesian National Olympiad in Informatics 2024. This national olympiad is one of the stages required for our students to qualify to represent Indonesia in the International Olympiad in Informatics (IOI). You may have seen our past open olympiads ([2015](https://codeforces.me/blog/entry/17924), [2016](https://codeforces.me/blog/entry/44892), [2017](https://codeforces.me/blog/entry/53037), [2018](https://codeforces.me/blog/entry/60263), [2019](https://codeforces.me/blog/entry/67967), [2020](https://codeforces.me/blog/entry/83514), [2021](https://codeforces.me/blog/entry/96689), [2022](https://codeforces.me/blog/entry/107378), [2023](https://codeforces.me/blog/entry/119797), [2024](https://codeforces.me/blog/entry/133110)) and you can check our past problems [here](https://tlx.toki.id/problems/problemsets?archive=osn). The contest is **...

Full text and comments »

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

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

Full text and comments »

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

103.
By dinohaur, history, 17 months ago, In English
CEOI 2025 discussion Since CEOI 2025 is over and the tasks and test data have been published, can we discuss the solutions here? Here are the [tasks](https://ceoi2025.utcluj.ro/category/13). Upd: you can find the tasks [here](https://codeforces.me/blog/entry/144670?#comment-1293960) (for now) Upd: https://github.com/asociatia-sepi/archive/tree/main/CEOI-2025 Upd: I was upsolving this CEOI now for practice and I decided to write some solutions because I couldn't find them. ## Boardgames ### Solution 1 This is the approach from the official editorial. The core idea relies on a **divide and conquer** strategy: 1. Initially, we invoke the function $f(1, n)$. 2. Find the position $i$ closest to the border such that $i$ and $i+1$ are not in the same connected component. 3. If the subgraph from $L$ to $R$ is connected, we can just return $1$. 4. Otherwise, we split the problem and return $f(L, i) + f(i+1, R)$. The main implementation challenge here is to efficiently maintain graph con...

Full text and comments »

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

104.
By aropan, 8 years ago, translation, In English
9th BSUIR Open Programming Championship <div style="text-align: center; margin-bottom: 10px;"> <img src="http://fksis.bsuir.by/wps/wcm/connect/0b2ce08048f7551a8edcee2567d03bb3/1/photo_2019-02-26_16-25-55.jpg?MOD=AJPERES"/> </div> The results and upsolving of the semifinal are available at [link](https://official.contest.yandex.ru/bsuir2019/contest/12360/standings). Many thanks to all guys who made this contest for you: [user:hloya_ygrt,2019-03-20], [user:teleport,2019-03-20], [user:wilcot,2019-03-20], [user:ShavelV,2019-03-20], [user:rui-de,2019-03-20], [user:Vladik,2019-03-20], [user:vilcheuski,2019-03-20], [user:netman,2019-03-20], [user:tkach1024,2019-03-20] and [user:jklementseva,2019-03-21]. The **9th BSUIR Open Programming Championship** will be held from March 13 till April 25, 2019 (Minsk, Belarus). [cut] Undergraduates and postgraduates of BSUIR, students of other educational institutions, students from other universities and countries are invited to participate in the Championship. The competition wi...

Full text and comments »

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

105.
By MikeMirzayanov, 10 years ago, translation, In English
Codeforces: Domains For Groups Hello! Are you missing something new? I have something to please you. Regularly I host some events &mdash; Olympiads, onsites, and eventually, examinations and tests for students. On the one hand, Codeforces already offers a unique functionality &mdash; groups, the integration with Polygon, the possibility of choosing tasks from the archive and so on. But it doesn’t enough! ### Domains for groups Here is an example of such a group. It is open for all &mdash; join it and look: http://example.contest.codeforces.com ##### Domain Now when you are editing a group, you can specify its subdomain (from 3 to 20 alphanumeric characters, starts with a letter). When you specify the domain, the group will be accessible by a link http://yourgroupdomain.contest.codeforces.com. According to this link, the following is correct: * Nothing extra will be displayed &mdash; the site contains only the information about competitions and blogs of your group and nothing else. * A...

Full text and comments »

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

106.
By merlin_, 4 years ago, In English
List of ICPC India Contests <s>ICPC India 2021-22 is knocking at the door.</s> So, inspired by similar blogs on Codeforces for [Open Cup](https://codeforces.me/blog/entry/84466), [Petrozavodsk Camp](https://codeforces.me/blog/entry/84489), and [USACO](https://codeforces.me/blog/entry/95032), and also due to the fact [ICPC Live Archive](https://icpcarchive.ecs.baylor.edu/) collapsed, I decided to list down all ICPC contests of India I could find. Please note that this blog contains only the materials and links I could find. I hope this is of some help to you guys. For the Github repository regarding the same, see [here](https://github.com/m-e-r-l-i-n/icpc-india). ### ICPC 2022-23 | Contest | Upsolving | Materials | |-|-|-| |[Mathura Kanpur Preliminary Round](https://icpc.global/regionals/finder/Preliminary-Round-2023)| [CodeDrills](https://codedrills.io/contests/icpc-kanpur-mathura-2022-qualifier-round)| Discuss:[1](https://codeforces.me/blog/entry/114039),[2](https://codeforces.me/blog/entry/1129...

Full text and comments »

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

107.
By Fefer_Ivan, 16 years ago, translation, In English
Codeforces Beta #27 - Tutorial <p> <size =="" 18=""><strong>A. <a href="http://codeforces.me/contest/27/problem/A">Next Test</a></strong></size><br> We will create an array of boolean used[1..3001] ans fill it with "false" values. For each of n given number, we will assign corresponding used value to "true". After that, the index of first element of used with "false" value is the answer to the problem.<br><br> <size =="" 18=""><strong>B. <a href="http://codeforces.me/contest/27/problem/B">Tournament</a></strong></size><br> To solve this problem first of all we should find such numbers A and B that occur in the input data not (n - 1) times, but (n - 2). We can notice, that winner-loser relation in this problem is transitive. This means that if X wins against Y and Y wins against Z, than X wins against Z. So to find out who is harsher A or B, let's look for such C, that the results of the match A with C and B with C are distinct. If such C exists, than the one, who wins against C should be printed first. I...
This is it for now. I hope, you will puzzle out all problems, upsolve them and after next

Full text and comments »

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

108.
By jonathanirvings, history, 9 years ago, In English
Invitation to TOKI Open 2018 Hello! After we successfully organized [TOKI Open 2014](http://codeforces.me/blog/entry/12286) and [TOKI Open 2017](http://codeforces.me/blog/entry/51512), we are going to do the similar thing this year. We will open our current IOI Selection Contest to international participants. We call it **TOKI Open 2018**. TOKI stands for Tim Olimpiade Komputer Indonesia, or Indonesian Computing Olympiad Team in English. Objectives of us opening this contest include, but not limited to: - Measure the performance of our IOI trainee compared to other countries' IOI trainee. - Foster friendship between Indonesia and other IOI participating countries. - Test Indonesia's scientific committee capability in setting IOI-level problems. - Test Indonesia's technical committee capability in hosting IOI-level contests. The contest will have very similar format with IOI, as this contest will be used to select our Top 4 and train our Top 4 for IOI. We expect that the difficulty of the contest i...

Full text and comments »

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

109.
By MattTheNub, history, 5 weeks ago, In English
Rutgers Programming Contest Fall 2026 Editorial Thank you to everyone who participated in the onsite and the open mirror! Congratulations to [user:ikaurov,2026-10-26], [user:serichaoo,2026-10-26], and [user:Ryazimn,2026-10-26] for winning the onsite! There is now a gym for upsolving: https://codeforces.me/gym/106785. Here are the solutions: [problem:106785A] <spoiler summary="Solution"> [tutorial:106785A] </spoiler> [problem:106785B] <spoiler summary="Solution"> [tutorial:106785B] </spoiler> [problem:106785C] <spoiler summary="Solution"> [tutorial:106785C] </spoiler> [problem:106785D] <spoiler summary="Solution"> [tutorial:106785D] </spoiler> [problem:106785E] <spoiler summary="Solution"> [tutorial:106785E] </spoiler> [problem:106785F] <spoiler summary="Solution"> [tutorial:106785F] </spoiler> [problem:106785G] <spoiler summary="Solution"> [tutorial:106785G] </spoiler> [problem:106785H] <spoiler summary="Solution"> [tutorial:106785H] </spoiler> [problem:1...

Full text and comments »

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

110.
By SuperJ6, 4 years ago, In English
How to Effectively Practice CP + Problem Solving Guide This is a slight tweak of [a practice guide](https://www.reddit.com/r/usaco/comments/pk3tjp/the_ultimate_usaco_practice_method/) I wrote a while ago on USACO reddit since I thought it could be helpful to people here. Some USACO specific sections or extra clutter I left out here that aren't needed for a general audience. This should cover all general cp advice I have so I never have to retype. #Introduction This is a post on how I believe is the best method to practice modern day competitive programming based on my experiences. I assume you already have some knowledge and know simple things like binary search and dfs/bfs, but **read the footnote if you are complete beginner** (never code, solved <50 problems, div2 A/B too difficult, grey or stuck low pupil). First, a quick tl;dr of the practice strategy before a bunch of specifics and explanation: >**In short, mostly you only need to use codeforces (no matter what contest you're training for), find a rating range where you c...
an OI contest then upsolve the ones you understand the editorial for after. This should be old USACO, time, particularly high quality ones from atcoder and codeforces. **You should alsoupsolve the

Full text and comments »

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

111.
By prabowo, history, 7 years ago, In English
Invitation to TOKI Regular Open Contest #7 ![ ](https://i.imgur.com/t6g3WKU.jpg) Dear Codeforces community, We're excited to invite you to **TOKI Regular Open Contest (TROC) #7**! Key details: - Rated - Contest links: [Div 1](https://tlx.toki.id/contests/troc-7-div-1) and [Div 2](https://tlx.toki.id/contests/troc-7-div-2) - Time: [1 September 2019, 13:05 UTC+7](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+Regular+Open+Contest+%237&iso=20190901T0605&p1=1440&ah=2) - Style: full feedback, 8-minute penalty per wrong submission - Scoring: You get the score assigned to the problem when you fully solve it - Writers: [user:AMnu,2019-08-29], [user:YogayoG,2019-08-29] - Duration: 2 hours - Problems: 5 for every division - Allowed languages: C, C++11, Pascal, Java, Python 3 This is the first TROC round that uses two divisions system: - Users with rating **less than 2000** or **not yet rated** should participate in [Div 2] (https://tlx.toki.id/contests/troc-7-div-2) - Users with rating **at leas...
You can upsolve the problems [here](https://training.ia-toki.org/problemsets/174/problems).

Full text and comments »

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

112.
By prabowo, 7 years ago, In English
Invitation to TOKI Regular Open Contest #8 ![ ](https://i.imgur.com/t6g3WKU.jpg) Dear Codeforces community, We're excited to invite you to **TOKI Regular Open Contest (TROC) #8**! Key details: - Rated - Contest links: [Div 1](https://tlx.toki.id/contests/troc-8-div-1) and [Div 2](https://tlx.toki.id/contests/troc-8-div-2) - Time: [28 September 2019, 19:05 UTC+7](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+Regular+Open+Contest+%238&iso=20190928T1205&p1=%3A&ah=2) - Style: full feedback, 8-minute penalty per wrong submission - Scoring: You get the score assigned to the problem when you fully solve it - Writers: [user:AMnu,2019-09-26], [user:faustaadp,2019-09-26], [user:halohalo,2019-09-26], [user:..vince,2019-09-26] - Duration: 2 hours - Problems: 5 for every division - Allowed languages: C, C++11, Pascal, Java, Python 3 The round uses two divisions system: - Users with rating **less than 2000** or **not yet rated** should participate in [Div 2] (https://tlx.toki.id/contests/troc-8-div-...
You can upsolve the problems [here](https://training.ia-toki.org/problemsets/182/problems).

Full text and comments »

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

113.
By jonathanirvings, history, 10 years ago, In English
Invitation to TOKI Open Contest February 2017 Hi Codeforces Community, I would like to invite you to participate in TOKI Open Contest. TOKI Open Contest is our (Indonesian's) monthly/bi-monthly online contest. Starting this month, we have decided to make this contest international :) Every problem is written in both Bahasa Indonesia and English. TOKI Open Contest February 2017 will be held on [Saturday, 18 February 2017, 19.00 &mdash; 21.00 Western Indonesian Time (UTC+7)](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+Open+Contest+February+2017&iso=20170218T12&p1=%3A&ah=2). This contest is written by [user:athin,2017-02-08], [user:anthonyhkf,2017-02-08], [user:aguss787,2017-02-08], and [user:jonathanirvings,2017-02-08]. Several details related to the contest: 1. The contest will use ACM-ICPC scoring type. 2. There will be FIVE problems with various difficulties but the weight for each problem is the same. The contest time is 2 hours. 3. Any non-Accepted submission will get 8 minutes penalty (but ...

Full text and comments »

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

114.
By vioalbert, history, 3 years ago, In English
Invitation to BNPCHS 2023 Elimination Round (Mirror, Unrated) <img src="https://media.discordapp.net/attachments/822512645395578902/1154984676222574592/header_ex_tmoc_2.png" alt="" style="width: 350.0px;max-width: 100.0%;max-height: 100.0%;"> We are excited to invite you to [BNPCHS 2023 Elimination Round (Mirror, Unrated)](https://tlx.toki.id/contests/bnpchs-2023-penyisihan-mirror) on [Saturday, September 23, 2023, 19:05 UTC+7](https://www.timeanddate.com/worldclock/fixedtime.html?msg=BNPCHS+2023+Elimination+Round+%28Mirror%2C+Unrated%29&iso=20230923T1905&p1=3909&ah=3). The contest will be 3 hours long and will feature 6 problems. The contest difficulty will be similar to Codeforces Div. 3 Rounds. The order of the problems is different from the original BNPCHS contest. The problems were written by [user:Owmicron,2023-09-21] [user:vioalbert,2023-09-21] [user:siplusplus,2023-09-21] [user:SunShine11,2023-09-21]. Problem components were prepared by [user:Owmicron,2023-09-21] [user:vioalbert,2023-09-21] [user:Chrisedyong,2023-09-21] [user:...

Full text and comments »

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

115.
By hyforces, 20 months ago, In English
TeamsCode Spring 2025 Virtual Programming Contest **UPD: The problems from the contest are available for upsolving at these links: [Novice Division Gym](https://codeforces.me/gym/105819) and [Advanced Division Gym](https://codeforces.me/gym/105818).** **UPD 2: The editorial for the contest can be found at [this link](https://codeforces.me/blog/entry/141840).** Hello Codeforces! [TeamsCode](http://teamscode.org) is excited to announce the [TeamsCode Spring 2025 Virtual Programming Contest](https://www.teamscode.org/contests/spring-2025)! It will take place on [**Saturday, April 05 from 11:00 AM to 5:30 PM Pacific Time / 2:00 PM to 8:30 PM Eastern Time**](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TeamsCode+Spring+2025+Online+Programming+Contest&iso=20250405T11&p1=283&ah=6&am=30). **Teams of up to 4 members will have 3 hours to solve 12 problems.** There are two divisions: Novice and Advanced, so no matter what skill level you are, there is a place for you. The guest speaker event will feature Ion Barbus, a...

Full text and comments »

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

116.
By rfpermen, history, 4 years ago, In English
Invitation to Mirror BNPC-HS 2022 Final Round <img src="https://raw.githubusercontent.com/ia-toki/toki-assets/master/tlx/contests/bnpc-hs-2022.png" style="width:350px;"> We are excited to invite you to [Mirror BNPC-HS 2022 Final Round (Unrated)](https://tlx.toki.id/contests/bnpchs-2022-final-mirror) on [Sunday, November 6th 2022, 11:05 UTC+7](https://www.timeanddate.com/worldclock/fixedtime.html?msg=BNPC-HS+2022+Final+Round+%28Mirror%2C+Unrated%29+&iso=20221106T1105&p1=3909&ah=5) The contest will be **5 hours long** and will feature **10 problems**. The order of the problems is the same as the original BNPC-HS contest. The problems were written by [user:OwenUltima,2022-11-03], [user:vioalbert,2022-11-03], [user:Yoshiyuki,2022-11-03], [user:Kresna,2022-11-03], and [user:alwyn,2022-11-03] Problem components were prepared by [user:jfcjaya,2022-11-03], [user:OwenUltima,2022-11-03], [user:vioalbert,2022-11-03], [user:rfpermen,2022-11-03], [user:trainerherp,2022-11-03], [user:tyroflex,2022-11-03], [user:Nich728,2022-11-03], ...
You can upsolve the problems [here](https://tlx.toki.id/problems/bnpchs-2022-final). The editorial

Full text and comments »

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

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

Full text and comments »

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

118.
By nika-skybytska, history, 5 years ago, In English
Data Structures in Dynamic Programming Week [![thumbnail](/predownloaded/74/3c/743c38e2e9b8f1cfeacd9ab44f5cce581dc2d0ed.png)](https://youtu.be/Aaceu-Z0abc) (click on the thumbnail to watch a YouTube video) Welcome back to what I called "ds in dp week", and you'll see in a second what this is all about. But first I wanted to share some stats with you: ### Contests This week I took part in 7 contests. Four of them are rated for me, and in the remaining three, I participated unofficially. I took second place in the Hacker Earth's Easy competition, got on the first standings page of LeetCode Biweekly Contest 69, and had my best TopCoder performance so far, which saw 164 points rating increase. Codeforces' Hello 2022 didn't go so well, with me managing to solve only A-D. Luckily I only got -15, a surprisingly forgiving rating change for an underperformance. The remaining three competitions were unrated for me, so I didn't pay much attention to them. It partially explains my questionable results on CodeChef Start...
I think 7 contests a week is as far as it gets for me if I want to upsolve a reasonable portion of

Full text and comments »

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

119.
By Qingyu, history, 5 years ago, In English
A complete list of opentrains contests The opentrains provides a series of high-quality ICPC training contests. However, its contest list is not complete(then it is difficult in finding some contests), and we cannot know if the contest has an editorial until we finish it. Therefore I made a [list](https://qingyu.us/opentrains.html) containing almost all of the contest materials, including contest id, statements, solutions and editorials. I don't know whether these materials can be made public (may affect their training value), so I only provided their corresponding links in opentrains in the table. The link for Statements, Solutions and Editorials is in the format of `http://opentrains.snarknews.info/~ejudge/index.cgi?solarc2=CONTEST_ID&sid=SESSION_ID`. You can save the entire page and replace the field `SID_HERE` in the page with yours. Your SESSION_ID can be obtained from the URL that you jumped to after logging in at http://opentrains.snarknews.info. For most of the Open Cup and Petrozavodsk contests, you can find...
For most of the Open Cup and Petrozavodsk contests, you can find the upsolve link in [user:zimpha

Full text and comments »

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

120.
By KindaNameless, history, 10 months ago, In English
Invitation to TLX Regular Open Contest #43 (based on Arkavidia 10.0) Wilujeng Wengi, Codeforces! We are excited to invite you to **TOKI Regular Open Contest #43 (based on Arkavidia 10.0)!** Key details: - Contest link: [TLX](https://tlx.toki.id/contests/troc-43) - Time: [8th February 2026, 21:15 UTC+7](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TLX+Regular+Open+Contest+%2343+%28based+on+Arkavidia+10.0%29&iso=20260208T2115&p1=3909) - Writer: [user:FaqihMSY,2026-02-05], [user:KindaNameless,2026-02-05], [user:AldyPy,2026-02-05], [user:Valz05,2026-02-05], [user:akunorangganteng,2026-02-05], [user:bakwankrispi,2026-02-05] - Duration: 2 hours 15 minutes - Problems: 8 - Allowed languages: C, C++11, C++17, Pascal, Java, Python 3, Go - Scoring distribution: **100 — 200 — 400 — 500 — 600 — 700 — 800 — 800** Many thanks to: - [user:Pyqe,2026-02-05] for helping coordinate the TROC contest - [user:aufannn,2026-02-05], [user:Romy67,2026-02-05], [user:Wibo,2026-02-05], [user:Jteh,2026-02-05] for testing the problems and giving feed...
You can upsolve the problems [here](https://tlx.toki.id/problems/troc-43). Editorials are available

Full text and comments »

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

121.
By prabowo, 7 years ago, In English
Invitation to TOKI Regular Open Contest #9 ![ ](https://i.imgur.com/t6g3WKU.jpg) Dear Codeforces community, We're excited to invite you to **TOKI Regular Open Contest (TROC) #9**! Key details: - Rated - Contest links: [Div 1](https://tlx.toki.id/contests/troc-9-div-1) and [Div 2](https://tlx.toki.id/contests/troc-9-div-2) - Time: [23 November 2019, 19:35 UTC+7](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+Regular+Open+Contest+%239&iso=20191123T1235&p1=1440&ah=2) - Style: full feedback, 8-minute penalty per wrong submission - Scoring: You get the score assigned to the problem when you fully solve it - Writers: [user:AMnu,2019-11-20] - Duration: 2 hours - Problems: 5 for every division - Allowed languages: C, C++11, Pascal, Java, Python 3 The round uses two divisions system: - Users with rating **less than 2000** or **not yet rated** should participate in [Div 2] (https://tlx.toki.id/contests/troc-9-div-2) - Users with rating **at least 2000** should participate in [Div 1] (https://tlx...
You can upsolve the problems [here](https://training.ia-toki.org/problemsets/183/problems).

Full text and comments »

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

122.
By Fefer_Ivan, 16 years ago, In English
Codeforces Round 28 - tutorial <p> <size =="" 18=""><strong>A. <a href="http://codeforces.me/contest/28/problem/A">Bender Problem</a></strong></size><br> Solution by <a href="http://codeforces.me/profile/Polichka">Polichka</a><br> Let's look at the first nail. If it is occupied by the fold place, then Bender will put next fold place on the third nail, then on fifth and so on. Else, is the first nail occupied by end, than second, fourth, sixth and so on nail will be occupied by the fold places.<br> Let's see, if we can complete our polyline with the first nail, occupied by rhe fold place. It means we should check, if we have an unused pod with length $dist(nails[n], nails[1]) + dist(nails[1], nails[2])$. Then check the third nail and so on.<br> If we have completed the polyline, then we have an answer. Else repeat previous procedure, but starting from the second nail.<br><br> <size =="" 18=""><strong>B. <a href="http://codeforces.me/contest/28/problem/B">pSort</a></strong></size><br> Solution by <a hr...

Full text and comments »

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

123.
By aviralx, history, 17 months ago, In English
What Happens When You Do CP Without Discipline > This isn’t one of those "how I became Candidate Master in 6 months" stories. > This is what happens when you say "I’ll do it tomorrow" for 3 straight years. I’m not red. Not purple. Hell, I’m not even consistent. I’m just someone who started CP with big dreams — and then made every mistake possible. If you’re stuck, lazy, unmotivated, scared, or feeling like you’re not improving... **Read this before you waste the same time I did.** --- ## Mistake #1: Practicing only when I felt motivated I’d solve 5 problems in one random burst, feel proud… and then disappear for 10 days. I blamed mood, college, stress, sleep. But here’s the thing: > CP doesn’t care how you feel. > If you're not consistent, you're not improving. --- ## Mistake #2: Clicking the editorial the second I got scared I’d read the statement. Felt hard. Editorial. Copy-paste. Move on. And then I told myself, "Well, at least I understood the idea." No. I didn’t. > I skippe...
My routine: Div 2 contest → A, B → Fail at C → Rage → Wait for the next contest Upsolve? Nope, No upsolve = no level up.

Full text and comments »

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

124.
By DarkestBlade, history, 6 months ago, In English
Hi guys check out my new website cf-cool-graphs (WITH COOL GRAPHS) I know there's already hundreds of cf analytic projects but trust me i have cool graphs to show. check out the website on https://cf-cool-graphs.vercel.app/ Cool Features: Performance Calculator: -> Calculate your in-contest and virtual performance (i know tle bot can calculate performance but it doesn't do virtual performance); virtual performance is just an estimate based on your placement compared to the official rankings; Because I am poor the calculations will take a bit of time so sorry about that; but we do cache the calculations so it is faster next time; I also cache the contests queried if it is not yet cached so it will be faster the more the service is used; ![ ](/predownloaded/89/75/8975b8655f32dd5e7aa98c99fb18c6567e0f14cf.png) Rolling Average: -> Gives your 50-problem rolling average ratings; This is my favorite graph to be honest; its a good tell if you are improving or not, even if the rating is quite flat; I attached my recent 50-day average an...
(There's also a list of all the problems you have to upsolve at the bottom of the graph;), -> It just shows if you upsolved the problem after contest; The upsolve rate is strictly based on, Upsolve Tracker:

Full text and comments »

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

125.
By Xellos, history, 10 years ago, translation, In English
QTDDTOB Questions That Don't Deserve Their Own Blog &mdash; I guess it'd be good to have something like this as a place to ask random questions about problems ("I accidentally my code, wat do?") without having your blog post get downvotebombed? <spoiler summary="old question"> I have a question about [Yandex.Algorithm 2015 round 2.2E](https://contest.yandex.ru/algorithm2015/contest/1299/problems/E/): the problem can be reduced to computing the min. bipartite vertex cover _that can't fully cover one side_ and since the dual of min. vertex cover is max. matching, I tried to find the dual of this problem. ![ ](https://ii.yuki.la/e/19/5301a2968c3aaef22cc665017cc0c2f249ce16857f6244b7cc99e110dbc6019e.jpg) I mean, that vertex cover can be described as a linear programming problem - $\mathrm{min}\sum_{i=1}^{N+M} x_i$ - $x_i \ge 0$ - $x_{u_j}+x_{v_j} \ge 1$ for each edge $e_j=(u_j-v_j), 1 \le j \le E$ - $\sum_{i=1}^N -x_i \ge -(N-1), \sum_{i=N+1}^{N+M} -x_i \ge -(M-1)$ Its dual shou...

Full text and comments »

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

126.
By Pyqe, history, 4 years ago, In English
Invitation to TLX Regular Open Contest #32 <p> Dear Codeforces community,</b> <img src="/predownloaded/2d/30/2d30c17aba8882b75b0b9b0aa7c222a519bcc7ba.png" style="width: 400.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;"> </p> We are excited to invite you to <b>TLX Regular Open Contest #32! Key details: - Contest URL: [TLX](https://tlx.toki.id/contests/troc-32) - Time: [7th May 2023, 12:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TLX%20Regular%20Open%20Contest%20%2332&iso=20230507T130500) - Writer: [user:Pyqe,2023-05-03] - Duration: 120 minutes - Problems: 7 - Scoring distribution: **100 — 200 — 300 — 400 — 500 — 600 — 700** Many thanks to: - [user:steven.novaryo,2023-05-03] and [user:nyab,2023-05-03] for their help in coordinating the round and in preparing the problem components. &#x1f602;&#x1f44c;&#x1f4af; - [user:AMnu,2023-05-03] and [user:Drew_,2023-05-03] for testing the contest. - [user:fushar,2023-05-03] for the amazing TLX platform. ...
You can upsolve the problem [here](https://tlx.toki.id/problems/troc-32). Editorial is available in

Full text and comments »

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

127.
By Hamed_, history, 9 months ago, In English
Trick Bites: Daily CP Tricks & Video Upsolves Hello Codeforces! This is my very first blog post here, Lately I've been working on a series called **Trick Bites**. ### The Idea I wanted to share some special CP tricks. Some of them are uncommon but surprisingly easy (like Dinkelbach's algorithm), while others are just common tricks that everyone needs to know. I've started releasing a new problem every day to highlight a specific trick. With each problem, I upload a short, straight-to-the-point Arabic video explaining the trick and the optimal solution. ### Why this blog? I wanted to create this blog to be a permanent archive. I will be updating this exact post daily with the new problem links and video solutions. My hope is that by saving all this content in one organized place, it can become a useful resource for anyone looking to learn some tricks! --- ### The Trick Bites Archive (Updated Daily) [Group Link](https://codeforces.me/group/reRlOrZJrU/contests) *(I will update this list every day with the late...

Full text and comments »

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

128.
By C0DET1GER, 5 months ago, In English
Lexington Informatics Tournament 2026 (New Format, Cash Prizes!) **FINAL UPDATE**: The contest is now over! The problems are available for upsolving in the [Codeforces gym](https://codeforces.me/gym/106637), and you can also read the editorial [here](https://hackmd.io/@C0DET1GER/Syl07aK-Bfl). Thanks for participating! And congratulations to the top teams (out of 1500 points): | Place | Team Name | Members | Points | Penalty | | ----- | --------- | ------- | ------ | ------- | | 1 | Segfault go BRRRR | [user:jeroenodb,2026-08-05], [user:BLOBVISGOD,2026-08-05], [user:Karuk,2026-08-05] | 1125 | 174:46 | | 2 | bwaaa | [user:reirugan,2026-08-05], [user:turska,2026-08-05], [user:catgirl,2026-08-05] | 1032 | 177:19 | | 3 | bribritt | [user:literalchild,2026-08-05] | 1025 | 171:00 | | 4 | bruhopen | [user:__jk__,2026-08-05], [user:p0tato,2026-08-05] | 1025 | 172:50 | | 5 | EtchedOffice | [user:amsraman,2026-08-05], [user:DylanSmith,2026-08-05], [user:BucketPotato,2026-08-05] | 1020 | 174:54 | As well as the top high-school teams: | Place ...

Full text and comments »

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

129.
By Pyqe, 2 years ago, In English
Invitation to TLX Regular Open Contest #38 <img src="/predownloaded/2d/30/2d30c17aba8882b75b0b9b0aa7c222a519bcc7ba.png" style="width: 400.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;" /> Hello, Codeforces! We're excited to invite you to **TLX Regular Open Contest #38!** Key details: - Contest links: [TLX](https://tlx.toki.id/contests/troc-38) - Time: [7th Sept 2024, 14:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TLX+Regular+Open+Contest+%2338&iso=20240907T1405&p1=1440&ah=2) - Writer: [user:Pyqe,2024-09-04] - Duration: 2 hours - Problems: 7 - Scoring distribution: **100 — 200 — 300 — 450 — 450 — 550 — 650** I would likke to thank: - [user:yz_,2024-09-04] aand [user:steven.novaryo,2024-09-04] for the based coordinationn! - [user:aufannn,2024-09-04], [user:kimmoqt,2024-09-04], [user:Nevll,2024-09-04], [user:MetalPower,2024-09-04] for testting the problems and giiving based feedback. - [user:fushar,2024-09-04] for the based TLX pplatform....
You can upsolve the problems [here](https://tlx.toki.id/problems/troc-38). Editorials are available

Full text and comments »

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

130.
By kith14, history, 3 years ago, In English
Invitation to TLX Regular Open Contest #33 <p> Dear Codeforces community,</b> <img src="/predownloaded/2d/30/2d30c17aba8882b75b0b9b0aa7c222a519bcc7ba.png" style="width: 400.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;"> </p> We are excited to invite you to <b>TLX Regular Open Contest #33! Key details: - Contest URL: [TLX](https://tlx.toki.id/contests/troc-33) - Time: [1st July 2023, 21:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TLX%20Regular%20Open%20Contest%20%2333&iso=20230701T140500) - Writers: [user:KindaNameless,2023-06-29], [user:kith14,2023-06-29], [user:SayedAulia,2023-06-29] - Duration: 120 minutes - Problems: 8 - Scoring distribution: **100 — 200 — 250 — 350 — 500 — 600 — 700 — 850** Many thanks to: - [user:steven.novaryo,2023-06-29] and [user:Pyqe,2023-06-29] for their help in coordinating the round and in preparing the problem components. - [user:AMnu,2023-06-29], [user:Drew_,2023-06-29], [user:faeee,2023-06-29], and [user:kayna,...
You can upsolve the problem [here](https://tlx.toki.id/problems/troc-33). Editorial is available in

Full text and comments »

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

131.
By aryanc403, 5 years ago, In English
Power series on sets? (Added one example) Update 2 &mdash; Thanks ~adamant,2021-06-25 for his [Subset convolution interpretation](https://codeforces.me/blog/entry/92153) blog. It does simplifies a lot of things. Update 1 - Let's consider this problem - We have a function `subset_convolution(A,B)` it gives us [Subset Sum Convolution](https://codeforces.me/blog/entry/72488) of two sets $A, B$. Let's say we array $A$ with $A[0]=1$ and we want to find `A^K` defined as $A$ convoluted with itself $K$ times. `A^2 = subset_convolution(A,A)` `A^3 = subset_convolution(A^2,A)` ... `A^k = subset_convolution(A^{k-1},A)` The best I can think right now is using something on lines of fast exponential to achieve $O(log K*N^2*2^N)$ time where $2^N$ is the size of A. Also, there exist some solutions $O(N^3*2^N)$ using the fact that the majority of the multiplications will be with A[0] and permutations & combinations. But it can be done in $O(N^2*2^N)$ using tricks well known at some pla...

Full text and comments »

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

132.
By zenolus, history, 6 years ago, In English
UpSolve.me - Backend and updates ![ ](https://codeforces.me/predownloaded/da/7f/da7fa93e4a23ba936e2171443a2d2e0333c27a4f.png) Hello, Codeforces community! Before going into the details, I would like to give a huge thanks to the community for the interest and support. I'm really awestruck to see over a thousand user handles having been entered in the web app in just barely 30 hours. (At the time of writing this blog.) If you haven't gone through the previous blog, [here it is](https://codeforces.me/blog/entry/79151). ![ ](https://i.gyazo.com/c33bfcd6517945d12247d029914838a2.png) There were some issues when I first made it live. I am sorry for that. I am no expert in the backend, so you guys had to face a lot of initial downtimes. Although I've applied a temporary fix, there's still work to be done. Keeping that aside, I would like to thank inputs from [user:manish_joshi,2020-06-23], [user:arthurg,2020-06-23], [user:RestingRajarshi,2020-06-23], [user:-is-this-fft-,2020-06-23] and everyone who checked it ou...
The section "UpSolve from last contest" doesn't see any of the above. However, the newly added, ](https://github.com/zenolus/upsolve) and [MongoDB-ExpressJS-NodeJS Backend](https://github.com

Full text and comments »

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

133.
By bihariforces, history, 16 months ago, In English
A WhatsApp Bot for Codeforces Analytics, Visualizations, and More Hello Codeforces community, ------------------ I wanted to share a useful WhatsApp-based AI assistant that might help with our competitive programming workflows. The idea is to bring essential tools directly into your chat, saving the time you'd spend switching between different websites. One of the most interesting features is its ability to generate a "true performance" graph for any user, which visualizes your performance rating in every contest. How to Use ------------------ Click the link to open a chat: [Whatsapp Chat Link](https://puch.ai/mcp/ycGISc7uVo) Send the pre-filled message that appears. The bot will then be active and you can start sending commands. Available Tools ------------------ Here is a list of its few functionalities. You can ask for them in natural language (e.g., "plot my rating graph" or "recommend a problem for me"). ###Analytics & Information `get_codeforces_user_stats`: Fetches detailed stats for one or more users. `recommend_problems`:...

Full text and comments »

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

134.
By VandanRogheliya, history, 6 years ago, In English
I Competed Everyday for a Month Hello, codeforces community! This is a follow up to the blog, [Competing Everyday?](https://codeforces.me/blog/entry/82778). This may sound like a flex but the point is to help the Pupils and Newbies who are stuck with their rating. I had been struggling to get to Specialist level for a half a year despite solving CP problems almost everyday. It got very frustrating to the point that I almost quit. Fortunately, in October I got some free time and I thought to change my strategy. I noticed that my rating depends on the problems which I can solve during the contests (roughly speaking), so why do not I practice contests instead of individual problems. To further check this line of reasoning I asked the same thing in the previous blog. A couple of high rated coders shared that they used the same strategy. As you can see in my rating graph, I went from a Newbie to an Expert now (Hopefully it stays like that XD), that too in less than a month. <spoiler summary="The Method I...
After a contest, I used to upsolve the questions that I was not able to solve in the contest

Full text and comments »

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

135.
By estoy-re-sebado, history, 8 days ago, In English
random blog about coaching TL;DR Pls talk about problems you upsolve or struggle on with your ICPC teammates and do it somewhere your coach can see. If you have a gc without your coach, delete it. Also pls flood your coach with questions if you have any, no matter how dumb. ------------ As ICPC coach of various teams over time (and currently), I notice that different teams get different mileage out of their coach(es). I have seen teams get frustrated that their coach is not doing enough for them (when I was a contestant, this sometimes happened to me). As a coach, I often feel like I am not helping my teams. I have had teams where I have a pretty good idea of where each member, and the team as a whole stands. I've had teams where I have zero idea where anybody is at. And I've had teams where I have a crystal clear picture of just one or two of the members, but not of all of them. In all these instances I think there is a recurring pattern of basically no signal making it to the coach. Let me no...
Pls talk about problems you upsolve or struggle on with your ICPC teammates and do it somewhere

Full text and comments »

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

136.
By willy108, history, 4 years ago, In English
Teamscode Spring 2023 Editorial This is the editorial for a recent contest [Teamscode](https://www.teamscode.org/). The problems are open for upsolving on [this gym](https://codeforces.me/gym/104287). Problems were prepared by [user:oursaco,2023-04-06], [user:dutin,2023-04-06], [user:thehunterjames,2023-04-06], [user:Bossologist,2023-04-06], [user:Esomer,2023-04-06], and me. ### [A. What do you do when the contest starts? Are you busy? Will you solve Bingo?](https://codeforces.me/gym/104287/problem/A) <spoiler summary = "Editorial"> <spoiler summary = "Are you busy?"> 1. WorldEnd/SukaSuka 2. Bocchi the Rock </spoiler> <spoiler summary = "No Sweep"> 1. Thomas </spoiler> <spoiler summary = "Multiplication Table"> 1. Lycoris Recoil </spoiler> <spoiler summary = "Greatest Common Multiple"> 1. Bokuben </spoiler> <spoiler summary = "A Certain Scientific Tree Problem"> 1. A Certain Scientific Railgun </spoiler> <spoiler summary = "Two and Three"> 1. Quintessential Quintluplets...

Full text and comments »

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

137.
By MrBrionix, 3 months ago, In English
Italian Olympiad in Informatics (OII) 2026 — Online Contest <div style="text-align: center; margin: 10px 0;"> <img src="https://codeforces.me/predownloaded/dc/d6/dcd6d0755244b6210c34d04c36f841fc6ee20f92.png" /> </div> For the eleventh time, the Italian national contest (valid for the selection of the Italian IOI team) will be mirrored into an online contest. The contest is primarily intended for high school contestants, but everyone is welcome to participate! There are both easy subtasks (div2A) and very hard ones (div1D+), so it can be enjoyable both for newcomers and for very high rated contestants. 1. The **problem statements** will be available in **English, Italian and Polish.** 2. Tasks will be **IOI-like** (with graders and subtasks) and you will have **5 hours** to solve them. 3. The only language allowed is **C++.** 4. The **time window for the practice contest** (featuring original problems) started on [2026 September 10th, 12:00 CET](https://www.timeanddate.com/worldclock/fixedtime.html?msg=OII+2026+-+Practice&iso=202...

Full text and comments »

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

138.
By ZhangShan, history, 5 months ago, In English
50 CSES problems with animated editorial and Scriba — a renderer for editorials with animations ! **TL;DR:** I built **[Scriba](https://scriba.judge.zone)** — a free, open-source (MIT) renderer that turns a LaTeX editorial (math, prose, tables, code, **and step-by-step algorithm animations**) into one self-contained, sanitized HTML file. Animations are driven by real code, not hand-drawn frames. To see it on real problems right now: **[50 CSES problems](https://app.judge.zone/problems?tags=cses) where every editorial is explained with an animation** — open any of them and press play. Or write your own in the [playground](https://scriba.judge.zone/playground), no signup. ## Hello, Codeforces! If you've ever written an editorial — for a school contest, a gym, or just a detailed solution comment — you know the drill. The prose and the math are the easy part. Then you hit *"and now the DP table fills up like this"*, and you're hand-drawing cells in `Excalidraw`, screenshotting each state into `step1.png`, `step2.png`, … Then you find an off-by-one in your own explanation, an...

Full text and comments »

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

139.
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

140.
By leg, history, 3 months ago, In English
Winning a Gold Medal at IOI 2026 Two months ago, I posted this [blog](https://codeforces.me/blog/entry/154231) on training for IOI Gold. Despite not feeling particularly good about my chances at a gold medal going into the contest, luck was on my side and I did end up winning a gold in the end! Therefore, I'm writing this blog as a follow-up to my previous blog, as well as to share about some of my experiences and opinions about IOI and training for it. ### Final months leading up to IOI In the two months between posting the previous blog and participating in IOI, I almost entirely stopped doing problems from CF and AtCoder, and instead fully focused on OI-style problems. I had previously done virtual participations in IOI 2016-2023 (and participated live in IOI 2024 and 2025), but deliberately didn't read most of the solutions so I could use them to gauge my progress as I periodically come back to them and upsolved. I worked through most of the problems that had room for improvement, and managed to pass the g...

Full text and comments »

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

141.
By shivamsinghal1012, 6 years ago, In English
Where to Practice Topic wise for Competitive Programming ? **UPD** &mdash; We are sorry for the inconvenience faced by all. Now Website is Live again. Keep Coding ON. Hello Codeforces! _I hope all is well!_ **" Which website to practice? "** is always a confusing question for us. I felt the same when i started Competitive Programming. Not to Worry now , i have created a website named [**Codedigger**](http://codedigger.tech/) which will solve this problem and boost your confidence in **Competitive Programming**. #### How? - We have collected handpicked problems from top 4 coding platforms &mdash; **_Codeforces, Codechef, UVa and SPOJ_** , All at One Place. - A diversified List of **Topics** and before starting any topic you can also learn some amazing techniques on that topic through **video editorials** beforehand. - You can test your knowledge by a **virtual contest** based on a particular topic and a video editorials will also be provided so you won't get stuck and further learn new concepts. - You can also Practice To...
Upsolve from past contest whether Rated or Virtual at one place. Must do these Problems. It will help you

Full text and comments »

142.
By rama_pang, history, 5 years ago, In English
Invitation to TOKI Regular Open Contest #22 Dear Codeforces community, We are excited to invite you to **TOKI Regular Open Contest (TROC) #22**! Key details: - Contest link: [TLX](https://tlx.toki.id/contests/troc-22) - Time: [4th September 2021, 14:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI%20Regular%20Open%20Contest%20%2322&iso=20210904T140500) - Writers: [user:Pyqe,2021-09-02] [user:rama_pang,2021-09-02] [user:Pa.Nic,2021-09-02] [user:Berted,2021-09-02] - Duration: 140 minutes - Problems: 7 - Scoring distribution: **100 — 200 — 400 — 400 — 500 — 700 — 700** Many thanks to: - [user:prabowo,2021-09-02] for <strike>making sure no problems are in OEIS</strike> coordinating the contest. &#x1f923; &#128075; - [user:steven.novaryo,2021-09-02] for helping with problem preparation for the very first (!) time. &#129395; &#127881; - [user:AMnu,2021-09-02] for testing the problems. - [user:fushar,2021-09-02] for the TLX platform. Please register for the contest, and we hope you will...
Editorial is available in the upsolve link., You can upsolve the problems [here](https://tlx.toki.id/problems/troc-22).

Full text and comments »

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

143.
By Zanite, history, 2 years ago, In English
Invitation to TLX Regular Open Contest #37 <img src="/predownloaded/2d/30/2d30c17aba8882b75b0b9b0aa7c222a519bcc7ba.png" style="width: 400.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;" /> Hello, Codeforces! We are excited to invite you to **TLX Regular Open Contest #37!** Key details: - Contest links: [TLX](https://tlx.toki.id/contests/troc-37) - Time: [3rd August 2024, 14:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TLX+Regular+Open+Contest+%2337&iso=20240803T1405&p1=1440&ah=2&am=30) - Writer: [user:Zanite,2024-06-31] - Duration: 2 hours 30 minutes - Problems: 8 - Scoring distribution: **100 — 300 — 500 — 650 — 700 — 800 — 900 — 1000** I would like to thank: - [user:yz_,2024-07-30] for the phenomenal coordination, and for coordinating his first TROC! - [user:Pyqe,2024-07-30], [user:steven.novaryo,2024-07-30], and [user:joelgun14,2024-07-30] for testing the problems and giving marvelous feedback. - [user:fushar,2024-07-30] for the amazi...
Editorial is available in the upsolve link., You can upsolve the problems [here](https://tlx.toki.id/problems/troc-37).

Full text and comments »

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

144.
By Pyqe, history, 6 years ago, In English
Invitation to TOKI Regular Open Contest #21 Dear Codeforces community, We are excited to invite you to **TOKI Regular Open Contest #21**! &#x1f44a;&#x1f60e; Key details: - Contest link: [TLX](https://tlx.toki.id/contests/troc-21) - Time: [14th April 2021, 13:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+Regular+Open+Contest+%2321&iso=20210414T1305&ah=2) - Writer: [user:Pyqe,2021-04-08] - Duration: 2 hours - Problems: 7 Scoring distribution: **100 — 200 — 300 — 500 — 500 — 600 — 800** Many thanks to: - [user:prabowo,2021-04-08] for coordinating the contest. &#x1f602;&#x1f44c; - [user:hocky,2021-04-08] for helping with problem preparation. &#x1f4af; - [user:JulianFernando,2021-04-08] and [user:AMnu,2021-04-08] for testing the problems. - [user:fushar,2021-04-08] for the TLX platform. Please register and we hope you will enjoy the contest! &#x1f525;&#x1f525;&#x1f525;&#x1f525; **UPD**: Please note there is a change in the contest timing. **UPD2**: Contest is over! Congrat...
Editorial is available in the upsolve link., You can upsolve the problems [here](https://tlx.toki.id/problems/troc-21).

Full text and comments »

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

145.
By Cristofor, 3 years ago, In English
[Consistency] Finding Motivation Hello, CodeForces! Recently, one of my students had a really bad contest. Even though he worked really hard in the last couple months, he could not pass an important qualifying round of an arguably easy, new, Romanian contest. The first 4 'official' contestants qualified, and sadly he was the fifth. He was really upset after the contest, and had a hard time gathering enough motivation/discipline to continue working, because there were scenarios in his head such as "what if this will happen in training camp?" or "what not passing had a really bad turn on my future?" Today, I am going to share with you all a simple method that can help you get over a bad contest or just motivate you to work more in general. Keep in mind, I am not a specialist in this domain, I am only a teacher with experience, so there might be better methods out there, but throughout the years I have seen that what you are about to read worked best on many of the my students. I advise you to also read this great ...
- improves your mentality and mental strength, as having the courage to read editorials andupsolve

Full text and comments »

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

146.
By KrK, history, 8 years ago, In English
Weak tests of Triple Flips I would like to discuss [C. Triple Flips](http://codeforces.me/contest/1071/problem/C) from today's competition. This problem was way too difficult for me during the competition because of its constructive nature. However, when upsolving I came up with the following solution: 1) If we have enough space from one side, we could flip '1' to '0' without influencing other elements. For instance, flipping 8th '1' to '0' would be three operations (2, 5, 8), (2, 3, 4), (3, 4, 5). 2) When we may not have enough space (it could happen with n = 7 for a middle element, for example), n is small (let's say n <= 15). In this case, we could apply a simple BFS for bitmasks. 3) When n > 15, I consider the first and the second '1'. I try to erase them both at once by finding the third element (which is to the right of the second '1', and it does not matter whether it is '0' or '1'), and flipping them all. Of course, this element might not exist (the third element of the arithmetic progressio...

Full text and comments »

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

147.
By anpoli99, history, 7 months ago, In English
CodeSprint LA 2026 Hello, Codeforces! We’re excited to invite you to participate in [CodeSprint LA 2026](https://codesprintla.uclaacm.com/), ACM ICPC at UCLA's annual beginner-friendly algorithms contest, scheduled for [Saturday, May 9, 2026, 10 am — 5 pm PDT](https://www.timeanddate.com/worldclock/fixedtime.html?msg=CodeSprint+LA+2026&iso=20260509T10&p1=137&ah=7)! **The contest itself runs from [Saturday, May 9, 2026, 11:30 am — 4:30 pm PDT](https://www.timeanddate.com/worldclock/fixedtime.html?msg=CodeSprint+LA+2026+Contest&iso=20260509T1130&p1=137&ah=5)** [Registration is open here](https://codesprintla.uclaacm.com/register)! More information, rules and the schedule are available on the [contest website](https://codesprintla.uclaacm.com/). **The registration deadline is [Sunday, May 3, 2026, 11:59 pm PDT](https://www.timeanddate.com/worldclock/fixedtime.html?msg=CodeSprint+LA+2026+Registration&iso=20260503T235959&p1=137)!** This year, we are excited to announce: - A 5-hour team competit...

Full text and comments »

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

148.
By jonathanirvings, history, 7 years ago, In English
Live online mirror of The 2019 ICPC Asia Jakarta Regional Contest Hi, We would like to invite you to participate in the live (with 30-minute delay) [online mirror contest of The 2019 ICPC Asia Jakarta Regional Contest](https://codeforces.me/contest/1252) ([our regional website](https://competition.binus.ac.id/icpc2019/), [our regional in ICPC website](https://icpc.baylor.edu/regionals/finder/Jakarta-2019), [official contest portal](https://competition.binus.ac.id/contest)) this weekend. The online mirror contest will start on [contest_time:1252]. The contest consists of several problems and you can solve them in 5 hours. See you on top of the leaderboard. **UPD1:** Thanks for participating. The problems should be available for upsolving. The soft-copy of the problem analysis (the same as the one distributed to all contestants during the awarding ceremony) is available [here](https://github.com/jonathanirvings/icpc-jakarta-2019/blob/master/problem_analysis.pdf). **UPD2:** The full problem repository is available [here](https://github.c...

Full text and comments »

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

149.
By marianoferesin, 21 month(s) ago, In English
From Argentina to the ICPC WF: the story of three friends that made their dream come true Let me tell you the story of how some random guys from Argentina one day took a plane (many actually) and went to Kazakhstan to compete the most prestigious programming contest in the world. Everything started in 2019 when one day the ones that were going to end up being our coaches did a talk about how they got to travel to Portugal because they participated in a programming contest (something I have never heard before). But that day, that day... something inside me told me I was going to do the same. Some years passed training basically by myself until one day I received a message from Fede, inviting me to join their team. A team that then would be named "Fruta Fresca" (Fresh Fruit), months passed, problems passed, training camps passed. Until one day arrived our first regional competition as a team. Not our best day, but some brilliance from JP on the problem that gave us hope and put us on the verge of qualification. Without knowing it would not be the last time Fruta Fresca ...

Full text and comments »

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

150.
By rulerofcakes, history, 21 month(s) ago, In English
My honest journey to Master in 4 years Hi all, this is my first blog on codeforces. I've just reached Master(+2100) after spending about 4 years on codeforces, and I'd like to talk about what I like and regret about my past decisions regarding practicing for this milestone. I know plenty of GM+s have written such blogs, but I think many of you(like my past self) may find these unrelatable simply because of how good they were from the beginning / how much time they have spent / etc, so I decided to write one of my own humble version. Hopefully some of you may find this helpful for your own journey. I honestly think it's possible to reach Master level proficiency in around 2 years, even if you're starting from scratch, assuming you practice hard enough with the right materials. This is based on my own experience. I say proficiency and not reaching the rating itself because I think having high codeforces rating may become even more meaningless in the near future with LLMs. ### The Beginning Like many of you all, I'm j...
However, things took a sharp turn to my growth in skills when I started to properlyupsolve

Full text and comments »

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

151.
By chromate00, 3 years ago, In English
English Editorial for The 3rd Chromate Cup Algorithm Division Thank you everyone for participating in The 3rd Chromate Cup Algorithm Division! The full problemset can be accessed on [(link)](https://www.acmicpc.net/category/detail/4114) for upsolving. Also the profile badge/backgrounds are being a bit delayed, I am too busy ;-; [A. Strange Shuffle](https://www.acmicpc.net/problem/31215) <spoiler summary="Hint"> Simulate until you feel confident, e.g. until $n=10$. What do you see? I think the result should give you confidence. </spoiler> <spoiler summary="Solution"> Let us think step by step starting from $n=1$. - If $n=1$, $n=l$ is true, therefore no swap will happen. - If $n=2$, $n=l$ is true, therefore no swap will happen. - If $n=3$, $l=1$, so $B_1$ and $B_3$ are swapped. Now $1$ is on index $3$. - If $n>3$, $l$ is a power of $2$, and is therefore not $3$. The index of $1$ never changes afterwards. Therefore, if $n\le 2$, the answer is $1$. Otherwise, the answer is $3$. </spoiler> [B. Super Primes](https://www.acmicpc...

Full text and comments »

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

152.
By shauncodes, history, 17 months ago, In English
CFRecommender — Personalized problem recommendation tool #### **UPDATE 2:** ------------- Saving codeforces questions for **revision and upsolving** is now live on the [website](https://cfrecommender.vercel.app/). 1. Sign in with google so that no one else has access to your personal revision list. ![Sign in with google](https://i.postimg.cc/R0wNFg5q/Screenshot-from-2025-07-09-14-03-14.png) 2. Link your account to your codeforces handle by submitting a compilation error within 60 seconds. ![Linking account](https://i.postimg.cc/Vsh1xXph/Screenshot-from-2025-07-09-14-06-19.png) 3. Now you have access to create and edit your upsolve list. Add problems by just pasting a codeforces problem link and it will fetch the problem for you! ![Upsolve list](https://i.postimg.cc/GhsrdH1m/Screenshot-from-2025-07-09-14-07-12.png) #### **UPDATE 1:** ------------- There has been an overwhelming response from users worldwide, and I am very grateful for the same. I also received valuable feedback from a lot of you, and have tried imple...
3. Now you have access to create and edit your upsolve list. Add problems by just pasting a

Full text and comments »

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

153.
By Pyqe, 2 years ago, In English
Invitation to TLX Regular Open Contest #41 <img src="/predownloaded/2d/30/2d30c17aba8882b75b0b9b0aa7c222a519bcc7ba.png" style="height: 150.0px;float: right;margin: 0 2.0em 2.0em 2.0em;max-width: 100.0%;max-height: 100.0%;" /> We are excited to invite you to **TLX Regular Open Contest #41!** Key details: - Contest links: [TLX](https://tlx.toki.id/contests/troc-41) - Time: [25th November 2024, 12:35 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TLX+Regular+Open+Contest+%2341&iso=20241125T1235&p1=1440) - Writers: [user:SphericalCow,2024-11-21] - Duration: 2 hours - Problems: 7 - Scoring distribution: **150 — 300 — 300 — 450 — 450 — 600 — 600** We would like to thank: - [user:yz_,2024-11-21], [user:steven.novaryo,2024-11-21] for the help with the early stages in coordination. - [user:aufannn,2024-11-21], [user:rama_pang,2024-11-21] for testing the problems and giving meticulous feedback. - [user:fushar,2024-11-21] for the outstanding TLX platform. Please register for the contest...
You can upsolve the problems [here](https://tlx.toki.id/problems/troc-41). Editorials are available

Full text and comments »

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

154.
By athin, history, 9 years ago, In English
Invitation to TOKI Open Contest January 2018 Hello Codeforces Community, TOKI Open Contest is back again! :D We would like to invite you to participate in this TOKI Open Contest January 2018. TOKI Open Contest is Indonesian monthly online programming contest. It's been a long hiatus since we decided to make this contest international: on [February](http://codeforces.me/blog/entry/50318) and [March](http://codeforces.me/blog/entry/51134) 2017! :') Every problem is written in both Bahasa Indonesia and English. The contest will be divided into **two divisions**: Division 1 and Division 2. It is pretty similar to the divisions in [Atcoder](http://atcoder.jp/) (Beginner and Regular). You are free to register in any division (it's extremely OK if you are a Div2 Codeforces user and register to our Division 1 contest)! The expected difficulties of the problems are much the same with Atcoder's contest problems. TOKI Open Contest January 2018 will be held on [Saturday, 27 January 2018, 19.00 — 21.00 Western Indonesian Time (UTC+...

Full text and comments »

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

155.
By paulocezar, history, 13 months ago, In English
2025-2026 ICPC Latin American Regional Programming Contest @ CF GYM Hello, Codeforces! The **[contest:106178]** was held last weekend, and the full problem set is now available on Codeforces Gym for virtual participation and upsolving. Whether you want a team practice or a solo grind, you're invited to try it and discuss solutions here. This contest is part of the ICPC 2025-2026 cycle for Latin America and serves to select the teams for the Latin America Championship (March 2026, Chile). This year's regional had 558 official teams from 18 countries, competing simultaneously across 16 sites throughout the region. You can check the official results here: https://scorelatam.naquadah.com.br/latam-2025/. Huge thanks to the LATAM jury who prepared and tested the tasks, and to all the volunteers who helped run the onsite events. The problems were written and prepared by Alejandro Strejilevich de Loma, [user:andremfq,2025-11-12], [user:brunomont,2025-11-12], [user:gpoesia,2025-11-12], Inés Kereki, [user:lsantire,2025-11-12], [user:mnaeraxr,2025-11-12]...

Full text and comments »

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

156.
By Down_bad_4_haiender288, 8 months ago, In English
[Discussion]: Vietnamese TST 2026 Another year, another TST. Now that I'm in university, I can "accidentally" "forget" to go to school, so expect scoreboard streams from the very beginning this time around. Still autistic as ever. Top 32 in Vietnamese Olympiad in Informatics 2026 + APIO25 contestants who are still eligible for this year will compete in 2 competition days. Top 15 progresses to APIO. IOI26 selection score = TST26 Day1 score + TST26 Day2 score + APIO26 score. Top 4 contestants will be Vietnam's representatives for IOI26 should things not go wrong List of participants: [https://docs.google.com/spreadsheets/d/1l0dEH-Viujw4NpRuyn9HF4KVxgJ-jDi5HKV60UFJLc8/edit?gid=594021204#gid=594021204](https://docs.google.com/spreadsheets/d/1l0dEH-Viujw4NpRuyn9HF4KVxgJ-jDi5HKV60UFJLc8/edit?gid=594021204#gid=594021204) Full problemset (based on contestant's recollections, no submit): [here](https://hackmd.io/@huyhau6a2/r1mlsRzjZg) ### Contest schedule: Day 0 (Equipment testing): 25/03/2026 Day 1 (Com...
You can upsolve the Day1 problems here: [To be added in 2027, soonTM]

Full text and comments »

157.
By PaciukZvichainyi, 2 years ago, In English
Busy but Master #1 Alternative name: "Road to Master when you don't have time". Episode 1: August 2024 ### Preface I used to be a competitive programmer since ~8th grade. When covid started and we all had more time to solve problems, I actually began to see some progress in cp. I have two bronzes in the UOI (1 place to silver x2, sad). That's not too bad, and I probably don't regret it (though if I could go back, I'd definitely change my attitude). I always had one milestone: to become a Master (yellow) on Codeforces. As you can see, my max rating is 3 points below Master. Pretty sad. I need to fix that. But a few things happened compared to 2020: 1. 4 years have passed. 2. I'm in my last year of university. 3. I have a swe job. So, I definitely have much less free time than I did in 2020. This is probably the last period in my life when I have at least some time to improve in cp, and I need to use it mindfully and close all my competitive programming goals (that are still achievable)...
, or upsolve my live contests. Maybe I'll write a few virtual ones.

Full text and comments »

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

158.
By Axom34, history, 3 months ago, In English
How should I upsolve a problem when I can't understand the editorial or AI explanations? I have a question about upsolving. Suppose I participate in a contest and get stuck on a problem. I spend around 30–40 minutes (or even longer) trying to solve it, but I can't find the solution. Normally, I would then read the editorial and try to understand the intended approach. But what should I do when I don't understand the editorial either? For example, sometimes I read the editorial multiple times and still don't understand: where the key observation came from, why a particular approach works, why a certain greedy choice is valid, how the DP state was discovered, or how the solution goes from the observation to the final algorithm. Then I look at the accepted solutions, but the code also doesn't help much because I don't understand the underlying idea. I've also tried asking AI to explain the solution, but sometimes even after several explanations I still can't genuinely understand the reasoning well enough to reproduce the solution myself. So my ques...
How should I upsolve a problem when I can't understand the editorial or AI explanations?, What is the best way to upsolve in this situation?

Full text and comments »

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

159.
By MikeMirzayanov, 9 years ago, translation, In English
Educational Codeforces Round 42 (Rated for Div. 2) Hello Codeforces! On [April 10, 14:35 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?day=10&month=4&year=2018&hour=17&min=35&sec=0&p1=166) Educational Codeforces Round 42 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 Div. 2**. It will be held on extented ACM ICPC rules. After the end of the contest you will have one day to hack any solution you want. You will have access to copy any solution and test it locally. You will be given **7 problems** and **2 hours** to solve them. The problems were prepared by me and Alex [user:fcspartakm,2018-04-09] Frolov. We'd like to thank Nikolay [user:KAN,2018-04-09] Kalinin, Grigory [user:gritukan,2018-04-09] Reznikov,...

Full text and comments »

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

160.
By rama_pang, history, 6 years ago, In English
Invitation to TOKI Regular Open Contest #20 Happy [Pi Day](https://www.piday.org/), Codeforces community! We are excited to invite you to **TOKI Regular Open Contest (TROC) #20**! Key details: - Contest link: [TLX](https://tlx.toki.id/contests/troc-20) (combined division) - Time: [14th March 2021, 14:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+Regular+Open+Contest+%2320&iso=20210314T1405&ah=2) - Writers: [user:rama_pang,2021-03-12] [user:steven.novaryo,2021-03-12] [user:Zap,2021-03-12] [user:prabowo,2021-03-12] - Duration: 2 hours - Problems: 7 Scoring distribution: **100 — 200 — 350 — 400 — 550 — 600 — 800** Many thanks to: - [user:prabowo,2021-03-12] for being a brilliant coordinator. - [user:hocky,2021-03-12] for helping with problem preparation. - [user:nirvana,2021-03-12] and [user:bukanYohandi,2021-03-12] for testing the problems and giving invaluable feedback. - [user:fushar,2021-03-12] for the amazing TLX platform. Please register for the contest, and we hope you wil...
You can upsolve the problems [here](https://tlx.toki.id/problems/troc-20).

Full text and comments »

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

161.
By vanwij, history, 4 years ago, In English
Invitation to TLX Regular Open Contest #31 <p> Hello Codeforces!</b> <img src="/predownloaded/2d/30/2d30c17aba8882b75b0b9b0aa7c222a519bcc7ba.png" style="width: 400.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;"> </p> We are excited to invite you to <b>TLX Regular Open Contest #31! Key details: - Contest URL: [TLX](https://tlx.toki.id/contests/troc-31) - Time: [11th February 2023, 14:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TLX%20Regular%20Open%20Contest%20%2331&iso=20230211T140500) - Writer: [user:Drew_,2023-02-09], [user:HappyPacMan,2023-02-09], [user:Je-O,2023-02-09], [user:juancarlovieri,2023-02-09], [user:MetalPower,2023-02-09], [user:nyab,2023-02-09], [user:vanwij,2023-02-09], [user:Zan,2023-02-09] - Duration: 135 minutes - Problems: 8 - Scoring distribution: **100 — 200 — 300 — 400 — 500 — 600 — 700 — 800** Many thanks to: - [user:Pyqe,2023-02-09] and [user:steven.novaryo,2023-02-09] for their help in coordinating the round and in prep...
You can upsolve the problem [here](https://tlx.toki.id/problems/troc-31). Editorial is available in

Full text and comments »

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

162.
By paulocezar, history, 9 months ago, In English
The 2026 ICPC Latin America Championship @ CF GYM Hello, Codeforces! **[contest:106416]** was held last weekend, and the full problem set is now available on Codeforces Gym for virtual participation and upsolving. Whether you want a team practice or a solo grind, you're invited to try it and discuss solutions here. This contest brings together the top teams from the ICPC Latin America Regional Contests of the 2025–2026 season. The championship was held in Chile on March 7, 2026, where qualified teams from across the region competed for the title and for advancement to the ICPC World Finals. You can check the official results here: https://scorelatam.naquadah.com.br/pda26/. There was also a mirror on the ICPC-LA CF Group (see [contest:676963]). Huge thanks to the championship jury who prepared and tested the tasks, and to all the volunteers and organizers who made the event possible. The problems were written and prepared by Alejandro Strejilevich de Loma, [user:arthur.nascimento,2026-03-11], [user:brunomont,2026-03...

Full text and comments »

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

163.
By jonathanirvings, history, 7 years ago, In English
Invitation to TOKI OSN Open Contest 2019 Hello! Similar to [last year](https://codeforces.me/blog/entry/60263), we are excited to invite you to **TOKI OSN Open Contest 2019** -- an online mirror contest for Indonesia national olympiad in informatics. This national olympiad is one of the stages required for our students to qualify to represent Indonesia in the International Olympiad in Informatics (IOI). The contest is similar to IOI: 2 competition days (+ 1 trial session), each consisting of 3 IOI-style (partial, subtasked) problems to be solved in 5 hours. The schedule is as follows: - Day 0: [1 July 2019 08:35 — 23:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+OSN+Open+Contest+2019+Day+0&iso=20190701T1535&p1=108&ah=14&am=30) (trial session) - Day 1: [2 July 2019 02:35 — 23:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+OSN+Open+Contest+2019+Day+1&iso=20190702T0935&p1=108&ah=20&am=30) - Day 2: [3 July 2019 02:35 — 23:05 UTC](https://www.timeanddate.com/worldclock/f...

Full text and comments »

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

164.
By athin, history, 9 years ago, In English
Invitation to TOKI Open Contest March 2018 Hello Codeforces Community, TOKI Open Contest is back again! :D We would like to invite you to participate in this TOKI Open Contest March 2018. TOKI Open Contest is Indonesian (bi-)monthly online programming contest. You may see the January 2018 contest [here](http://codeforces.me/blog/entry/57280)! :) Every problem is written in both Bahasa Indonesia and English. The contest will be divided into **two divisions**: Division 1 and Division 2. It is pretty similar to the divisions in [Atcoder](http://atcoder.jp/) (Beginner and Regular). You are free to register in any division (it's extremely OK if you are a Div2 Codeforces user and register to our Division 1 contest)! The expected difficulties of the problems are much the same with Atcoder's contest problems. TOKI Open Contest March 2018 will be held on [Saturday, 24 March 2018, 19.00 — 21.00 Western Indonesian Time (UTC+7)](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+Open+Contest+March+2018&iso=20180324T19...

Full text and comments »

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

165.
By conqueror_of_timosh, history, 20 months ago, translation, In English
My 10-Day CP Camp with Kamil (kamilszymczak1) From **March 10th to March 20th**, I had the chance to attend a **Competitive Programming (CP) camp** led by Kamil ([user:kamilszymczak1,2025-04-08]). Over 10 intense yet fun-filled days, I improved my problem-solving skills, learned new techniques, and bonded with fellow participants. Here's a quick overview of my experience: ### **Daily Structure: Coding, Learning, and Fun** Each day, we started with a contest from **9:00 AM to 2:00 PM**, featuring 3 problems that challenged our programming abilities. After the contest, from **3:00 PM to 5:00 PM**, there was an **editorial** session where participants who scored 100 points on at least one problem explained their solutions. This was a great chance to learn different approaches and earn **chocolates for explaining the problem!** In the evenings, we had lectures on algorithms and techniques to help us with the day’s problems. Afterward, **we were free** to upsolve or practice on Codeforces, or even play sports to unwind. By 9:0...
. Afterward, **we were free** to upsolve or practice on Codeforces, or even play sports to unwind. By 9

Full text and comments »

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

166.
By Harbour.Space, history, 5 years ago, In English
Harbour.Space Scholarship Contest 2021-2022 (Div. 1 + Div. 2) Editorial Hope you all enjoyed the problemset! Editorials to problems H and I are not ready yet, we will add them as soon as possible. We apologize for weak pretests and easy problems for top participants. By the way, solution authors did not necessarily prepare the problems. The solutions were chosen at random. **UPD.** Editorials for H and I are ready! Wish you all productive upsolving and high ratings! [problem:1553A] Idea: [user:bthero,2021-07-22] Preparation: [user:kefaa2,2021-07-22] <spoiler summary="Tutorial"> [tutorial:1553A] </spoiler> <spoiler summary="Solution (kefaa2)"> ~~~~~ #include <bits/stdc++.h> using namespace std; typedef long long ll; int main() { //freopen("input.txt", "r", stdin); ios_base::sync_with_stdio(false); int tst; cin >> tst; while (tst--) { int n; cin >> n; cout << (n + 1) / 10 << '\n'; } } ~~~~~ </spoiler> [problem:1553B] Idea: [user:Errichto,2021-07-22] Preparation...

Full text and comments »

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

167.
By cadmiumky, history, 5 months ago, In English
Deque-like Undoing _This blog does not introduce anything essentially new, though it may sound like it. At best, a much more different and maybe more? intuitive way to implement this. This was previously discovered (and improved, generalized, etc.) [here](https://codeforces.me/blog/entry/111117)_ Hello Codeforces, Around a year ago, the problem [Boardgame Expo](https://qoj.ac/problem/14051/statement/default) was set in CEOI 2025. I think the editorial mentions using a DSU adapted to have deque-like undoing. Upon trying to actually upsolve this problem earlier this year, I remembered only that "deque-like undoing" was necessary, so I tried coming up with it. I'd actually note that the problem itself doesn't require the full range of deque-like operations, as the data structures only need to pop. So, the standard [queue-like](https://codeforces.me/blog/entry/83467) implementation works here, [though with maybe some additional considerations](https://codeforces.me/blog/entry/122003). So, reali...
. Upon trying to actually upsolve this problem earlier this year, I remembered only that "deque-like

Full text and comments »

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

168.
By SecondThread, history, 6 years ago, In English
CFNotifications.com: Hear verdicts to your submissions! (no set up required) CF Notifications ================== Want an easy-to-use tool to notify you when you get a problem correct? Looking for an inspirational jingle to celebrate when you AC? Wish you could just move on to problem B immediately after submitting A and had someone to let you know in case you got it wrong? Now you can! [CFNotifications.com](http://cfnotifications.com) is a simple website that does this for you. All you have to do is type in your handle and click login. ![ ](http://wumbogames.github.io/cfPictures/CFNotificationsLoginScreen.png) It works on all CF rounds, and also other submissions if you are upsolving, practicing, or running a VP on your own. Personally, I just leave it on a second computer with the volume turned up and then I don't have to worry about it ever. ### How it works It rechecks Codeforces every 4 seconds for new submissions, or every 1 second if you have a submission that is judging. It uses the CF API and I did my best to make sure it is as low-impa...

Full text and comments »

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

169.
By KMAASZRAA, 7 years ago, In English
Invitation to CodeChef December Cook-Off 2019 Merry Christmas y'all! ![ ](/predownloaded/c0/9a/c09a3a77d3160550fa9ce16f1f0f095454e51562.jpg) I invite you to join us at CodeChef’s December Cook-Off. A 2.5 hours contest with five challenging problems which will be a great chance for you to test your skills. If you have some original and engaging problem ideas, and you’re interested in them being used in the CodeChef's contests, you can share them [here](https://www.codechef.com/problemsetting/new-ideas). I hope you will participate with your fellow programmers and enjoy the contest problems. Joining me on the problem setting panel are: - Setter and Editorialist: [user:KMAASZRAA,2019-12-21] (Kasra Mazaheri) - Tester: [user:ckodser,2019-12-21] (Arshia Soltani) - Statement Verifier: [user:Xellos,2019-12-21] (Jakub Safin) - Admin: [user:teja349,2019-12-21] (Teja Vardhan Reddy) - Mandarin Translator: [user:UoA_ZQC,2019-12-21] (Qingchuan Zhang) - Vietnamese Translator: Team VNOI - Russian Translator: [user:Fedosik,20...

Full text and comments »

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

170.
By jonathanirvings, history, 9 years ago, In English
TOKI Open 2018 Post-Contest Hello! [TOKI Open 2018](http://codeforces.me/blog/entry/59182) has ended. Thank you to everyone who participated the contest. We decided to not consider any participants from the second window whose username is registered on the first window. We also decide to not consider any participants from the second window whose code is very similar to other user's code on the first window. After that, we consider a TOKI Open 2018 participant to be those who made at least one submission on either day. There were a total of 104 participants, which three of them get a fullscore. Congratulation to [user:1021839,2018-05-28], [user:Alex_2oo8,2018-05-28], and [user:zscoder,2018-05-28]. The full result of TOKI Open 2018 is available [here](https://docs.google.com/spreadsheets/d/1wH8FZGwYaDrMDsDaqTvvjMVUF5jmfriRligZgI16yL4/edit?usp=sharing). The skeletons, solutions, problem descriptions, and testcase generators for TOKI Open 2018 are available [here](https://github.com/jonathanirvings/toki...

Full text and comments »

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

171.
By Yandex, history, 5 years ago, translation, In English
Yandex Algorithm 2021 is open! Hi all, We are pleased to announce that Yandex is once again including Yandex.Algorithm as part of the [programming championship](https://yandex.com/cup/?utm_source=cf&utm_medium=article&utm_campaign=start02). [The Algorithm track](https://yandex.com/cup/algorithm/) is a great opportunity to solve interesting problems, compete with participants from around the globe, and win cash prizes. This year's championship will be held completely online. Schedule: - The trial stage starts on [September 20 at 12:00](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20210920T12&p1=166) and ends on [September 26 at 23:59](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20210926T2359&p1=166) - The qualifying round starts on [September 27 at 12:00](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20210927T12&p1=166) and ends on [October 3 at 23:59](https://www.timeanddate.com/worldclock/fixedtime.html?iso=2021103T2359&p1=166). It will be organized as a virtual...
Everyone can register to look at problems or to upsolve: [https://contest.yandex.ru/contest/30228

Full text and comments »

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

172.
By -739397, 8 days ago, In English
Practice Efficiently: Know Your Gaps and Cover Them Hello everyone! We all know that improving at competitive programming requires consistent practice. But are we solving the right problems? I've spent hundreds of hours solving random problems and following different practice strategies. Eventually, I realized that everyone has different weaknesses, and blindly following problem sheets isn't always efficient. So, let's practise smarter: identify our weaknesses, understand the current contest meta, and build a targeted practice plan using a few useful resources. ### Resources Here are the three resources we will use: - [Boro Vai Koise – Codeforces Analysis](https://boro-vai-koise.netlify.app/) (Author: [user:Arnab048,2026-11-24]): Useful for understanding recent Codeforces problem trends, tag distributions, and rating ranges. - [CP-Trainer](https://cp-trainer.com/) (Author: [user:michao,2026-11-24]): A tool for analysing your performance, comparing yourself with other competitive programmers, and recommending problem...
- Always upsolve the easiest problem you couldn't solve during the mock contest.

Full text and comments »

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

173.
By polosatic, history, 2 years ago, In English
Formula VS binary search (precision issue on AtCoder) Recently I was upsolving [this problem](https://atcoder.jp/contests/abc356/tasks/abc356_g). My subtask was as follows: given three points: `A, B, C`, and I need to find the intersection point of 2 lines: AB and OC, where O has (0;0) coordinates. <spoiler summary="Code, 90/92 tests passed"> ~~~~~ #include <bits/stdc++.h> using namespace std; #define ll long long #define ld long double #define fi first #define se second #define pb push_back #pragma GCC optimize("unroll-loops,O3") #pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt") #define cok cout << (ok ? "YES\n" : "NO\n"); #define dbg(x) cout << (#x) << ": " << x << endl; #define dbga(x,l,r) cout << (#x) << ": "; for (int ii=l;ii<r;ii++) cout << x[ii] << " "; cout << endl; #define int long long #define pi pair<int, int> const int N = 1e6+9; int n, q; struct pt { int x, y; pt operator-(pt b) {return {x - b.x, y - b.y};} int operator%(pt b) {return x * b.y - y * b.x;} int len() {return x * x + y *...

Full text and comments »

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

174.
By geekypandey, history, 6 years ago, In English
Codeforces Tracker # What is this site? [cf-tracker][cf-tracker] is a website for monitoring progress on [codeforces.com][codeforces] in terms on which problems were solved in contests. There are two types of problems to keep track on: - The ones that were solved during the contest. - The ones that were not solved during or after the contest [problems to upsolve later]. It also provides feature to filter contests based on division [div1, div2, div3, Educational Rounds], and is pretty damn quick about it. ![cf-tracker website](/predownloaded/e8/cc/e8cc65da42409c41fd4cdd384e0291e451b61f40.png) # How can one use it? - To upsolve problems. - To find contests that you haven't participated in before and practice on them. - Filter contests based on divisions for practice. # How is this site built? - The site is built entirely using [Vue.js][vue-js]. - It uses [codeforces api][codeforces-api] for fetching information. - The contests information is statically stored as a `json` file, for...
the contest [problems to upsolve later]., # How can one use it? - To upsolve problems. - To find contests that you haven't participated in

Full text and comments »

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

175.
By athin, history, 9 years ago, In English
Invitation to TOKI Open Contest Special — April Fools 2018 We are delighted to announce that TOKI Open Contest Special &mdash; April Fools is coming again this year! Moreover, for the first time, we also open this to non-Indonesian coders! :D **TOKI Open Contest Special &mdash; April Fools 2018** consists of "unique" and "oddly satisfying (or annoying?)" problems. Of course, there is no *division of division*. And oh, every problem is written in English only right now, :) You may see last year's problems of [TOKI Open Contest Special &mdash; April Fools 2017](https://training.ia-toki.org/problemsets/86/problems) (only in Indonesian language) or [Codeforces April Fools Contest 2017](http://codeforces.me/contest/784) to grasp the idea of what kind of problems you'll face. TOKI Open Contest Special &mdash; April Fools 2018 is written by Ammar Fathin Sabili ([user:schezo,2018-03-25]) and Alham Fikri Aji ([user:afaji321,2018-03-25]). This contest will be held on [Sunday, 1 April 2018, 19.00 — 21.30 Western Indonesian Time (UTC+7...

Full text and comments »

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

176.
By nocriz, 5 years ago, In English
XXII Open Cup, Grand Prix of Xi'an is in gym now! Hello, Codeforces! The authors (actually, [user:Rhodoks,2021-10-10] did the work) have uploaded [XXII Open Cup, Grand Prix of Xi'an](https://codeforces.me/gym/103329) to the GYM. This contest appeared in Ptz Camp 2021 Summer, XXII OpenCup and HDU multi university training. Authors of the problems are from Xi'an Jiaotong University: ##### [problem: 103329A] Author: [user:Rhodoks,2021-10-10] ##### [problem: 103329B] Author: [user:Rhodoks,2021-10-10] ##### [problem: 103329C] Author: [user: Rhodoks,2021-10-10] ##### [problem: 103329D] Author: [user: Ephemeral.,2021-10-10] ##### [problem: 103329E] Author: [user: docriz,2021-10-10] ##### [problem: 103329F] Author: [user: nocriz,2021-10-10] ##### [problem: 103329G] Author: [user: nocriz,2021-10-10] ##### [problem: 103329H] Author: [user: nocriz,2021-10-10] ##### [problem: 103329I] Author: [user: docriz,2021-10-10] ##### [problem: 103329J] Author: [user: SunshinePie,2021-10-10] ##### [problem: 103329K] Author...
All coders are welcome to participate or upsolve the problems!

Full text and comments »

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

177.
By Jalppatel1428, history, 4 years ago, In English
SmallForces Monthly Contest #2 Editorial Thank you very much for participating in our contest. Please share your reviews in the comments. We will continuously bring these types of contests for you. **Don't forget to upsolve these questions.** Here are our top-5 performers: <spoiler summary="Top-5 Performers"> | **Rank** | **Name** | |----------|----------| | $1$ | [user:Minami-Kotobuki,2023-05-24] | | $2$ | [user:HitmanX97,2023-05-24] | | $3$ | [user:realLifeChatGPT,2023-05-24] | | $4$ | [user:Dontony,2023-05-24] | | $5$ | [user:_Mahmoud_Ayman,2023-05-24] | </spoiler> We would also like to mention first solver of every problem: <spoiler summary="First Solver"> | **Problem** | **First Solver** | |----------|----------| | A | [user:_Mahmoud_Ayman,2023-05-24] | | B | [user:HitmanX97,2023-05-24] | | C | [user:Numinous,2023-05-24] | | D | [user:HitmanX97,2023-05-2...
**Don't forget to upsolve these questions.**

Full text and comments »

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

178.
By fushar, 12 years ago, In English
TLX Open Contest Beta Round #1 — Invitation Hi all, This year, Indonesia is hosting [Asia-Pacific Informatics Olympiad 2015](http://apio2015.org/). For this competition, we will use our brand new contest system called [TLX](https://competition.ia-toki.org/). We have been using TLX intensively for Indonesian training camps and so far we have been very satisfied and no major problems were encountered. Now, we would like to conduct a real-time test for international usage. So, we invite you to take part in **TLX Open Contest Round #1**. Here are the details: - Saturday, April 25 20.00 UTC+7 &mdash; 23.00 UTC+7 (3 hours) [timeanddate](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TLX+Open+Contest+Beta+Round+%231&iso=20150425T20&p1=108&ah=3). - You have to register to TLX (there is an SSO login system), and then register to the contest. - Contest registration closes 5 minutes before contest **ends**. - IOI-style, 3 problems. There will be subtasks. For this testing round, we will be using past Indonesian olymp...
The problems have been added to the practice contest. Feel free to upsolve!

Full text and comments »

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

179.
By Jalppatel1428, history, 4 years ago, In English
SmallForces Monthly Contest #1 Editorial Thank you very much for participating in our first contest. Please share your reviews in comments. We will continuously bring these type of contests for you. **Don't forget to upsolve these questions.** Here are our top-5 performers: <spoiler summary="Top-5 Performers"> | **Rank** | **Name** | |----------|----------| | $1$ | [user:cjoa,2023-04-30] | | $2$ | [user:_Mahmoud_Ayman,2023-04-30] | | $3$ | [user:202101101,2023-04-30] | | $4$ | [user:sjNxksbzj,2023-04-30] | | $5$ | [user:Frus,2023-04-30] | </spoiler> We would also like to mention first solver of questions: <spoiler summary="First Solver"> | **Problem** | **First Solver** | |----------|----------| | A | [user:Frus,2023-04-30] | | B1 | [user:adelian,2023-04-30] | | B2 | [user:sjNxksbzj,2023-04-30] | | C | [user:Frus,2023-04-30] | | D | [user:_Mah...
**Don't forget to upsolve these questions.**

Full text and comments »

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

180.
By chumeng, history, 10 days ago, In English
XCPC Workstation — A Local-First Rust + Typst Workstation for Competitive Programming Hi Codeforces, I would like to share **XCPC Workstation**, an open-source, local-first workstation built with Rust and Typst for competitive programmers and problem setters. It ships as a desktop app and CLI for **Linux and Windows** (there are no technical blockers on macOS—prebuilt binaries are simply not distributed yet due to the lack of an Apple Developer account). It brings together a training dashboard, verifiable algorithm snippets & Team Reference Document (TRD) typesetting, a plain-text problem library, local problem building and strict verification, Typst-based statement typesetting, contest assembly & multi-platform package export, a plugin-powered utilities hub, and first-class AI Agent support (CLI / MCP)—all inside a clean, restrained UI. - **GitHub Repository**: [lihaoze123/xcpc-workstation](https://github.com/lihaoze123/xcpc-workstation) - **Downloads (Windows / Linux)**: [GitHub Releases](https://github.com/lihaoze123/xcpc-workstation/releases) - **Document...

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

181.
By Dragonado, 6 years ago, In English
CODEPAL : VSCode extension for CF [V1.7.0] (with some Fixes and Haskell Support) Hello Codeforces! We , [user:aditya_chirania,2021-03-26], [user:niranjan.sy99,2021-01-27], [user:lomadapraveenreddy,2021-01-27], [user:janmansh,2021-04-07] and I ([user:Dragonado,2021-01-27]) of [IEEE-NITK](https://ieee.nitk.ac.in/), are extremely happy to release our **VSCode Extension for CF** called **CodePal** **CodePal** is made to help **Codeforces** Users ***Code with Convenience.*** This extension is especially for people who want to save time in a live codeforces contest and upsolve problems comfortably. This extension responds quickly to users. It can swiftly filter through the problem list by specifying tags and ratings, create folders for contests and problems containing sample tests of each problem in them and compile and run tests automatically. For added convenience, we've created buttons to directly open problem statements and submission pages on the default browser. ### Current Features of this Extension - View Complete ProblemSet List along with their ass...
especially for people who want to save time in a live codeforces contest and upsolve problems

Full text and comments »

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

182.
By prabowo, history, 6 years ago, In English
Invitation to TOKI Regular Open Contest #13 <img src="/predownloaded/cf/bc/cfbcd8cb4097b48065d1fc6dc4f2be6bfcc6ffd4.jpg" style="width:350px;"/> Dear Codeforces community, We are excited to invite you to **TOKI Regular Open Contest (TROC) #13**! Key details: - Contest links: [Div 1](https://tlx.toki.id/contests/troc-13-div-1) (rating ≥ 2000) and [Div 2](https://tlx.toki.id/contests/troc-13-div-2) (rating ≤ 1999) - Time: [14 June 2020, 21:05 UTC+7](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+Regular+Open+Contest+%2313&iso=20200614T1405&ah=2) - Writers: [user:tzaph_,2020-06-11] [user:rama_pang,2020-06-11] [user:steven.novaryo,2020-06-11] - Duration: 2 hours - Problems: 5 for every division Scoring distribution: - Div 2: **100 &mdash; 200 &mdash; 300 &mdash; 400 &mdash; 500** - Div 1: **100 &mdash; 200 &mdash; 300 &mdash; 500 &mdash; 500** We would like to thank [user:hocky,2020-06-11], [user:fushar,2020-06-11] as organizers, [user:rapel,2020-06-11], [user:jt3698,2020-06-11] as testers,...
You can upsolve the problems [here](https://tlx.toki.id/problems/troc-13).

Full text and comments »

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

183.
By inkret, history, 8 years ago, In English
All Arpa's source code comments A fully comprehensive list of all of [user:Arpa,2019-01-08]'s various comments in his templates <spoiler summary="Click"> ~~~~~ // God & me // Lost l<3ve is back :P -:~:- // In the name of God. // You are all thing and We're nothing. // Ya Ali! -:~:- //ya mahdi adrekni -:~:- // God & me // Life is ruined and love is lost :'( // @Yazd -:~:- // God & me // Don't forget me, I beg -:~:- //God & me //Damned if AmirAz doesn't take what he wants. -:~:- // God & me // Life is ruined and love is lost :'( // @Yazd // Happy 1300 <3 -:~:- // God & me // Don't forget me ... -:~:- //God & me //..... ...... ..... .... <3 -:~:- // ya mahdi adrekni '-| //contest: To l<3ve m.sina or not to love; This is the problem! //Welcome to new series of "f*** this bloody contest tonight" (upsolving) -:~:- //God & me //Keep calm and go home ;) -:~:- //God & me -:~:- // God & me // I found myself in Love empire // The 1500'th accept ! -:~:- //God & me ...

Full text and comments »

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

184.
By steveonalex, 3 years ago, In English
[Tutorial] Divide and Conquer Offline Query — A Niche Way to solve Static Range Query <br> Hi guys, this is my first blog on Codeforces. So if there were any mistakes or suggestions, feel free to correct me down in the comment section. Anyway, I discovered a nice way to solve static range query problems using "Divide and conquer", and I'm eager to share it with you guys. <p> Pre-requisites: <br> &bull; Prefix Sum. <h2>Problem 1:</h2> Given an array $A$ of $N (N \leq 10^{5})$ integers, your task is to answer $q (q \leq 10^{5})$ queries in the form: what is the minimum value in the range $[l, r]$? <p>For now, let's forget about Segment Tree, Square Decomposition, Sparse Table and such. There's a simple way to solve this problem without any use of these fancy data structure. <p> First, let's start with $L_{0} = 1$, $R_{0} = n$, and $M_{0} = \left\lfloor { \frac{L_{0} + R_{0}}{2} } \right\rfloor$. Let's just assume that every query satisfy $L_{0} \leq l \leq M_{0} < r \leq R_{0}$. We maintain two prefix sum arrays: <br> &bull; $X[i] = min(A[i], A[i+1], ..., A[M_{0...
](https://oj.vnoi.info/problem/mofkcup_r1_e) • Contest Link: [DHBB 2023 Upsolve Contest

Full text and comments »

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

185.
By arsijo, 4 years ago, In English
EJOI 2022 — Practice Round The EJOI 2022 Practice Round is now [available](https://ejoi2022-practice.eolymp.io/) with free registration on [Eolymp](https://www.eolymp.com/). In order to introduce the system to the EJOI participants, we have uploaded previous EJOI problems to our system. All the links are available below. For 2017, 2020, and 2021, the participants can read the problems in their native language (if the problems were translated to that language that year). According to the EJOI rules, only C++ is supported. The first two links are for the virtual contests. Participants can start the contest, and the timer for 4 hours will start. They will be able to submit their solutions only during that time. This is something similar to USACO style. In the third contest, you can upsolve problems as long as you want. | Year | Day 1 | Day 2 | Upsolve | Results | | - | - | - | - | - | | 2017 | [Link](https://ejoi2017-1.eolymp.io/) | [Link](https://ejoi2017-2.eolymp.io/) | [Link](https://ejoi2017.e...

Full text and comments »

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

186.
By chromate00, 21 month(s) ago, In English
Codeforces Round 1009 (Div. 3) — Editorial Well, that was a blast, certainly. I hope that you... learned a lot from the contest. I wouldn't say "enjoy the contest", I know most of you hate geometry, I get you. But please do remember that, at least I did try my best to make every problem as high quality as possible. Like, if you don't get familiar with thinking about geometry now, you might never get familiar with it in the future. Though I apologize that E was quite hard, I suggest you to upsolve or read the editorials of the tasks you could not solve. I am telling you, it will be an experience that will make you improve much more from now. <strike>Solution codes will be posted after the open hack phase.</strike> They are now added. <spoiler summary="Spoiler"> ![ ](https://i.ibb.co/MkC41FRk/image.png) </spoiler> ## [problem:2074A] <spoiler summary="Editorial"> [tutorial:2074A] </spoiler> <spoiler summary="Code">```py for i in range(int(input())): l,r,d,u=map(int,input().split()) if l==r==d==u: ...
I apologize that E was quite hard, I suggest you to upsolve or read the editorials of the tasks you

Full text and comments »

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

187.
By orz, history, 3 years ago, In English
Codeforces Round 896 — screencast and editorial Dear friends, Today I tried an experimental format: separate videos. So, today I participated in [contest:1868] and recorded a screencast, but, unlike the previous times, I did not immediately record the editorials. Instead several videos are dedicated to them. So here are the links: * https://youtu.be/uuyVZcExbEI — screencast of [contest:1868]; * https://youtu.be/OFKF3oGhvmE — editorial (and upsolving!) of [problem:1869A]; * https://youtu.be/JoUOqDvKHuo — editorial (and upsolving!) of [problem:1869B]; * https://youtu.be/iS3eusWsx3E — editorial of [problem:1869C] (if you're interested in the coding part, you can find it here: https://youtu.be/uuyVZcExbEI?t=938); * https://youtu.be/1Vu2RSQg0D0 — editorial of [problem:1869D1] and [problem:1869D2] (if you're interested in the coding part, you can find it here: https://youtu.be/uuyVZcExbEI?t=2688); * https://youtu.be/Zn2OkKlgaG0 — editorial of [problem:1869E] (if you're interested in the coding part, you can find it here: https:...

Full text and comments »

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

188.
By rav.gupta, history, 6 years ago, In English
1478 Div2C Nezzar and Symmetric Array [Thinking Explained and Visualized] Hi, I wanted to explain you the method I used to upsolve the problem of [problem:https://codeforces.me/contest/1478/problem/C]. First of all they define a new kind of thing called symmetric array `A[]` of where there are `n` distinct positive integers and n additive inverse (multiplied by -1) of same integers. Whenever a problem define a new property or a thing , I find it better to make some specific and general example of it i.e `A = {1, 2, 3, 4, -1, -2, -3, -4}` or `{a, b, c, d, -a, -b, -c, -d}` Second thing they define are `D[]` where each i-th term `D[i]` is the sum of (absolute differences between `A[i]` to all other possible `A[j], j in [1,n])`. For ex: `n = 3, D[0] = |A[0] - A[0]| + |A[0] - (-A[0])| + |A[0] - A[1]| + |A[0] - (-A[1])| + |A[0] - A[2]| + |A[0] - (-A[2])|` Similarly for all other D[1], D[2], D[3], D[4], D[5]. It is easy to see that this D value would be same for `A[i]` and `-A[i]`. Question is to tell whether its a valid `D[]` or not ? I don't ...
I wanted to explain you the method I used to upsolve the problem of [problem:https://codeforces.com

Full text and comments »

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

189.
By simplemind, history, 5 months ago, In English
Mathforces In [my previous blog](https://codeforces.me/blog/entry/154318), I mentioned we probably (with hope) end with platforms like Mathforces. Not long after the blog, a guy shared [SolveFire](https://www.solvefire.net/dashboard) with me that is basically "Codeforces, but for math". So today, I want to introduce this "Mathforces" and here it is: ![ ](/predownloaded/4b/07/4b0740b56b51ef3c26bf3a0e14499096127453db.png) The UI is super clean and modern. It obviously has both light and dark modes, which you can toggle by clicking the little "orz" guy in the top right next to your notifications. Did I really need to mention that? Yes, because orz. Like any good Mathforces, it revolves around contests. Looking at the archives, the oldest contest dates back to February, so the platform probably launched in late 2025 or early 2026. They host weekly rounds featuring Bronze, Silver, and Gold divisions, and sometimes even Platinum and Diamond. You can create your own community contests, a...
You can create your own community contests, and of course, upsolve problems you missed after the

Full text and comments »

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

190.
By athin, history, 10 years ago, In English
Invitation to TOKI Open Contest March 2017 Hello Codeforces Community, TOKI Open Contest is back! :D We would like to invite you to participate in this TOKI Open Contest March 2017. TOKI Open Contest is our (Indonesian's) monthly/bi-monthly online contest. Starting last month, we had decided to make this contest international! You may see the information of last month contest [here](http://codeforces.me/blog/entry/50318). Every problem is written in both Bahasa Indonesia and English. Starting this month, we divide the contest into **two divisions**: Division 1 and Division 2. It is pretty similar to the divisions in Codeforces. You are free to register in any division (it's extremely OK if you are a Div2 Codeforces user and register to our Division 1 contest)! The expected difficulties of the problems are much the same with the first four Codeforces' contest problems (A to D). TOKI Open Contest March 2017 will be held on [Saturday, 25 March 2017, 19.00 — 21.00 Western Indonesian Time (UTC+7)](https://www.timeanddate.c...

Full text and comments »

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

191.
By shsh, history, 9 months ago, In English
HPI 2026 Editorial Thank you to everyone who attended this year's Harker Programming Invitational (HPI)! If you haven't already, we would really appreciate it if you filled out our [feedback form](https://forms.gle/opwQmMZPBtM7uWCt9) so we can make our contest even better next year. Also, [Novice](https://codeforces.me/gym/106410) and [Advanced](https://codeforces.me/gym/106409) problems have been uploaded to the Gym for upsolving. *Note:* Only solutions for the Advanced division are presented here, but solutions for Novice-only problems (Yash is Cross-Eyed, Repetition, Skills) can be provided upon request. ## Harker!! <spoiler summary="Solution"> Pretty straightforward: most languages have a standard library function for finding a given substring in a string, so you can just use that. </spoiler> <spoiler summary="Code (Team Aarav)"> ```python def solution(s): if "harker" in s: return 1 return 0 T = int(input()) for _ in range(T): s = input() prin...

Full text and comments »

Tutorial of HPI 2026 Advanced
Tutorial of HPI 2026 Novice
  • Vote: I like it
  • +28
  • Vote: I do not like it

192.
By RomeoFantastik, history, 7 years ago, In English
How I Stay Productive in Self-Isolation [Usual shameless self-advertisement!](https://www.youtube.com/watch?v=CFagJwWW7ys) Hey, guys! Lately I have seen a lot of my buddies' productivity graphs looking like this: ![ ](https://us.123rf.com/450wm/broukoid/broukoid0902/broukoid090200018/4361230-an-isolated-line-graph-going-down-on-white-background.jpg?ver=6) So, I've decided to share 3 tips from my life experience about how I manage to keep myself motivated, focus and productive as hell. P.S: I am a Computer Science student auto-isolated in my dorm room. We are talking about 40 m³ here. It's pretty easy for a guy like me to get nuts in a situation like this. So let's get it started: #### _**1. Put on a suit!**_ No bro, I'm not joking. It might sound stupid, but it's a game changer. As I said, I live in a dorm room, so it's really easy to get off track when your bed is literally 0.5 meters away from the table you study. The table you study on is the same one you eat on. Then I have the sink 2 meters away. This ...
, do CF virtual rounds and upsolve together. You don't have any friends? Dude, if you are reading this

Full text and comments »

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

193.
By shsh, history, 7 months ago, In English
An editorial for IOI 2023: Closing Time While upsolving this problem, I noticed that there appears to be a dearth of editorials; I couldn't find any official ones, and the only unofficial one I found is [this one](https://codeforces.me/blog/entry/121499), which is unfortunately rather poorly formatted. Thus, I've decided to try my hand at writing my own editorial for future reference. Feel free to comment with any questions! **NOTE:** You can also read this editorial on [my blog](https://danielz.fyi/thoughts/closing-time), which has slightly better formatting. ## Basics First, consider how we might solve the problem if $X=Y$. Actually, if we let $d(u,v)$ denote the distance between nodes $u$ and $v$, it turns out the following algorithm works: > In order of increasing $d(u,X)$ and while we have not exceeded the $K$ threshold, set the closing time of node $u$ to be $d(u,X)$. *Proof.* We can use a bounding argument. 1. If we want $k$ nodes to be reachable from $X$, then the closing times of each of these no...

Full text and comments »

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

194.
By prabowo, history, 6 years ago, In English
Invitation to TOKI Special Open Contest ![ ](https://i.imgur.com/5bhysRr.jpg) Dear Codeforces community, We are excited to invite you to a **TOKI Special Open Contest**! <br /> In this contest, You will be given various unusual algorithmic tasks. We tried to make the contest have a similar nature to [IPSC](https://ipsc.ksp.sk/). Key details: - Unrated - Contest link: [TOKI Special Open Contest: Contest of Salty Tasks](https://tlx.toki.id/contests/tsoc-cost) - Time: [1st August 2020, 12.05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+Special+Open+Contest+%232&iso=20200801T1205[user:Golovanov399]&p1=%3A&ah=2) - Writers: [user:afaji321,2020-07-29] [user:athin,2020-07-29] - Problems: 6, each has an easy and hard version - Duration: 2 hours We would like to thank [user:hocky,2020-07-29], [user:fushar,2020-07-29] as organizers, and [user:aguss787,2020-07-29], [user:ayaze,2020-07-29] as testers. Please register for the contest, and we hope you will enjoy this contest! **UPD** Contes...
You can upsolve the problems [here](https://tlx.toki.id/problems/tsoc-cost).

Full text and comments »

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

195.
By _Sparky_, history, 5 months ago, In English
Built a website that forces you to practice what you're actually bad at, not what's comfortable Hey guys, I want to share something I've been building. I'm a 2nd year student, and I practice on Codeforces, LeetCode, and CodeChef. For a while I kept running into the same annoying problem — my progress was scattered across three tabs, three different rating systems, three different "weak topics," and I had no single place to actually see how I was doing or what I should practice next. So over the past few months I built CPPro to fix that for myself, and figured some of you might find it useful too. **What it actually does** It's a single platform that pulls your CF + LC + CodeChef data together — ratings, heatmap, contest history, topic-wise solve counts. Nothing groundbreaking on its own, I know there are tools that already do parts of this. The part that's actually different from most trackers is the daily problem system. Instead of generic "problem of the day" picks, it looks at your actual solve history across all three platforms and gives you two problems every ...
The first is an upsolve queue — pulls all the problems you attempted but didn't AC across CF, LC

Full text and comments »

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

196.
By ecnerwala, history, 6 years ago, In English
ecnerwala Stream Schedule and 9/19 IOI upsolving Hey guys! I'll be streaming this Saturday 9/19 at 2pm Pacific Time (UTC-7). I'll probably recap and upsolve (maybe virtual) IOI 2020 day 2! I also uploaded a stream schedule widget to my about page at https://www.twitch.tv/ecnerwala/about so you can see my schedule. In the future, I'll try to regularly stream round this time most weekends. Subscribe to get notified when I go live! Finally, comment here and let me know if there's anything in particular you'd like to see me do on stream or in a video, whether it's a particular contest or something else! I'll take a look at the top few different ideas and try to do some of them! **Update**: I'll try to regularly stream on Sundays around 2pm Pacific Time. Check out my about page for an updated schedule!
I'll be streaming this Saturday 9/19 at 2pm Pacific Time (UTC-7). I'll probably recap andupsolve

Full text and comments »

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

197.
By IanISam, history, 4 years ago, In English
Week 2-24 It's been 6 months since I've registered for codeforces and I've decided to continue updating my progress! Big thanks to [user:SecondThread,2022-09-09] for the support shown in my first blog. #### Overall Changes 154 problems solved(+~134 problems), 1154 rating(from unrated), Switched from python to Java (learning AP Computer Science A)! I've also done ~80 problems on usaco guide and usaco and participated in 40 cf contests(rated and unrated), I try to participate in every contest I could attend. Generally the style of codeforces problems appealed more to me than other competitive programing sites. Although I haven't gotten much better at solving harder problems, I've become much better at implementing algorithms. Still have a long way to go from here. Week 2-6 ------------------ Best solve: [submission:151053765] First time solving C and D in a diff 2 contest(upsolving)(and also haven't been able to do this since). Got very lucky with figuring out the quirks of the pr...

Full text and comments »

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

198.
By joyboy24, history, 5 months ago, In English
CP-Vertex — 1v1 Duels and Weakness-Oriented Training Hi everyone! Over the past few months I've been building **CP-Vertex**, a training platform designed around one simple idea: > Most tools can tell you **what your weaknesses are**. Very few tell you **what to practice next.** The goal of CP-Vertex is to bridge that gap. Website: https://cpvertex.vercel.app/ Source Code: https://github.com/aristoncodes/CP-Vertex --- ## The Training Loop Instead of randomly picking problems, CP-Vertex follows a simple workflow: > **Analyze your profile → Identify weak topics → Practice them → Test yourself in a duel → Upsolve missed problems → Repeat** The focus is on helping you improve the topics that actually limit your progress. --- ## 1v1 Duels Challenge another programmer to a live duel. Problems are automatically selected around both players' ratings, making matches competitive rather than one-sided. Features: * Automatic problem selection * Live progress updates * Spectator mode * Server-side d...
> **Analyze your profile → Identify weak topics → Practice them → Test yourself in a duel →Upsolve, Unlike most analyzers, these insights feed directly into Drill recommendations and theUpsolve

Full text and comments »

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

199.
By vioalbert, history, 6 years ago, In English
Invitation to TOKI Regular Open Contest #19 Happy Valentine's Day, Codeforces community! We are excited to invite you to <b>TOKI Regular Open Contest (TROC) #19!</b> Key details: <ul> <li>Contest link: [TLX](https://tlx.toki.id/contests/troc-19) (combined division)</li> <li> Time: [14th February 2021, 13:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TOKI+Regular+Open+Contest+%2319&iso=20210214T1305&ah=2) </li> <li> Writer: [user:rama_pang,2021-02-09] [user:steven.novaryo,2021-02-10] [user:vioalbert,2021-02-09] [user:Zap,2021-02-09] [user:Berted,2021-02-09] [user:Pyqe,2021-02-09]</li> <li> Duration: 2 hours </li> <li> Problems: 7 </li> </ul> <br> Scoring distribution: <b>100 &mdash; 200 &mdash; 350 &mdash; 450 &mdash; 500 &mdash; 600 &mdash; 800 </b> We would like to thank: <ul> <li> [user:prabowo,2021-02-09] for the amazing coordination of the round.</li> <li> [user:hocky,2021-02-09] for helping with problem preparation.</li> <li> [user:AMnu,2021-02-09], [user:JvThunder,2021-02-09], and [...
Editorial is available in the upsolve link., You can upsolve the problems [here] (https://tlx.toki.id/problems/troc-19).

Full text and comments »

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

200.
By saPaul, history, 12 months ago, In English
[Update] CF FetchCodes v25.12.7: Smart Retries, Lazy Loading & Instant Caching! Hello Codeforces! You're stuck on a problem during practice, and you see that your friend accepted it. You just want to see *how* they did it. Previously, using this tool felt a bit... heavy. It would try to fetch *everyone's* code at once. If you had many friends, you hit rate limits, waited forever, and ended up with a massive list of codes you didn't even need. And if it failed? You just got a sad "Failed to Load" message. :( **v25.12.7** changes the game. Here is how we made your upsolving smoother: **[The Problem] "Too Much, Too Slow"** Before, we fetched everything instantly. This wasted bandwidth and often triggered API warnings. Plus, if your session expired mid-way, everything broke. **[The Fix] Lazy Loading & You Choose!** Now, we show you a clean **list of friends** who solved the problem first. * **You Click, We Fetch:** The code only loads when you actually click on a specific friend's name. No more wasting data on solutions you don't want to see. * **...

Full text and comments »

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

201.
By bananade1, 4 weeks ago, In English
Invitation to TLX Regular Open Contest #44 <img src="/predownloaded/2d/30/2d30c17aba8882b75b0b9b0aa7c222a519bcc7ba.png" style="width: 400.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;" /> Hello, Codeforces! We're excited to invite you to **TLX Regular Open Contest #44!** Key details: - Contest links: [TLX](https://tlx.toki.id/contests/troc-44) - Time: [9th November 2026, 13:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TLX+Regular+Open+Contest+%2344&iso=20261109T1305&p1=1440) - Writer: [user:aufannn,2026-11-07] [user:byeworld512,2026-11-07] [user:wx03,2026-11-07] [user:bananade1,2026-11-07] - Duration: 2 hours 30 minutes - Problems: 8 - Scoring distribution: **100 — 200 — 300 — 400 — 550 — 650 — 750 — 750** I would like to thank: - [user:Zanite,2026-11-07] and [user:Pyqe,2026-11-07] for the coordination. - [user:peruviancartel,2026-11-07], [user:ngeces,2026-11-07], and [user:hanifchdn,2026-11-07] for their help in testing the problems and...
You can upsolve the problems [here](https://tlx.toki.id/problems/troc-44). Editorials are available

Full text and comments »

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

202.
By SecondThread, 6 years ago, In English
1<<12 Sub Live Stream! TLDR: [Stream at this time](https://www.timeanddate.com/worldclock/fixedtime.html?day=8&month=8&year=2020&hour=12&min=30&sec=0)! See you there! Hi everyone! I very recently reached 1<<12 subscribers on Youtube! To celebrate, I'm going to be doing my first ever livestream! I'll be on Youtube only this time (maybe I'll do both youtube and twitch later if there's demand for it). The stream will include looking at and trying to solve Code Jam Finals problems, which will be going on at the same time. **In general, live-streaming participation in a contest is considered cheating and is very bad. Do not do this for any public contests!** To be careful not to leak solutions or anything: 1. I will significantly delay my start of the round. 2. I will spend the beginning of the contest (where my participation overlaps with the real thing) reading all problems instead of solving. 3. I will not explain solution ideas of any problems until the round is over. That way, this isn't any mo...

Full text and comments »

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

203.
By saPaul, history, 4 months ago, In English
CF FetchCodes => See Friends' Accepted Codes + AI Explainer + Dark Mode on CodeForces ### CF FetchCodes Source: **Chrome Web Store:** [Install CF FetchCodes](https://chromewebstore.google.com/detail/cf-fetchcodes/ombmefkchmjbodcoboeagbpaejfojnga) **GitHub (Open Source):** [github.com/sayanpaulcse/CF_FetchCodes](https://github.com/sayanpaulcse/CF_FetchCodes) --- ### What is CF FetchCodes? It's a browser extension that adds a small widget to every Codeforces problem page. It lets you: 1. **See which of your friends solved the problem** — detected automatically from your CF friends list. 2. **Read their accepted code** — with syntax highlighting, right on the page. No navigation needed. 3. **Ask AI to explain any solution** — a built-in Gemini chat that breaks down the approach, time/space complexity, and logic. 4. **Dark Mode for Codeforces** — full page dark mode + code-only dark mode with 6 selectable syntax themes. --- ### Feature Breakdown **1. Accepted Codes of Friends** After a contest ends, go to any problem page and click "Show Code...

Full text and comments »

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

204.
By cabessa, history, 3 months ago, In English
The 2026 ICPC South America — Brazil First Phase @ Codeforces Gym Hello, Codeforces! On August 29, 2026, the same problem set was used simultaneously in the following competitions: - **Maratona SBC de Programação 2026** - **Competencia Boliviana de Programación 2026** - **The 2026 ICPC Gran Premio de Centroamerica** - **The 2026 ICPC Gran Premio de Mexico** The complete 14-problem set is now available on [Codeforces Gym](https://codeforces.me/gym/106679) for virtual participation and upsolving. The contest lasts five hours, and the statements are available in English, Portuguese, and Spanish. Whether you want to take it virtually as a team or solve the problems individually, we hope you enjoy the set! I am very grateful to my fellow problem authors: Leonardo Conegundes, [user:arthur.nascimento,2026-09-03], [user:fepaf,2026-09-03], [user:brunomont,2026-09-03], [user:Silverutm,2026-09-03], [user:naumazeredo,2026-09-03], and Luiz Santos. Preparing the contest involved much more than writing the problems. Huge thanks to everyone who...

Full text and comments »

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

205.
By YocyCraft, history, 4 years ago, In English
Maybe it's the limitation of the programming language? Today when I upsolving [problem:1768F] in which the intended solution is pretty simple. But the time complexity is O(n^1.5) and n=4*10^5 the time limit is pretty strict. I implemented the intended solution in java for many times but I always got TLE. Then I copied the submission [submission:188424856] _(483ms) which is simpler the the official solution, and implemented in java, and got AC for 3322ms (My submission:[submission:188904779]). It seems that sometimes you must to optimize the solution further than intended. Also the official judge runs java code much more slowly than on my computer. I tested for cases where a[i]=1+(i%mod), where mod was about sqrt(400000). The code ran for about 0.6s but for the similar cases of the official judge it ran for about 2.3s. <spoiler summary="The code for testing time cost on my computer"> ~~~~~ import java.util.*; import java.io.*; public class Problem1768F { static BufferedReader br = new BufferedReader(new InputStreamReader(S...

Full text and comments »

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

206.
By yevhenii_kanivets, history, 7 years ago, In English
Codeforces WatchR 1.4.0: Problems & Google Play Statistics For almost a week already, [Codeforces WatchR](https://play.google.com/store/apps/details?id=com.bogdan.codeforceswatcher) offers to its users brand-new feature called "Problems". ![ ](/predownloaded/5b/f2/5bf2af20ea0dd6253d34ab46d509d740299e834c.png) This is the last (but not the least) of tabs, which allows anybody to: - **browse** all Codeforces problems without any limits - **search** problems you are interested in by its name or contest id, where it appeared for the first time - mark chosen problems as **"Favourite"** to upsolve it later or just share with friends - view any problem's condition, of course Hindi translation ----- Thanks to [user:NiKS001,2019-12-15] and [user:HackedAlways,2019-12-15], [Codeforces WatchR](https://github.com/xorum-io/codeforces_watcher) is now translated to Hindi (even though it's not so popular as I initially assumed). Here is the [PR](https://github.com/xorum-io/codeforces_watcher/pull/76). Google Play Statistics -------------...
**"Favourite"** to upsolve it later or just share with friends - view any problem's condition, of course

Full text and comments »

207.
By Kinon, 3 years ago, In English
Invitation to TLX Regular Open Contest #35 <p> Dear Codeforces community,</b> <img src="/predownloaded/2d/30/2d30c17aba8882b75b0b9b0aa7c222a519bcc7ba.png" style="width: 400.0px;float: right;margin: 0 1.0em 1.0em 1.0em;max-width: 100.0%;max-height: 100.0%;"> </p> We are excited to invite you to <b>TLX Regular Open Contest #35! Key details: - Contest URL: [TLX](https://tlx.toki.id/contests/troc-35) - Time: [21st October 2023, 21:05 UTC](https://www.timeanddate.com/worldclock/fixedtime.html?msg=TLX%20Regular%20Open%20Contest%20%2335&iso=20231021T140500) - Writers: [user:Kinon,2023-10-19] - Duration: 150 minutes - Problems: 7 - Scoring distribution: **100 — 150 — 250 — 400 — 500 — 600 — 700** Many thanks to: - [user:Pyqe,2023-10-19] for coordinating the contest. - [user:Drew_,2023-10-19], [user:steven.novaryo,2023-10-19], [user:vioalbert,2023-10-19] for testing the contest. - [user:fushar,2023-10-19] for the amazing TLX platform. Please register to the contest and we hope you will enjoy TROC #35! *...
You can upsolve the problem [here](https://tlx.toki.id/problems/troc-35). Editorial will be

Full text and comments »

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

208.
By MO_Tamer, 15 months ago, In English
CF Gym Tracker – Track and Upsolve Gyms with Your Team When I was **practicing with my team** to prepare for **ECPC**, we realized something important: While solving as many gyms as possible is great, **upsolving the gyms we had already attempted** was even more valuable. But there was a problem... Codeforces only shows the **last 10 virtual gyms** for each user, which made tracking our team’s progress quite difficult. So, I decided to build a simple tool: [ CF Gym Tracker](https://cf-gym-tracker.vercel.app/) ----------------------------------------------------- https://cf-gym-tracker.vercel.app/ --- ## Features: ### Team Progress Tracker - Enter your handles (comma-separated). - Choose gym difficulty and the solving mode. - The tool will show all the gyms that these handles solved **together as a team**, and even display the **team name**. ![ ](/predownloaded/b5/d3/b5d3e60fa10ad44180665f260a24973913000d34.png) --- ### Upsolving Suggestions - Enter your handles again, and the tool will suggest gyms **...
CF Gym Tracker – Track and Upsolve Gyms with Your Team

Full text and comments »

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

209.
By KAN, 2 years ago, In English
Codeforces Round 990 Hi Codeforces! On [contest_time:2046] we will hold [contest:2046] and [contest:2047]. Note the unusual starting time! The harder problems of this round are based on the problems from the Final round of Yandex Cup 2024, Algorithms track, that will be held at the same time. The problems are authored by [user:elshiko,2024-12-02], [user:flyce,2024-12-02], [user:mrlolthe1st,2024-12-02], [user:sokolow,2024-12-02], [user:stepanov.aa,2024-12-02], [user:TeaTime,2024-12-02], [user:Tikhon228,2024-12-03], [user:webmonster,2024-12-02], [user:4qqqq,2024-12-02] with guest problems from [user:myst-6,2024-12-02], [user:Vladithur,2024-12-02], [user:BledDest,2024-12-02] and me. I'd like to thank [user:daubi,2024-12-02], [user:Golovanov399,2024-12-02], [user:arbuzick,2024-12-02], [user:pperm,2024-12-02], [user:orz,2024-12-02], [user:AgafonovArtem,2024-12-02], [user:Qwerty1232,2024-12-02], [user:k1r1t0,2024-12-02], [user:Itsmylove1,2024-12-02], [user:Sofi_,2024-12-02], and [user:errorgorn,2024-...

Full text and comments »

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

210.
By BiNARyBeastt, history, 4 years ago, In English
Finally reached Expert. In the recent div 2 contest, I finally became expert, and since a lot of people ask how to improve, I decided to share my own experience of competitive programming. It all started 1 and a half years ago, when I decided to go to the programming club of my school. Of course, it all started by a very tough problem (given a, b. Print a + b), but I managed to pull it off. And after solving a bunch of classic and simple problems like that, it was a big improvement, of course, considering that I knew nothing. But at some point, I started noting that I'm not really improving anymore (it was around the time when I started codeforces and didn't reach pupil yet). That's when I realized that it's great to have someone teaching you, but you need to work alone to keep improving. I started solving codeforces problems more (Let's all take a minute of silence for my 1st amazing submission &mdash; [submission:128902691]). It all went pretty smooth until I reached pupil. I started learning more advanc...
many times I was managing to upsolve the div 2 D on my own (Don't be afraid of looking at the

Full text and comments »

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

211.
By Mtaylor, history, 7 months ago, In English
I made a free browser-based CP Tool for graph visualization, calculators, grids, and resources Hello Codeforces! I wanted to share a tool I’ve been building for competitive programming: [https://cptoolapp.web.app/](https://cptoolapp.web.app/) CP Tool is a free web app that runs directly in the browser. There is no login, no setup, and no backend server needed for the actual tools. Just open the site and use it. What it currently includes: - Interactive graph editor - Graph parsing from common input formats - Algorithm visualization/playback for things like BFS, Dijkstra, MST, SCC, topological sort, bridges/articulation points, tree diameter, LCA, subtree size, etc. - CP calculators for number theory, combinatorics, bit operations, matrices, and strings String algorithm helpers like KMP, Z-function, rolling hash, Manacher, trie, Aho-Corasick, suffix array, and suffix automaton - Grid/coordinate helper for geometry-style and compressed-grid problems - Curated CP resources: platforms, practice ladders, references, tools, and communities - Documentation inside ...

Full text and comments »

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

212.
By misis, history, 6 years ago, translation, In English
Registration for Volga Summer Camp 2020 is opened We are glad to inform you that **Volga Summer Camp 2020** – open competitive programming camp – will take place on July 7-18. It is organised by NUST MISIS together with P.G. Demidov Yaroslavl State University with the support of SIT (Schaffhausen Institute of Technology). At the moment a lot of events are held in the remote mode and our camp is not an exception. This year it will be conducted online. Teams of up to 3 members are invited to join. ![ ](https://sun9-36.userapi.com/c857736/v857736433/1fe657/Z9eiq9pSiMg.jpg) There are two levels of difficulty (two divisions): - DivC welcomes teams, getting ready for the semi-final of ICPC. Half of the time they are going to deal with quarter-final ICPC contests, and the rest of it will be dedicated to private thematic contests. The focus of our lessons will be on coordinate compression, number theory, probability problems, network flow in graph theory. - DivB is for teams aiming directly at ICPC final. All the contests her...

Full text and comments »

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

213.
By Errichto, 4 years ago, In English
Coding Streams, January 2023 For the next few days, I will do live streams of virtual participation (or casual problem-solving) of CF div1 rounds. The first one is starting in less than 2 hours. You can watch on [Twitch](https://www.twitch.tv/errichto) and [Youtube](https://www.youtube.com/errichto2). I'm back to practicing because there's a big Polish competition in two weeks and I'm certainly out of shape. - [[recording](https://youtu.be/bCFBEDZ3HZo)] Sunday 22.01, [Round #844 (Div. 1 + Div. 2)](https://codeforces.me/contest/1782) problems ABCDF - [[recording](https://youtu.be/n-WQ9iV8_7I)] Monday 23.01, [Round #844 (Div. 1 + Div. 2)](https://codeforces.me/contest/1782) problems EGH - [[recording](https://youtu.be/8BszG7Y8eG8)] Tuesday 23.01, [contest:1792] problems A-E - [[recording](https://youtu.be/qjZefJohRVI)] Saturday 28.01, [contest:1770] problems A-E - [[recording](https://youtu.be/hzLzn95eXec)] Sunday 29.01, [contest:1787] problems A-F - [[recording](https://youtu.be/jh7ISwaUOws)] Monday 30...

Full text and comments »

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

214.
By z4120, history, 7 years ago, In English
User script to keep track of your problem solving (Codeforces only) UPD: New version: Add problem title to the dashboard. [Screenshot](http://0x0.st/zUO8.png). Now you can tell easily what the problem is, without clicking through the link or add tags to describe the problem (although if you have existing tags, it's okay as well) --------- A port of the [chrome extension](https://codeforces.me/blog/entry/59575) to Greasemonkey. I don't use Chrome, and so I decide to spend some time convert the chrome extension to greasemonkey userscript. I know that Chrome is the most popular browser, but I hope this can be useful to someone else. (there was somebody who [asked for a Firefox extension](https://codeforces.me/blog/entry/59575#comment-433350)) For now, the user script only works on Codeforces, and it uses localStorage. Also, because it "merges" a bunch of files into one, the resulting user script is not really maintainable. Anyway, as far as I've tested the works identically to the chrome extension (except that the "badge text" does not work) ...
Link: [Codeforces upsolve tracker](https://greasyfork.org/en/scripts/393478-codeforces-upsolve

Full text and comments »

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

215.
By Errichto, 6 years ago, In English
Among Us & Regular Algo Streams Hi. I have a few announcements. Among Us stream on [Sunday, 20:00 CEST](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20201004T20&p1=262) (just after CF 675 div2). The current team is me, [user:Egor,2020-10-03], [user:kostka,2020-10-03], [user:tmwilliamlin168,2020-10-03], [user:alexwice,2020-10-03], [user:xiaowuc1,2020-10-03], [user:SecondThread,2020-10-03], [user:Reyna,2020-10-04], [user:ssense,2020-10-04], [user:the_white_devil,2020-10-04], [user:SlavicG,2020-10-04], [user:gupta_samarth,2020-10-04], [user:lior5654,2020-10-04]. See you in the chat! https://www.twitch.tv/errichto I stream programming regularly now: every Tuesday (hard Atcoder upsolving), Thursday (coding interviews) and Saturday (easy Codeforces problems), always starting at [9:00 PST / 18:00 CEST / 21:30 IST](https://www.timeanddate.com/worldclock/fixedtime.html?iso=20201003T18&p1=262). You can import my [google calendar](https://calendar.google.com/calendar/embed?src=0qldhlvr0oqd867pdi8nkm8s04%40gro...

Full text and comments »

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

216.
By portajohn, history, 6 months ago, In English
A message to Vansh_Vala, who deleted his post Context ------------------ I recently came across this fine gentleman's post celebrating his recent achievement of Specialist. He cited the following things as being helpful for him: <blockquote> Regular contest participation. Upsolving problems after contests. Learning new algorithms and data structures. Analyzing mistakes instead of repeating them. Staying consistent even when progress felt slow. </blockquote> Now [user:Vansh_Vala,2026-06-13] is quite an interesting coder. After looking at his submissions, I was met with many that either got CE or WA on test 1. Amazed, I asked about this peculiar habit of not running his code locally. It is with profound sorrow that I must share the news that, in the midst of our intellectual discussion, he chose to delete the blog post. An open letter ------------------ Dear [user:Vansh_Vala,2026-06-13], I grieve the loss of our discussion and am deeply saddened that you did not reciprocate my interest. I understand that you ar...

Full text and comments »

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

217.
By kaolinite, 4 years ago, In English
Invitation to Inscription 2022 Codeforces! Greetings from [**NITK**](https://www.nitk.ac.in/). We will be hosting a CP contest, **Inscription 2022** as part of our college's annual technical fest [**Engineer**](https://engineer.nitk.ac.in/), on September 25th on CodeDrills. We have many more tech events, which you can check out over [here](https://engineer.nitk.ac.in/events). ![ ](/predownloaded/c2/d7/c2d75c11ca072e2d93267d99fdc334a770364805.jpeg) **Contest Details:** - Contest Link — [Inscription 2022](https://codedrills.io/contests/inscription-2022) - Date & Time — 25th September 2022, Sunday, 12:00 noon IST - Duration — 2 hours and 30 minutes - There will be 5-6 problems of varying difficulty. - Will follow ICPC like scoring system (10 minutes penalty and 1 point per problem) - Telegram group for clarifications: https://t.me/+SQPJYPL2XwE1OTM1 **Registration for prizes:** - Do register [here](https://forms.gle/1BQKkeQWzgzzoUpH6) **BEFORE** the contest begins. - Only Indian participants are ...
in a few days but feel free to discuss here. Please do upsolve the problems and give your feedback

Full text and comments »

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

218.
By jonathanirvings, history, 10 years ago, In English
TOKI Open 2017 Post-Contest Hello! [TOKI Open 2017](http://codeforces.me/blog/entry/51512) has ended. Thank you to everyone who participated the contest. We decided to not consider any participants from the second window whose username is registered on the first window. We also decide to not consider any participants from the second window whose code is very similar to other user's code on the first window. After that, we consider a TOKI Open 2017 participant to be those who made at least one submission on either day. There were a total of 109 participants, which four of them get a fullscore. Congratulation to [user:Reyna,2017-05-17], [user:kevinsogo,2017-05-17], [user:pwypeanut,2017-05-17], [user:tuna_salad,2017-05-17]. The full result of TOKI Open 2017 is available [here](https://docs.google.com/spreadsheets/d/1OP76m7dG7uDyngGUm7ilykNmWc660KCHymxfi8OERww/edit?usp=sharing). The skeletons, solutions, problem descriptions, and testcase generators for TOKI Open 2017 are available [here](https://github...

Full text and comments »

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

219.
By maroonrk, history, 4 months ago, In English
IOI 2026 Problem Discussion I didn't see a discussion blog yet so let me post it. - [Official Website](https://ioi2026.uz/) - [Ranking](https://ranking.ioi2026.uz/) - [Upsolving in QOJ](https://qoj.ac/contest/3952) - [Judging Data](https://github.com/ioi/task-archive/tree/master/2026/day1) - [Official Live Stream in Day1](https://www.youtube.com/live/NU3yjvnw82c) - [Unofficial Commentary from Errichto](https://www.youtube.com/watch?v=XDPxmsTeJZk)

Full text and comments »

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

220.
By SoshkinRoman, 7 years ago, translation, In English
38th Petrozavodsk Programming Camp. Results. <img align="right" width="30%" height="30%" src="/predownloaded/59/cb/59cb1300ebd30c6465012e4f77f8ccde33e2281d.jpg"> From 28.01.20 to 07.02.20, Petrozavodsk State University held 38th Petrozavodsk Programming Camp. 47 teams participated in the competition from 33 universities, 25 cities, 11 countries (Russia, Belarus, Kazakhstan, Poland, Romania, Latvia, Ukraine, South Korea, China, USA, Japan) Petrozavodsk Programming Camp is traditionally a training platform for International Collegiate Programming Contest (ICPC) winning teams: over the past 18 years, 13 times the camp participants became winners in ICPC World Finals. This time from 47 of participating teams 18 teams will take part in ICPC World Finals 2020. Petrozavodsk Programming Camp consists of nine days of contests and two <s>upsolving days</s> days off between them. One of the camp's features is that participants and sponsors are generally the authors of contests. This time the authors were: [user:300iq,2020-02-13];...

Full text and comments »

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

221.
By Priyansh31dec, 12 months ago, In English
Video Solutions for CSES Problemset by TLE Eliminators Hello everyone! I have some exciting news to share from the TLE Eliminators team. We are now making video solutions for the [CSES Problemset](https://cses.fi/problemset/), aiming to cover all the beginner-intermediate sections of the CSES Problemset such as `Introductory Problems`, `Sorting and Searching`, `Sliding Window Problems`, `Bitwise Operations`, `Dynamic Programming`, `Graph Algorithms`, `Range Queries`, `Tree Algorithms`, `Mathematics`, `String Algorithms`. Why CSES? This is perfect for beginners and helps you do solid topic-wise practice, introducing you to all the standard concepts in a topic first. Once you know these, it becomes much easier to tackle random or new problems later on. We want to simplify this learning process for you. We have made the following progress so far. 1. `Introductory Problems Set`: Completed 100% &mdash; [Playlist Link](https://www.youtube.com/watch?v=A9C7rO_R888&list=PLcXpkI9A-RZLNzhkMB3SyNfagr1LzIGrp) 2. `Searching and Sorting Se...

Full text and comments »

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

222.
By athin, history, 8 years ago, In English
Post-Contest: TOKI OSN Open Contest 2018 Hi Codeforces community! :) [TOKI OSN Open Contest 2018](http://codeforces.me/blog/entry/60263) has ended. Thanks everyone for your participation! :D There were a total of 96 participants: - 21 of them achieved a score in the **gold** cutoff (according to the actual competition of OSN 2018). - 15 of them achieved a score in the **silver** cutoff (according to the actual competition of OSN 2018). - 14 of them achieved a score in the **bronze** cutoff (according to the actual competition of OSN 2018). Congratulation to [user:Yehezkiel,2018-07-08] for winning the contest! The full result of TOKI OSN Open Contest 2018 is available on the [official website](https://osn2018.toki.id/open-results.html). The problems are available for upsolving [here (TLX)](https://training.ia-toki.org/archives/53). The problems discussion (editorial) will be written in Bahasa Indonesia only and still in progress. Fear not, we provide you the full repository of OSN 2018 consisting of the solut...

Full text and comments »

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