Можно ввести несколько слов — все они попадут в требования к поиску. Кроме того, осуществляется поиск по словоформам и, если повезет, по синонимам. Поддерживается поиск по названию, автору и специальный синтаксис запросов. Примеры:

  • 305 — ищет все посты, содержащие 305, найдет посты про Раунд 305
  • andrew stankevich contests — можно писать сразу много слов, будут искаться все
  • user:mikemirzayanov title:сазанка — ищет все посты в названии со словом "сазанка" авторства MikeMirzayanov
  • "vk cup" — можно использовать кавычку, чтобы искать точные совпадения
  • title:educational — искать в названии

Результаты

1.

API

Последнее посещение:  12 дней назад
Зарегистрирован:  16 лет назад
2.
Автор MikeMirzayanov, 8 лет назад, По-русски
Codeforces: Problem Difficulties Hi Codeforces! Meet a small innovation on Codeforces &mdash; difficulties of problems (and at the same time a new widget filtering problems in the archive). For all the problems of the archive, I’ve calculated the difficulties in the scale of the rating of participants. Approximately this means that if the rating of the problem is equal to yours, then on a typical round you would solve the problem with a probability of 0.5. And, in general, if your rating is $r_i$, and the problem rating is $r_j$, then the problem during the round can be solved approximately with probability: $$P_{i,j}=\frac{1}{1+10^{\frac{r_j-r_i}{400}}}.$$ For example, if the rating of a problem is less than yours by 200, then the expected probability of solving the problem is 0.75. With a difference of 400 rating points, the probability increases to 0.9. For convenient search of problems in the archive, you can now use a special widget: <center><img src = "/predownloaded/1c/fb/1cfba40476423720c79f0f...
результатах тестирования попыток? **UPD 2:** Добавил в API опциональное поле rating к объекту, **UPD 2:** (API update) Optional field `rating` has been added to the object `Problem` inAPI., **UPD 2:** Добавил в API опциональное поле rating к объекту Problem., :** Have you already noticed new pop-ups about judgment verdicts of your submissions? **UPD 2:** (API

Полный текст и комментарии »

  • Проголосовать: нравится
  • +3188
  • Проголосовать: не нравится

3.
Автор MikeMirzayanov, 3 года назад, По-английски
Codeforces: Results of 2023 [Annual Report] Hello, Codeforces. Let's recall 2023, shall we? In this post, I want to summarize this year. You know, a lot of terrible things happen in the world, and personally, this year was the hardest and most sorrowful for me. But today, we'll remember something else. We'll remember what this year was like for Codeforces. Recently, Codeforces turned 14 years old. Not bad, right? And for many years now, when asked "What is Codeforces?" the first thing I say is — it's a community! [cut]<br/> #### Personal Thanks! On behalf of the community (and myself), I say thank you to everyone who tries, helps, and makes efforts to keep the community alive. Thank you to the developers! Although I continue to engage in development and other technical activities, I'm glad that these guys made an effort and improved the platform: [user:geranazavr555,2024-02-04], [user:unreal.eugene,2024-02-04], [user:vbandurin,2024-02-04], [user:ChurakovaAlexandra,2024-02-04], [user:medvezhonokok,2024-02-04]...
comments and posts. * A filter for browsing past contests. * An asManager parameter for contestAPI, contest API methods. Improvements in Polygon * AI-based translation of problem statements, solution execution * Several API improvements

Полный текст и комментарии »

  • Проголосовать: нравится
  • +1748
  • Проголосовать: не нравится

4.
Автор MikeMirzayanov, история, 20 месяцев назад, По-английски
My Reply on "Mike, please stop ignoring your userbase" This is a response to [this post](https://codeforces.me/blog/entry/141442). Originally, I intended to leave it as a comment, but the text turned out to be quite long. So I decided to publish it as a separate post. Hi! Let me start with the main idea: I don't think I ignore too many issues (though I do ignore some). In most cases, I do work on them, but these days I just don't feel like writing about it. That kind of communication takes a lot of energy &mdash; which I currently don't have. Oh, it looks like you edited the beginning of the blog, and now it triggers less of an internal protest in me. Honestly, lately I've been in a difficult emotional state, and I just don't have the energy or desire to interact much. It's not just about Codeforces &mdash; it's generally harder for me to engage than it used to be. I won't go into details (health, relocation, family issues, changes in the nature of my work due to bots) &mdash; all of that affects my mental state and willingne...
6. API issues, > It worked for a while again until he started to take down the user.ratedList api during contest, > MikeMirzayanov did make a comment about this api 3 years ago. However, it seems like there was no, Does /api really get blocked by Cloudflare? I'm pretty sure that was fixed a long time ago.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +1425
  • Проголосовать: не нравится

5.
Автор MikeMirzayanov, 10 лет назад, По-русски
Codeforces: summing up 2016 year <center> <img src="http://assets.codeforces.com/images/Happy-New-Year-HD-Wallpapers.jpg"/> </center> Somehow it turns out that for me, each coming the New Year means more and more. This is an excellent opportunity to take stock, to breathe fresh air and to go through a kind of catharsis. This is a rare opportunity to be with the family, dress up in Santa Claus and just have fun. Holidays give me a clear criterion that I do the right things. If during the holidays, I begin to think about it, to recall some deferred ideas, eager to implement something new. So I’m doing right things. My things. And now exactly the same as in several recent years: during New Year holidays I write code for Codeforces, trying new technology or simply I’m making minor changes in testlib. It is necessary to me: at this moment are no deadlines, do not press the obligation. Just now, at 3 am, I can not break away from being able to do something new. I would like to take a moment and realize that spun in ...
* extended API with methods: user.friends, user.blogEntries, blogEntry.view, blogEntry.comments, and spam * spoilers in blogs and comments * save drafts into localStorage * extendedAPI with, блогах и комментариях * сохранение черновиков в localStorage * расширены методы API: user.friends, методы API: user.friends, user.blogEntries, blogEntry.view, blogEntry.comments и другие * улучшена

Полный текст и комментарии »

  • Проголосовать: нравится
  • +1405
  • Проголосовать: не нравится

6.
Автор MikeMirzayanov, 3 года назад, По-английски
Polygon: AI-Powered Automatic Tips Hello, Codeforces! <i>For the new members of the community, I would like to remind you that Polygon (https://polygon.codeforces.com/) is a system developed and maintained by Codeforces for preparing programming problems. It is there that authors and coordinators develop all the problems for the rounds. Moreover, I believe a significant (large?) portion of the problems for other competitions is also developed there: various stages of ICPC, national competitions of different levels, educational problems for various courses, etc. <b>In 2023, more than 50000 problems were prepared in Polygon (only those for which a package was compiled are counted)!</b></i> Large language models are becoming an increasingly integral part of our lives, taking over routine and monotonous tasks. With their help, problems created in Polygon will now have fewer typos and incorrect language constructions. We have recently implemented three features in Polygon to ease routine tasks: * Translati...
AI service. For example, OpenAI explicitly states that data from API requests cannot be used for, with the AI service. For example, OpenAI explicitly states that data from API requests cannot be used

Полный текст и комментарии »

  • Проголосовать: нравится
  • +1190
  • Проголосовать: не нравится

7.
Автор MikeMirzayanov, 7 лет назад, По-русски
Codeforces: Итоги 2019 <a style="float:right; display: inline-block; margin:0 1em 1em 2em; max-width: 60%;" href="https://codeforces.me/10years"/> <img style="max-width:100%" src="https://assets.codeforces.com/images/codeforces-10-years-300.png"/> </a> Привет, Codeforces! Недавно платформе исполнилось <b>10 лет</b>. Мы принимаем ваши поздравления по ссылке <b><a href="https://codeforces.me/10years">https://codeforces.me/10years</a></b>. Пожалуйста, ознакомьтесь с прогрессом в 2019-м году и <a href="https://codeforces.me/10years">поддержите краудфандинг-кампанию</a> по случаю юбилея. Ваше пожертвование станет вкладом в будущее Codeforces, поможет его развитию и работе. Нам нужны ресурсы, чтобы продолжать проводить раунды, не останавливаться в разработке, внедрять нововведения и поддерживать существующую инфраструктуру. В 2019-м году над задачами совместно с многочисленными авторами работали координаторы: [user:KAN,2020-02-06], [user:300iq,2020-02-06], [user:cdkrot,2020-02-06], [user:arsijo,20...
authentication support, 1. API enhancements 1. Partial support for problems with special, улучшения и исправления 1. Поддержка двухфакторной аутентификации 1. Улучшения вAPI 1. Частичная, 1. Multiple improvements and fixes 1. Two-factor authentication support, 1. API enhancements 1, API 1. Частичная поддержка задач с ресурсами (с грейдерами) 1. Существенно расширена

Полный текст и комментарии »

  • Проголосовать: нравится
  • +1154
  • Проголосовать: не нравится

8.
Автор MikeMirzayanov, история, 4 года назад, По-английски
Automatic Translation of Problem Statements in Polygon Hello, Codeforces. I have implemented automatic translation of problem statements in Polygon (yes, yes, through ChatGPT). Here's an example of how to use it: <img src="/predownloaded/5e/bb/5ebb50faa4876d45dd8d7dab3640e6ac598d96a3.png" style="float:right; margin: 0 1em 1em 1em; max-width: 500px; width:500px;"/> * Suppose we have a problem statement only in Russian and we want to have it in English as well. * Create an empty problem statement in English. * Go to the bottom of the problem statement and click on "Add automatic translation." * In the popup window, you can choose the original language for translation (we only have Russian, so there's nothing to choose) and the section of the problem statement to translate (by default, it usually selects the appropriate option &mdash; translate everything). * Click the "Translate" button. * Wait for ChatGPT to translate the text (it may take up to a couple of minutes). * When the translation is ready, it will be loa...
LaTeX markup. When using it, remember that the API is not free. I have set quotas, and if they are, When using it, remember that the API is not free. I have set quotas, and if they are exceeded, I

Полный текст и комментарии »

  • Проголосовать: нравится
  • +1245
  • Проголосовать: не нравится

9.
Автор SlavicG, 5 лет назад, По-английски
How to use Codeforces [GUIDE] I see a lot of newcomers struggling to use the website to it's fullest, so I decided to write a blog that has all important information about how to use Codeforces in a single place. I will update it with time, so feel free to write your suggestions/questions in case I missed something and I will be glad to add it to the post! I would like to thank [user:_Vanilla_,2022-02-05] and [user:mesanu,2022-02-05] for helping me write the blog, and [user:Monogon,2022-02-05], [user:down,2022-02-05] and [user:AlperenT,2022-02-05] for proofreading and giving suggestions. #### Navigating through pages ![ ](https://media.discordapp.net/attachments/705371983650619454/928235498487570442/bandicam_2022-01-05_12-36-00-134.jpg?width=991&height=110) It's possible to navigate through most pages of Codeforces using the bar on the top, I will talk about what each tab does more in depth below: #### The Help Page The help page contains the answer to a lot of questions about Codeforces, such as rati...
rounds and video streams in a compact way. #### What is the API page? The API page helps you use, #### What is the API page? The API page helps you use the restful API that Codeforces has to offer

Полный текст и комментарии »

  • Проголосовать: нравится
  • +726
  • Проголосовать: не нравится

10.
Автор rewhile, 20 месяцев назад, По-английски
<h1>Mike, please stop ignoring your userbase</h1> **This blog will compile a list of codeforces issues along with all the times Mike has ignored complaints about them** ## 1. Unreasonable delay for viewing submissions [<a class="rated-user user-green">+973</a>] - [Submission pages on Codeforces often not loading](https://codeforces.me/blog/entry/134655) [<a class="rated-user user-green">+281</a>] by [user:jeroenodb,2025-04-04] on *October 2024* - [Unreasonable delay for viewing submissions](https://codeforces.me/blog/entry/135457) [<a class="rated-user user-green" title="Green 392">+392</a>] by [user:djm03178,2025-04-04] on *October 2024* - [Please, give us proper explanations about this nonsense.](https://codeforces.me/blog/entry/136830) [<a class="rated-user user-green">+300</a>] by [user:djm03178,2025-04-04] on *December 2024* No [user:MikeMirzayanov,2025-04-04] reply ## 2. Cloudflare misconfiguration [<a class="rated-user user-green">+1232</a>] Posted [CF should rename itself to Cloudflare instead of Codef...
## 6. API issues, It worked for a while again until he started to take down the `user.ratedList` api during contest, [user:MikeMirzayanov,2025-04-04] did make a comment about this api [3 years ago](https

Полный текст и комментарии »

  • Проголосовать: нравится
  • +770
  • Проголосовать: не нравится

11.
Автор ToxicPie9, 3 года назад, По-английски
You won't believe how this simple trick defeated the unexplained bug destroying every top LGM ### TL;DR Currently people are discussing a slowdown bug on Codeforces that seems to happen randomly, and can cause code to run 100x slower and get TLE. More details in [user:pajenegod,2024-03-03]'s [blog post](https://codeforces.me/blog/entry/126654). In this article, I present a mitigation: add the following to your code. ~~~~ #include <windows.h> void *operator new(size_t size) { if (void *ptr = HeapAlloc(GetProcessHeap(), 0, size ? size : 1)) return ptr; throw std::bad_alloc{}; } void operator delete(void *ptr) { HeapFree(GetProcessHeap(), 0, ptr); } ~~~~ <spoiler summary="If you use malloc/free in C++ (you shouldn't), also change them."> ~~~~ void *my_malloc(size_t size) { if (void *ptr = HeapAlloc(GetProcessHeap(), 0, size ? size : 1)) return ptr; throw std::bad_alloc{}; } void my_free(void *ptr) { HeapFree(GetProcessHeap(), 0, ptr); } ~~~~ </spoiler> <spoiler summary="If you use aligned new/delete in C++, also change the...
`_malloc_base`, which is just a wrapper to the Windows API `HeapAlloc`. Similarly `free` calls `HeapFree, libraries or STL, the lack of source code (and the sheer complexity) makes the WindowsAPI [impossible to, possible to do it by calling raw Windows API functions, as shown above. The following is copy-pasted, wrapper to the Windows API `HeapAlloc`. Similarly `free` calls `HeapFree`. These memory management, Then we look at MSVCRT's source code. It also uses Windows API functions, except when it doesn't

Полный текст и комментарии »

  • Проголосовать: нравится
  • +794
  • Проголосовать: не нравится

12.
Автор geranazavr555, 7 лет назад, По-русски
Polygon updates (June-October 2019) Hello, Codeforces! I and [user: cannor147,2019-11-07], as students of ITMO University, joined the Codeforces team in June. From June to October, we mainly dealt with the development of the Polygon platform. In this post, we would like to present to you a list of what we have done during this time. This list does not include minor bug fixes or any improvements that are invisible to users. #### PIN codes for problems and contests Sometimes very important contests and problems are being developed in Polygon. In such cases, a leader of the jury may be worried about data leaking. For example, it can be so because of the weak password of another member of the jury. PIN code is an additional factor of confirmation the access for the problem or contest and it can be set up only by the owner. It is assumed that the PIN code will be sent in another secure way. There is a link Create Pin for the owners in the contest interface: ![Create Pin in the interface](https://i.ibb.co/bgcg8C...
Polygon API для доступа к задаче или к контесту, которые находятся под пином, необходимо передавать, #### Polygon API improvements, #### Улучшения Polygon API, ://i.ibb.co/5xkZydr/pin3.png) If you use Polygon API, there is a way to send requests for working with, If you use Polygon API, there is a way to send requests for working with problems or contests, that, You can find the full description of Polygon API [here](https://docs.google.com/document/d, В Polygon API для доступа к задаче или к контесту, которые находятся под пином, необходимо, Полное описание Polygon API можно найти по [ссылке](https://docs.google.com/document/d

Полный текст и комментарии »

  • Проголосовать: нравится
  • +739
  • Проголосовать: не нравится

13.
Автор purplesyringa, 5 лет назад, По-английски
This is not an exit. ![This is not an exit.](https://i.ibb.co/N9zrDNp/cf.png) I am looking at the post called [*Is Mike Mirzayanov dictator?*](https://codeforces.me/blog/entry/94033) at the moment. I'm reading through the comments, I'm looking at people's reactions, I'm reading Mike's replies, and... I am utterly disappointed. I demand progress. For context, I do believe Codeforces is the best website for competitive programming contests at the moment. I sincerely give credit to Mike for creating Codeforces and providing participants and contest authors a platform for interaction completely for free. I am confident that Codeforces is the most appropriate website for being *the* platform for sharing knowledge, exchanging tricks and methods, and collaboration between both contest participants, their authors, and coordinators. **Please consider this an open letter**, for this is a will not of a single person, but of many individuals. Please consider signing it by stating so in a comment under the...
negatives? --- Now to a somewhat tangential question. Polygon API is *terrible*. No, Mike, you, whatever else they want to use, instead of forcing a particular API that a) doesn't have control over, Deprecate the API and start from scratch. There's a reason why developers prefer Linux to Windows, Polygon API is *terrible*.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +527
  • Проголосовать: не нравится

14.
Автор MikeMirzayanov, 6 лет назад, По-английски
Codeforces: Results of 2020 [list some changes and improvements] Hello, Codeforces! I understand that 2021 has been going on for a long time, but here I have picked up a subset of some of the improvements that the Codeforces team made in 2020. Soon I will publish numbers (no, charts) with statistics for 2020. In the meantime, I bring to your attention a list of changes and improvements. By the way, this is a decent list. This is about half to a quarter of all changes. It's just that other changes are more often somewhere in the internals of the system and are not visible to users. Please read this list. Each item is the effort of someone from the team. Thanks to [user:geranazavr555,2021-03-14], [user:kuviman,2021-03-14] and [user:cannor147,2021-03-14] for their efforts. You've made our platform better! Well, by the way, I don't quit programming and many improvements were made by me. The items on the list are written in a concise and informal form, many of the items I just copied from commit messages from git. If you want more details &mdash...
in Polygon API (Polygon) * Search in Polygon by problem or contest ids (Polygon) * Direct, ) * Better PDF for a single problem, fixed olymp.sty (Polygon) * Improvements in PolygonAPI

Полный текст и комментарии »

  • Проголосовать: нравится
  • +1394
  • Проголосовать: не нравится

15.
Автор kuviman, 9 лет назад, По-русски
Codeforces: возвращение acm.sgu.ru <img src="/predownloaded/e6/11/e6110c2bbfaa42c460f7c54f681a89fa9fe2395a.png" alt="acmsguru" title="acmsguru" style="float:right; margin: 0 1em 1em 1em;"/> Всем привет! Сайт [acm.sgu.ru](http://acm.sgu.ru/) был создан ~16 лет назад участниками олимпиад по программированию Саратовского университета: [user:MikeMirzayanov,2018-04-23] и [user:andrewlazarev,2018-04-23]. К настоящему времени его кодовая база и инфраструктура окончательно устарели, и поддерживать систему в работоспособном состоянии неоправданно сложно. Однако, команда Codeforces регулярно получает просьбы оживить acmsguru, так как архив задач до сих пор представляет интерес. Встречайте новую функциональность Codeforces &mdash; дополнительный раздел ["acmsguru" в Архиве](/problemsets/acmsguru). В этот архив перенесены все задачи из старой системы. Есть еще несколько вещей, которые предстоит сделать: корректно портировать интерактивные задачи, улучшить отображение условий, поддержать новый раздел в [Codeforces API](/api...
section in [Codeforces API](/api/help), support adding these problems to mashups., портировать интерактивные задачи, улучшить отображение условий, поддержать новый раздел в [CodeforcesAPI, условий, поддержать новый раздел в [Codeforces API](/api/help), поддержать возможность добавления задач в

Полный текст и комментарии »

  • Проголосовать: нравится
  • +734
  • Проголосовать: не нравится

16.
Автор Rubanenko, 11 лет назад, перевод, По-русски
NBHEXT — знай свой рейтинг! Несколько недель назад на просторах блогов CF было очередное обсуждение на тему "почему так долго не обновляют рейтинг!?!?". В своем ответе [user:MikeMirzayanov,2015-10-30] назвал несколько причин: 1. читеров проверяют руками; 2. раунды, как правило, проводятся вечером и Майку нужно потратить какое-то время, чтобы добраться домой; 3. иногда его маленькая дочь просит поиграть с ней и Майк, конечно же, не может отказать. После того, как [user:meh,2015-10-30], [user:MaximM,2015-10-30] и я узнали о третьей причине, мы начали думать, что можно с этим сделать. Немного подумав, к нам в голову пришло решение, которе делают счастливыми и участников, и дочь Майка. Решение заключалось в создании браузерного расширения, которое пересчитывает рейтинг в любой момент соревнования, когда вы обновляете страницу. Как-то так: ![ ](http://s1.postimg.org/f3txyllb3/Screenshot_2015_10_30_19_09_19.png) К счастью, CodeForces дал нам все карты в руки: API и детальная реализация метода пересчета р...
make the extension work with large scoreboards (div2 or mixed rounds). The API couldn't serve too, нам не удалось заставить расширение работать для больших контестов, вроде див2 и общих раундов.API, .png) К счастью, CodeForces дал нам все карты в руки: API и детальная реализация метода пересчета, /Screenshot_2015_10_30_19_09_19.png) Luckily, CodeForces provided us with all the tools to make it happen: anAPI, Luckily, CodeForces provided us with all the tools to make it happen: an API and a public, К счастью, CodeForces дал нам все карты в руки: API и детальная реализация метода пересчета

Полный текст и комментарии »

  • Проголосовать: нравится
  • +647
  • Проголосовать: не нравится

17.
Автор Fefer_Ivan, 13 лет назад, По-русски
Codeforces API <img style="float: right; height: 350px" src="http://assets.codeforces.com/images/posts/api.png"/> Добрый день, Codeforces! Сегодня мы представляем вам [Codeforces API](/apiHelp). Благодаря этому разделу, вы сможете получать часть данных Codeforces в машинно-читаемом JSON-формате. У API есть подробная инструкция по адресу [/apiHelp](/apiHelp), которая поддерживается актуальной. У каждого метода есть пример URL, которым можно воспользоваться для просмотра примера результата метода и экспериментов с параметрами. По умолчанию, любой запрос к API будет анонимным, и ему будут доступны только публичные данные. Чтобы сделать запрос не анонимным, надо создать API-ключ на странице [/settings/api](/settings/api) и воспользоваться нижней частью инструкции по адресу [/apiHelp](/apiHelp). На данный момент все методы API лишь читают данные. Добавление write-методов вида "послать решение" планируется. Мы открыты для предложений и запросов о новых API-методах. Особенно, от автор...
Codeforces API, API has a detailed [manual](/apiHelp), which is supported to contain only actual information. Every, By default, any API request will be anonymous and will have access only to public data. To make a, We are open to suggestions and requests for new API-methods. Especially from respected members of, Мы открыты для предложений и запросов о новых API-методах. Особенно, от авторитетных членов, На данный момент все методы API лишь читают данные. Добавление write-методов вида "послать решение, По умолчанию, любой запрос к API будет анонимным, и ему будут доступны только публичные данные, У API есть подробная инструкция по адресу [/apiHelp](/apiHelp), которая поддерживается актуальной

Полный текст и комментарии »

  • Проголосовать: нравится
  • +429
  • Проголосовать: не нравится

18.
Автор MikeMirzayanov, 12 лет назад, По-русски
Codeforces: итоги 2014 <img src="http://assets.codeforces.com/images/statistics-2014/snowman-ru.png" style="float:right; margin:0 1em 1em 1em;"/> Здравствуй, 2015! Добрый день, Codeforces! На календаре 2-е января, а значит оливье почти съедено. Итоги 2014-го года я как обычно подведу тезисно, без этого "коротенько, минут на сорок". Честно говоря я почти опасался начинать подводить статистику 2014-го года, ведь <a href="/blog/entry/10148">в 2013-м году Codeforces показал настолько стремительный рост</a>, что было бы неудивительно выглядеть бледненько на его фоне. Как бы не так! Я был приятно удивлен цифрам и отчетам! Чуть ниже будет список основных событий и достижений Codeforces за прошедший год. Для вас это просто список, но обратите внимание &mdash; за каждым пунктом кроется напряженная многодневная работа команды Codeforces, авторов задач, организаторов контестов и турниров, помощь тестов и волонтеров. Ура! Мы вместе сделали всё это (а список неполный, много что просто опущено): * разработа...
Codeforces API * added (and sometimes improved) all Andrew [user:andrewzta,2015-01-03] Stankevich, ): * разработан и открыт Codeforces API * добавлены (и местами переработаны) все контесты Андрея [user:andrewzta, * introduced Codeforces API * added (and sometimes improved) all Andrew [user:andrewzta,2015-01-03, * разработан и открыт Codeforces API * добавлены (и местами переработаны) все контесты Андрея

Полный текст и комментарии »

  • Проголосовать: нравится
  • +934
  • Проголосовать: не нравится

19.
Автор kuviman, история, 16 месяцев назад, По-английски
Codeforces: OpenID Connect Hello everyone! Today we announce that Codeforces now supports OpenID Connect &mdash; authentication protocol based on the OAuth 2.0. This allows third-party websites to implement logging in with Codeforces. ![ ](/predownloaded/a1/d3/a1d3ae023a11fcec5cebbb3c1d1fb84559af90b7.png) If you want to implement this for yourself, create an OAuth app in [API settings](/settings/api). Codeforces includes user's handle, current rating and avatar url as part of the id token. ![ ](/predownloaded/37/0d/370de63fcb28e9c0d47d79e697eca225921d3989.png) Let us know if you hit any issues!
want to implement this for yourself, create an OAuth app in [API settings](/settings/api

Полный текст и комментарии »

  • Проголосовать: нравится
  • +834
  • Проголосовать: не нравится

20.
Автор errorgorn, 14 месяцев назад, По-английски
Congrats bribritt on becoming Singapore's new youngest LGM bro still has 3 more IOI and IMO attempts &#128128;&#128128;&#128128; <spoiler summary="By the way, I was wondering whether Singapore having 2 LGMs would make us the highest LGM per capita. It turns out no."> Note that here, I am doing it by max rating, instead of current rating. <div style="text-align:center;"> <img src="https://cdn.discordapp.com/attachments/752406106009239585/1423728259522105588/image.png?ex=68e15dc4&is=68e00c44&hm=a4ca2cc71c4482788e5915e40b71213a9a8d896fddd8594758c8d6b1eac663af&" style="width:50%;"> </div> In the chart above, I manually added one more LGM to Singapore. The error bars are what happens with $\pm 1$ LGM. Manually inspecting the above graph, we see that we should probably remove Antigua and Barbuda, and Samoa. Actually let's remove Cyprus (which I think <a class="rated-user user-red" href="/profile/Endagorion" title="International Grandmaster Endagorion">Endagorion</a> plausibly lives there) too from the plot so we can see everythin...
cache") else: # Otherwise fetch from API response = requests.get, (data, f) print("Fetched from API and cached"), ) print("Loaded from cache") else: # Otherwise fetch from API response

Полный текст и комментарии »

  • Проголосовать: нравится
  • +257
  • Проголосовать: не нравится

21.
Автор vbandurin, история, 3 года назад, По-английски
Polygon Updates (August — September 2023) Hello, Codeforces! I, [user:ChurakovaAlexandra,2023-10-13], and [user:medvezhonokok,2023-10-13] are students of ITMO, and since this August, we started our internship at Codeforces. We are delighted that now we have the opportunity not only to write academic code but to do something that competitive programming enthusiasts from all over the world use. Currently, we are working on minor improvements to Polygon &mdash; a system for preparing problems. Later, as we gain more experience and delve into the technologies, we will also start working on Codeforces. A big thank you to our mentors [user:geranazavr555,2023-10-13] and [user:MikeMirzayanov,2023-10-13], who are always there to help and support. Here's a list of the main improvements to Polygon that we've made (sometimes with significant help from our mentors) over these two months. [cut]<br/> ###### 1. Automatic translation of solutions from one programming language to another. On the 'Solutions' page, a 'Tra...
when adding a valid solution via the API. - An 'Edit' link has been added while viewing the file, ### Polygon API improvements: - problem.commitChanges — commits problem changes, /5166f6d082af2386db9b65a50d1c621ce7037e3b.png) ### Polygon API improvements, You can find the full description of Polygon API [here](https://docs.google.com/document/d

Полный текст и комментарии »

  • Проголосовать: нравится
  • +731
  • Проголосовать: не нравится

22.
Автор awoo, 4 года назад, перевод, По-русски
Codeforces Wrapped 2022 — Поделитесь результатами года! С Новым Годом, Codeforces! Я большой фанат статистики и еще больший &mdash; сайта Codeforces. Решив объединить эти свойства, я создал сервис для того, чтобы дать всем пользователям этого чудесного сайта возможность посмотреть свою годовую статистику. Основными моими целями было сделать такую карточку с данными, чтобы: - она содержала полезную статистику; - она не была перегружена информацией; - ей было легко поделиться. Чтобы этого добиться, я выкинул некоторую статистику, которая оказалось слишком скучной, которая занимала слишком много места <s>или которую было слишком тяжело реализовать в рамках CF API</s>. Надеюсь, вам понравится результат! Сервис довольно интуитивный в использовании. Введите свой хэндл (если меняли, то введите тот, который был в течение года), получите карточку с результатом и поделитесь ей с миром, нажав "open as image". <spoiler summary="Дисклеймер"> Я не профессиональный веб-разработчик, даже не назвал бы себя опытным. С помощью друзей из k...
implement within the limitations of CF API. I find the final choice of data really fun. I hope you like, were hard to implement within the limitations of CF API. I find the final choice of data really fun, занимала слишком много места или которую было слишком тяжело реализовать в рамках CFAPI, реализовать в рамках CF API. Надеюсь, вам понравится результат! Сервис довольно интуитивный в

Полный текст и комментарии »

  • Проголосовать: нравится
  • +559
  • Проголосовать: не нравится

23.
Автор MikeMirzayanov, 8 лет назад, По-русски
Codeforces: Results of 2018 Hi Codeforces! February 2019 is already on the calendar, which means that I was late with the report for 2018. Better late than never! Let's remember last year. In 2018, [user:_kun_,2019-02-05], [user:300iq,2019-02-05] and [user:arsijo,2019-02-05] joined the team of coordinators. The work of the coordinators is headed (and is the coordinator of the coordinators) [user:KAN,2019-02-05]. I really hope that a more measured schedule of preparing rounds by a large team of coordinators will give a better insight into the contests. The main innovations in the platform are implemented by me and the developers [user:kuviman,2019-02-05], [user:fcspartakm,2019-02-05], [user:MaximShipko,2019-02-05]. Great work on the organization of events and prizes mailing was done by [user:gKseni,2019-02-05]. Special thanks to the writers of the problems and testers. It is your content that charges the community with life and unites all of us. Thank you for the problems! And now let's summarize...
тесты 1. Улучшения в API для поддержки тест-групп 1. Возможность добавлять бинарные файлы в, . Improved support of translator role 1. Support points for tests 1. API improvements to support test

Полный текст и комментарии »

  • Проголосовать: нравится
  • +871
  • Проголосовать: не нравится

24.
Автор dpaleka, 5 лет назад, По-английски
OpenAI Codex can solve unseen Codeforces problems In this post, we will use the recent OpenAI Codex product based on GPT-3, first introduced in [Evaluating Large Language Models Trained on Code (Chen et al., 2021)](https://arxiv.org/abs/2107.03374) to solve some Codeforces problems. We use the round [contest:1560] because the current version of the Codex model was released before this round. As the model has been trained on the Github data, it is possible that it memorized some solutions for older problems. ### Solving [problem:1560A] from the statement only This is a simple problem, and the statement kind of explains what we should implement. Let's just give the plaintext statement to Codex: <spoiler summary="Prompt"> Problem: Polycarp doesn't like integers that are divisible by 3 or have the last digit 3 in their decimal representation. Polycarp starts to write out the positive (greater than 0) integers which he likes: 1,2,4,5,7,8,10,11,14,16,…. Output the k-th element of this sequence (the elements are numbered...

Полный текст и комментарии »

  • Проголосовать: нравится
  • +269
  • Проголосовать: не нравится

25.
Автор kuviman, история, 11 лет назад, По-русски
Обновления Codeforces (апрель-май 2015) Привет! Работа на Codeforces никогда не стоит на месте, и вот пришло время рассказать вам о последних изменениях, ранее не упоминавшихся. ### Testlib - testlib переехал на [GitHub](https://github.com/mikemirzayanov/testlib), выпущена новая версия 0.9.9 с поддержкой C++11. Добавлены генераторы двудольных графов, корневых и простых деревьев. ### Polygon - Добавлена базовая поддержка групп тестов. Теперь вы можете для каждого теста указать его группу, запускать invocations по группам, добавлены строки с summary по группам на странице просмотра invocation'а. Если для теста указана группа, она появится в дескрипторе задачи (например `<test cmd="gen 1 2" group="testGroup" method="generated"/>`). Эта функциональность может оказаться полезной при подготовке задач для школьных олимпиад. - Добавлена возможность просмотра условий и валидатора задачи/контеста на одной странице. Это значительно упрощает нахождение ошибок в переводах и валидаторе (раньше для этого нужно было открывать их...
additionally are showed using Notification API. - Fixed a bug in API: in `contest.hacks` method `defender, еще сложнее — сообщения дополнительно показываются с использованием NotificationAPI, ; messages additionally are showed using Notification API. - Fixed a bug in API : in `contest.hacks, ; сообщения дополнительно показываются с использованием Notification API. - Исправлен баг вAPI: в методе

Полный текст и комментарии »

  • Проголосовать: нравится
  • +505
  • Проголосовать: не нравится

26.
Автор MikeMirzayanov, 8 лет назад, По-русски
Polygon: расширенные свойства ресурсов (грейдеры) Привет, Codeforces! Сегодня мной было выпущено важное обновление Polygon – частичная поддержка расширенных свойств ресурсов. Основная задача, которая решается этим обновлением – это поддержка разработки задач с грейдерами. В большинстве соревнований участникам необходимо предоставить полный код решения, включая чтение и вывод данных. Например, в раундах Codeforces вы решаете именно такие задач. Однако в ряде соревнований принят другой подход, где участнику просто необходимо реализовать нужную функцию или интерфейс. Например, в условии задачи может быть написано, что в решении на С++ надо реализовать функцию, которая имеет вот такой прототип `int sum(int a, int b)` и отослать реализацию. В таком случае, участнику достаточно отправить исходный код, который содержит реализацию этой функции. Затем при тестировании решения по такой задаче система должна скомпилировать и слинковать в единый исполняемый файл присланный участником файл и специальный подготовленный жюри файл, которы...
file problem.xml. Also, API is updated (see the documentation for the methods `problem.files` and, problem.xml, а также реализована поддержка нововведения в API (смотрите документацию по методам

Полный текст и комментарии »

  • Проголосовать: нравится
  • +508
  • Проголосовать: не нравится

27.
Автор Chilli, история, 8 лет назад, По-английски
C++ STL: Order of magnitude faster hash tables with Policy Based Data Structures TL;DR ----- The Policy Hash Table has 3-6x faster insertion/deletion and 4-10x increase for writes/reads. As far as I can tell, there are no downsides. The policy hash table (specifically the open-addressing version), beats out unordered_map in all my benchmarks. PS: Make sure you read the section a better hash function and use it &mdash; I'd recommend this one: https://github.com/kth-competitive-programming/kactl/blob/master/content/data-structures/HashMap.h Background ------ I've often been irritated by how slow unordered_map is in C++. Too often, I have something that runs fast enough in terms of complexity, but the constant factor from unordered_map slows down the solution too much. Yesterday though, after using the useful order statistics tree from https://codeforces.me/blog/entry/11080, I was curious if there were any other useful data structures hiding in the Policy STL. And lo and behold, I found a hash table. Benchmarks ------------------ Well, enough backsto...
, int> table; ~~~~~ From there, the API seems almost exactly the same.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +328
  • Проголосовать: не нравится

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

Полный текст и комментарии »

  • Проголосовать: нравится
  • +295
  • Проголосовать: не нравится

29.
Автор chenmark, история, 10 лет назад, По-английски
Rating the Difficulty of Codeforces Problems **Update:** Due to popular request, we created a script for you to generate your own rating profile. For detailed instructions, refer to our [ui page on github](https://github.com/yjiao/codeforces-api/tree/master/ui). We plan to rewrite our code in Javascript to expand functionality, but hopefully this is helpful in the meantime. Please let us know if you have any suggestions! This project was written jointly with [user:yj12,2016-07-28]. Several heuristics exist for finding suitable practice problems on Codeforces. One common piece of advice is to sort all problems by the number of solvers and to work down the list. However, the number of solvers depends on a number of factors, including the recency of the contest, and the date and time the contest was held. Another heuristic is to try to solve problems at a certain level, for instance, all Div. 1 C problems. However, the difficulty of such problems can vary greatly from contest to contest. We decided to create a better measur...
-api/tree/master/ui). We plan to rewrite our code in Javascript to expand functionality, but hopefully, We’ve provided a [list of problem ratings](https://github.com/yjiao/codeforces- api/blob/master

Полный текст и комментарии »

  • Проголосовать: нравится
  • +429
  • Проголосовать: не нравится

30.
Автор Aaeria, 4 года назад, По-английски
The biggest rating change So the other day I saw this funny video: ![cat](https://i.reddituploads.com/4a0ac15ee3b640388ee06d54cd96ffb4?fit=max&h=1536&w=1536&s=bc888df6bac0416a74421aa353bb146b) Anyways, that made me wonder, what is the highest drop in rating on codeforce? And after checking thousands of contest results, here's what I found: change| contest | user -|-|- |-302|1081|wxh010910 |-303|1696|popaj |-306|1552|cscse |-307|1033|vintage_Vlad_Makeev |-309|1553|PrincessConsuela |-310|1615|pmt2018 |-312|1654|Allvik06 |-313|1654|csyakuoi |-314|1450|Mediocrity |-316|1523|yuzhechuan |-317|UtopianZ |1779 |-317|cfabcdhhhh |1770 |-319|1552|C137 |-319|1055|Arterm |-322|1523|Roundgod |-323|1696|rainboy |-325|1608|realFZzzz |-327|1656|300iq |-333|1704|dfgzm |-334|1608|WeakestTopology |-336|768|yosupo |-351|1615|delta_X |-352|1621|AriaH |-356|1585|Wailydest |-373|1097|izban |-382|1774|Tlatoani |-389|1148|kiwikiwi |-417|1696|AutumnKite </table> As you can see, the biggest d...
of these might be unfair because of the boost you get in your first contests, however with theapi, you get in your first contests, however with the api there is no easy way to tell.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +611
  • Проголосовать: не нравится

31.
Автор Temirulan, история, 2 месяца назад, По-английски
DeepInfra Intro <img alt="DeepInfra" src="/predownloaded/80/6a/806a52f0517e36b6ecaa4f88c4b5343630932ca5.jpg" style="float:right; height:145px; margin:6px; max-width:40%;" /> **Hello Codeforces!** We’re excited to welcome you to the upcoming <a href="https://codeforces.me/contest/2271">DeepInfra Round 1</a> &#x1F680; At <a href="https://deepinfra.com/"><b>DeepInfra</b></a>, we’re building high-performance AI infrastructure that makes running the world’s best AI models fast, reliable, and accessible. We operate across the entire inference stack — from GPUs all the way to the API — and we care deeply about performance, efficiency, and solving hard engineering problems. <img src="/predownloaded/61/0d/610dcb234b4c8e315f7b431d6498002f842fcefe.jpg" alt="Image" style="max-width:100%; height:auto;"> Our team had great experience with being part of Codeforces and competitive programming community &mdash; [user:PERNEKHAN,2026-09-30], [user:yessenzhar,2026-09-30], [user:Zharaskh...
across the entire inference stack — from GPUs all the way to the API — and we care deeply about

Полный текст и комментарии »

  • Проголосовать: нравится
  • +320
  • Проголосовать: не нравится

32.
Автор maomao90, история, 5 месяцев назад, По-английски
Why is std::deque, std::stack, and std::queue slow and memory inefficient? ## Sidetrack It has been two years since I wrote an educational blog. I've been inactive in the CP community recently as I've shifted my focus to internships. Recently, I observed some interesting behaviour with `std::queue` while profiling an application during my internship, which led me to writing this blog. Most of the images below are taken from the C++ standard https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/n4950.pdf ## Queues and stacks Queues and stacks do not actually provide any new implementations... They are just wrappers around a container (which is `std::deque`) by default. ![C++ standard std::queue 1](https://codeforces.me/predownloaded/3d/63/3d63990fec1b19722e82b6e01b85679b548b831f.png) ![C++ standard std::queue 2](https://codeforces.me/predownloaded/f4/b3/f4b315a2b12be6525865df61b31aa71bc1b8bbd6.png) ![C++ standard std::stack 1](https://codeforces.me/predownloaded/c0/64/c06407b9c38d964cf8444bb75ed33853e9ffd20b.png) ![C++ standard st...
://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-api-4.6/a00861_source.html

Полный текст и комментарии »

  • Проголосовать: нравится
  • +110
  • Проголосовать: не нравится

33.
Автор Christine-, история, 15 месяцев назад, По-английски
Cheating statistics <p style="text-align: right;"><em> "Lies, damned lies, and statistics."<br> </em></p> Big shoutout to [user:macaquedev,2025-08-26] and all the people working on [the cheater database](https://cf-cheater-database.vercel.app/). Their project has already identified 2,100+ verified cheaters. In my experience, they don't assign a cheater mark easily; some of my reports (which, to me, were clear cases of cheating) were rejected. Here is a small survey on cheating statistics on Codeforces. I computed the rating distribution of caught cheaters and looked at some funny demographics. Namely, we try to compare the frequency of cheating per country. ## Data The list of handles of cheaters was taken from the [user:macaquedev,2025-08-26] [GitHub](https://github.com/macaquedev/cf-cheater-highlighter). My small research is based mostly on this list. I used the Codeforces API to gather the rating and the corresponding country of each handle from the list. Next, I used the Codeforces AP...
the Codeforces API to gather the rating and the corresponding country of each handle from the list., Next, I used the Codeforces API to gather the number of active users (rated a contest in the last 6

Полный текст и комментарии »

  • Проголосовать: нравится
  • +290
  • Проголосовать: не нравится

34.
Автор hocln, история, 15 месяцев назад, По-английски
Welcome to Bingo-CP Hello Codeforces! Are you tired of only doing virtual contests? Want a more fun way to compete with friends, alone or on a team? Try Bingo-CP. ### What is Bingo-CP? Bingo-CP is a free web app that turns Codeforces practice into a quick social game. Problems are placed on an n×n bingo board. Teams of 1–4 players compete at the same time. The first team to complete any row, column, or diagonal wins. Try it: https://bingo-cp.vercel.app/home ### How to play **1.** Click "Create Match" as in the picture. **2.** Choose grid size (3×3 to 6×6), start time, duration, rating range, and mode. **3.** Add team members by Codeforces handle (1–4 each). **4.** Start the match. All teams solve at once. The first accepted submission claims the square for the team. **5.** First team to complete a row, column, or diagonal wins. Solves are detected automatically from Codeforces submissions, so no one needs to claim squares manually. ### Match options Start time and du...
API issues. I’m working on a fix. ![Match creation](/predownloaded/e8/36, I answered common questions (problem selection, Replace mode, scoring, API limits, and more) on the, Planned, but currently disabled because of API issues. I’m working on a fix.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +259
  • Проголосовать: не нравится

35.
Автор galen_colin, 6 лет назад, По-английски
[Website] Contest Replay I've found that an interesting way to <s>waste</s> pass time is by watching the standings as rounds happen. As far as I know, there are mainly three ways to do this: - Watch a contest as it happens - Watch a contest as system tests run - Virtually participate, and watch standings that way Obviously, the first two are time-dependent and won't work for past contests. The third option is more viable, but it both introduces meaningless data into the CF system and also forces you to watch with ICPC rules, which is inaccurate and doesn't work for other scoring systems. There's also no way to rewind, you have to watch in real-time, etc. It should be easier than that. And now it is! I introduce you to [Contest Replay](https://contest-replay--colingalen.repl.co/) &mdash; a simple website that will let you "watch" a contest's standings at any point in time. You can also target a user and watch their ranking instead of the overall leaderboard, as well as customize a ton of things to yo...
they've changed, the API thinks I'm requesting an invalid handle and returns a 400 error. Not really, **UPD #1:** major changes — API key support and friends standings. Also, a changelog so I, - API key support — this means "friends standings", viewing private groups/contests, and more

Полный текст и комментарии »

  • Проголосовать: нравится
  • +243
  • Проголосовать: не нравится

36.
Автор nifeshe, 2 года назад, По-английски
How to find alts Yesterday some guy posted a blog about accidentally submitting a solution to a problem in the most recent round meaning to do it after the contest ends. He entered a competition, lost 233 rating and then requested to make the contest unrated to him. As it is already clear to probably everyone, he participated from an alt and meant to submit from it, but for some reason logged in from his main. <spoiler summary="Screenshot"> ![ ](https://i.imgur.com/4kLqB3o.png) </spoiler> I quickly found his alt and made a comment. Shortly after that he deleted the blog. ![ ](https://i.imgur.com/n5P4avz.png) Here is a guide on how to find alts! ### Look at the submissions This method works very frequently. What do people oftenly do after participating in a contest from an alt? They resubmit all the problems from their main. This is how it looks like in the example above: ![ ](https://i.imgur.com/Vnvu4aD.png) 5 problems were submitted in 1 minute. It means that the guy was either ...
# Function to fetch all users from Codeforces API def fetch_users(): url = "https

Полный текст и комментарии »

  • Проголосовать: нравится
  • +107
  • Проголосовать: не нравится

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

Полный текст и комментарии »

  • Проголосовать: нравится
  • +364
  • Проголосовать: не нравится

38.
Автор plagues, 3 месяца назад, По-английски
The most outrageous cheating in the history of Huawei Challenge ![ ](/predownloaded/e4/f0/e4f0838fd7d6c43c6a92c2655748800519c78bd3.jpg) I am writing this because I believe that prohibited collaboration occurred during this Challenge and affected the prize positions. To state my personal conclusion plainly: I believe this is cheating, not merely a collection of innocent coincidences. The final positions relevant to the accounts discussed in this post were: | Rank | Handle | Final score | Result of my public-data review | |---:|---|---:|---| | 2 | [user:IceKylin,2026-08-28] | 16808.628 | Historical team with [user:candy0014,2026-08-28] named “IceKylin 0339 team”; all-time runtime/score leads with [user:candy0014,2026-08-28] and [user:Retired_Zhisheng,2026-08-28] | | 3 | [user:mahiro_zcy,2026-08-28] | 16757.390 | Repeated all-time runtime/score correlation with [user:mojo__hugo,2026-08-28]; repeated timing correlation with [user:Zinc-acetate,2026-08-28]; weak close event with [user:Mango2011,2026-08-28] | | 4 | [user:Zinc-acetate,2026-08-...
not exposed by the public Codeforces API, and I have not independently verified the UI timezone. The, API omitted both fields by August 28. [user:Retired_Zhisheng,2026-08-28], by contrast, still had the

Полный текст и комментарии »

  • Проголосовать: нравится
  • +205
  • Проголосовать: не нравится

39.
Автор wyhong3103, история, 3 года назад, По-английски
What If I Never Brick? — A web application that predicts your optimal Codeforces rating Hello Codeforces, I wanted to share with you a web application I recently developed. The application filters out unsuccessful contests you have participated in on Codeforces and predicts your rating today based on the performance of the contests you have participated in. The primary purpose of this web application is to help users discover their true potential, serving as a source of inspiration and motivation to empower them to persevere in their endeavors. Initially, my idea was to greedily select contests that have a positive delta based on the current rating, using the rating formula mentioned in this [blog post](https://codeforces.me/blog/entry/20762). However, due to slow API calls, I was almost ready to give up on the project. Nevertheless, I decided to proceed for the sake of completeness. To my surprise, when I completed the application, I found the results to be quite interesting. Additionally, I added a mode that computes the rating using a simple O(1) formula: $ delt...
[blog post](https://codeforces.me/blog/entry/20762). However, due to slow API calls, I was almost ready, mentioned in this [blog post](https://codeforces.me/blog/entry/20762). However, due to slowAPI, necessary data, which includes your rating changes in every contest, in a singleAPI call. * The

Полный текст и комментарии »

  • Проголосовать: нравится
  • +404
  • Проголосовать: не нравится

40.
Автор fbrunodr, история, 17 месяцев назад, По-английски
Machine Learning Based Rating Predictor ### TLDR; I built an enterprise grade machine learning model to predict a user rating 6 months in the future. The model has mean absolute error of 65.15 (that is, $ E \left [ \left | \hat{x} - x \right | \right ] = 65.15 $). You can use it here: [https://fbrunodr.com/predict-codeforces-rating](https://fbrunodr.com/predict-codeforces-rating) ### Motivation: Check this thread: [https://codeforces.me/blog/entry/143626?#comment-1282206](https://codeforces.me/blog/entry/143626?#comment-1282206) Before going forward with this post I have to admit a pretty important thing: I did not do what I promised, as I did not build a foundational model on top of codeforces data. Reasons: 1. Takes to much time to train on my personal laptop (or money to rent gpus, which I am not willing to expend for a toy project). 2. I still almost went down the path of finetuning some feature extractor model (such as [this one](https://huggingface.co/Qwen/Qwen3-Embedding-0.6B)), but then I r...
model. I heavily used the codeforces API for that (even getting IP banned a couple times). Anyway, 1. Used [https://codeforces.me/api /user.ratedList?activeOnly=false&includeRetired=false](https

Полный текст и комментарии »

  • Проголосовать: нравится
  • +165
  • Проголосовать: не нравится

41.
Автор -is-this-fft-, история, 2 года назад, По-английски
Things you should know before you discuss cheating Cheating has been discussed a lot lately. I'm writing a blog post about it with actual data (mainly, I want to know if there is an actual increase). However, in the many discussions that have ensued both here and on Discord servers, I noticed several recurring misconceptions. I wrote a section to debunk them and it grew kind of long, long enough to be a post in itself. So while my scripts are running, we can treat this as a kind of teaser. ### Things you should know before you write a comment about cheating Vocabulary: - _To plagiarize_ [means](https://dictionary.cambridge.org/dictionary/english/plagiarize) to use someone else's work while passing it off as yours. It refers to the act itself, **not** to its detection or punishment. "jrandomcoder plagiarized all of his solutions in round 987" is a meaningful statement. "jrandomcoder cheated in round 987 but he still hasn't gotten plagiarized, I request [user:MikeMirzayanov,2024-08-16] to look into this" is not. - _Plague_ is a...
when discussing individuals. - If you call https://codeforces.me/api /contest.status?contestId

Полный текст и комментарии »

  • Проголосовать: нравится
  • +652
  • Проголосовать: не нравится

42.
Автор .o., история, 6 лет назад, По-английски
An automatic script to update test groups in Polygon automatically While preparing problems with subtasks using Polygon, it's super annoying that we cannot set test groups using test scripts. As a workaround, I wrote a simple script. Test group of each test = the last token of the test generation command ```javascript function setPolygonTestGroupAutomatically() { const mapping = {}; $("#testsTable tbody tr code") .each((_, v) => { const vid = v.parentNode.parentNode.id; if(!vid.startsWith('test_')) return; const idx = parseInt(vid.substring('test_'.length)); const tokens = v.innerText.split(" "); // Test generation command const testGroup = tokens[tokens.length - 1]; // Last token of the test generation command if (!mapping[testGroup]) { mapping[testGroup] = []; } mapping[testGroup].push(idx); }); const keyToIndices = Object.entries(mapping); function go (idx) { if (idx == keyToIndices.length) { console.log("Changed everything!"); ...
tests page. UPD: Added 1-second delay between each API call. It seems if we call theAPI multiple, UPD: Added 1-second delay between each API call. It seems if we call the API multiple times

Полный текст и комментарии »

  • Проголосовать: нравится
  • +94
  • Проголосовать: не нравится

43.
Автор Leeking, история, 4 недели назад, По-английски
New API endpoint just dropped <div style="text-align: center;"> <img src="/predownloaded/a0/16/a016754902c9cc770b0222d6d1fe251cbf729fb2.png" alt="Description" style="display: inline-block; max-width: 100%; height: auto;"> </div> ## TL;DR - **LeekCF-Hinter** is a free, open-source (Apache-2.0) public API. `GET /v1/problems/{contestId}/{index}/hints` returns **2 to 5 graded hints** for a Codeforces problem: a small nudge first, the full solution last. No key, no account. **Check it out: https://leekcf-hinter-api.leekcf.workers.dev .** - **Any extension, app, bot or person can use it.** It is a plain public API with open CORS, so a browser extension can call it directly. - **LeekCF-Ratings already uses it today.** Install the extension ([Chrome](https://chromewebstore.google.com/detail/leekcf-rating/fnkoldggbbjmndapidpegfpkkokboklp) or [Firefox](https://addons.mozilla.org/en-US/firefox/addon/leekcf-rating)), open a problem and click **Show Hints**. You can watch the requests yourself in DevTools. - **6,833 ...
New API endpoint just dropped, practice, and **it already uses the API today**. It shows a problem's rating but hides the tags, so, the parser can't read) | | Traffic so far | a few dozen API requests a day, so it is a real beta |, - **LeekCF-Hinter** is a free, open-source (Apache-2.0) public API. `GET /v1/problems/{contestId, - API and docs: https://leekcf-hinter-api.leekcf.workers.dev - Code (Apache-2.0): https, ;"> ## TL;DR - **LeekCF-Hinter** is a free, open-source (Apache-2.0) public API . `GET /v1, This is the point of making it an API: **any extension, website, bot, editor plugin, script, or

Полный текст и комментарии »

  • Проголосовать: нравится
  • +46
  • Проголосовать: не нравится

44.
Автор CaveNightingale, история, 3 года назад, По-английски
Breaking changes in codeforces api? A few days ago the API was just working as the statement at [API help](https://codeforces.me/apiHelp). But now I need to finish CAPTCHA to use Codeforces API? Attaching cookies to the request does not make it work. So does anyone knows how to use it? <spoiler> ~~~~~ ~$ curl https://codeforces.me/api/contest.list <!DOCTYPE html> <html lang="en-US"> <head> <title>Just a moment...</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta name="robots" content="noindex,nofollow"> <meta name="viewport" content="width=device-width,initial-scale=1"> <link href="/cdn-cgi/styles/challenges.css" rel="stylesheet"> </head> <body class="no-js"> <div class="main-wrapper" role="main"> <div class="main-content"> <noscript> <div id="challenge-error-title"> <div class="h2"> <span class="icon-wrapper...

Полный текст и комментарии »

  • Проголосовать: нравится
  • +10
  • Проголосовать: не нравится

45.
Автор Mindeveloped, история, 2 года назад, По-английски
I made (Not Yet Another) problem filter script I made my own script to filter problems in CF problemset. If such script with same function already exists you can ignore my post or downvote it. This is a python 3 script that fetches all problems from CF problemset and allows custom filtering. It supports custom filter criteria in python expression format. After you input the filter function, it filters the problems and choose a random one. More details can be found in spoilers below. <spoiler summary="Filter Expression"> In your filter expression, you are given variables `problem` and `contest`, and it's supposed to returns `1` if the problem matches your search, `0` otherwise. Example: `problem.rating == 2400 and "geometry" not in problem.tags and contest.divison == "Div. 1"` The variable `problem` contains such properties: ``` id - The ID of the problem, in the format e.g. 1234H, 2024A. rating - The CF rating tag. Can be absent. contest - The contest id of this problem. Equals to contest.id. index - The problem...
of these properties are directly copied from the API. Note, Most of these properties are directly copied from the API. , if contests_obj["status"] != "OK" or problems_obj["status"] != "OK": print("CodeforcesAPI, try: contests_raw = request.urlopen("http://codeforces.me/api /contest.list?gym=false

Полный текст и комментарии »

  • Проголосовать: нравится
  • +15
  • Проголосовать: не нравится

46.
Автор cold_chair, история, 18 месяцев назад, По-английски
An Open-Source Retrieval Model and Service for Competitive Programming Problems Over the past few years, the number of *duplicate* or *nearly-duplicate* problems in competitive programming has grown noticeably. You can find several discussions about this on Codeforces, for example: * [https://codeforces.me/blog/entry/113064](https://codeforces.me/blog/entry/113064) * [https://codeforces.me/blog/entry/113251](https://codeforces.me/blog/entry/113251) * [https://codeforces.me/blog/entry/118883](https://codeforces.me/blog/entry/118883) To address the issue, we collected a variety of data — problem–solution pairs, duplicate-problem pairs, and pairs of full vs. simplified problem statements. With these data we built a dedicated **benchmark for problem retrieval** and trained a **special-purpose retrieval model** that currently achieves the best performance among open-source models in this domain. You can try the model-powered search service live at **[https://cpret.online/](https://cpret.online/)**. About two years ago, the project [yuantiji.ac](http...
-retrieve* pipeline based on a closed-source LLM API. In contrast, **our approach is pure retrieval

Полный текст и комментарии »

  • Проголосовать: нравится
  • +268
  • Проголосовать: не нравится

47.
Автор -is-this-fft-, история, 6 лет назад, По-английски
Is there any site for CodeChef virtual contests? Hi! I like doing virtual contests. As it stands, I am quickly running out of contests (especially non-ancient ones) on Codeforces, Atcoder and CSAcademy. So, CodeChef would be the next logical place. However, it seems that there is no option to do that on CodeChef. Since there are always new blogs about tools for competitive programming, I was wondering if someone had already made this or if someone knows of a service like this. Some things I have looked into: - **vjudge** doesn't really fit the bill, it seems that it is intended more as a "create cross-platform mashups" type of thing. My issues: - - You need to manually create the contest unless someone else has already done it. - - Can't look at "the number of people who solved the problem up to this point in time" &mdash; this part is important to me. - - Can't look at "scoreboard at this point in time" &mdash; this part is less important. - **[This project](https://discuss.codechef.com/t/codechef-virtual-contests-ar...
CodeChef API), and I don't have valid credentials to do that. They do actually have an OAuth client, CodeChef API? Do they just give access to anyone who asks? Do they reply to emails if I write?, subsequent requests to the CodeChef API), and I don't have valid credentials to do that. They do actually

Полный текст и комментарии »

  • Проголосовать: нравится
  • +127
  • Проголосовать: не нравится

48.
Автор WasylF, история, 4 года назад, По-английски
CF-Predictor news Hello all! I have some news to share about CF-Predictor (a service that allows you to view rating changes before official results). This extension [was launched](https://codeforces.me/blog/entry/50411) almost 6 years ago. Number of users has grwon from a couple hundreds to nearly 50k! I'm very proud that this service is used by so many people! One of the cool features of mine extension is that it is friendly to codeforces API :) All the request to codeforces are sent from just one backend server. Therefore, users don't overload codeforces with extra API calls. I was using Heroku as a cloud provider to run my servers. Unfortunately, they are closing their free accounts on Nov 28th. So, I decided to take down my servers on heroku. Thus, starting from 2022-11-27 [cf-predictor-frontend.herokuapp.com](https://cf-predictor-frontend.herokuapp.com) and [cf-predictor.herokuapp.com](https://cf-predictor.herokuapp.com) will **not** work. On a bright side, I though that upsetting 50k ...
that it is friendly to codeforces API :) All the request to codeforces are sent from just one, One of the cool features of mine extension is that it is friendly to codeforces API :) All the

Полный текст и комментарии »

  • Проголосовать: нравится
  • +398
  • Проголосовать: не нравится

49.
Автор marat.snowbear, 12 лет назад, По-английски
CF community & CF API I'd like to start a discussion on how CF community is involved or at least notified about the changes happening in CF and in CF API in particular. It seems that there are people more or less constantly working on implementing some new features on CF. And sometimes we can see blog posts from [user:MikeMirzayanov,2015-05-28] or somebody from CF team highlighting a list of changes which happened during some period, but these posts are very rare, they are published like once or twice per year, while it seems that we have something changed almost every month. CF has very strong community, some people from the community do something on their own built on top of CF web site or CF API ([submit solution from command line](http://codeforces.me/blog/entry/14786), [VIM plugin](http://codeforces.me/blog/entry/16635), my CF achievements project). For all of us it is critical to be aware of changes happening on CF. For example this submission script stopped working after CSRF security fix. Ano...
CF community & CF API, changes happening in CF and in CF API in particular., on CF, it makes it harder to do something on top of CF if you are not even aware whenAPI is, own built on top of CF web site or CF API ([submit solution from command line](http://codeforces.com, the development of CF API. Obviously CF API is implemented for the community so we should have a way, 2. [Ivan's introduction of CF API blog post](http://codeforces.me/blog/entry/12520)? But it's

Полный текст и комментарии »

  • Проголосовать: нравится
  • +47
  • Проголосовать: не нравится

50.
Автор lnishan, 11 лет назад, По-английски
An awesome list for competitive programming! This is a project I started from late January 2016. My motive is that: Although there's fantastic information out there, I think they're still spread all over the place. Therefore, in my opinion it would probably be cool if there's an [awesome list](https://github.com/sindresorhus/awesome) for competitive programming! ( *It's now featured on the main list!* ) I'm actively updating the list here: [https://github.com/lnishan/awesome-competitive-programming](https://github.com/lnishan/awesome-competitive-programming) # Awesome Competitive Programming [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) A curated list of awesome `Competitive Programming`, `Algorithm` and `Data Structure` resources. Created with a view to connecting people to information, this list below contains a complete collection of all the fantastic resources I've collected over the course of my 11...
](https://clist.by/) | API available for use | | ★★☆ | [Coding Calendar (Android App)](https

Полный текст и комментарии »

  • Проголосовать: нравится
  • +438
  • Проголосовать: не нравится

51.
Автор purplesyringa, история, 6 лет назад, По-русски
Let's face it, Polygon is horrible ![image](https://i.ibb.co/rs7PwmM/7Cu9Z.jpg) Polygon is not world's greatest evil. Polygon doesn't even have a particular defect that makes it horrible. You can't say what's exactly wrong with Polygon. Polygon seems to work, it seems like every feature is supported, but if you touch it here it will fall apart, and if you touch it there a problem (pun not intended) will appear. Or not, depending on your luck. Polygon is like PHP. For those who haven't read the famous rant, I'll cite it for you: > I can't even say what's wrong with PHP, because-- okay. Imagine you have uh, a toolbox. A set of tools. Looks okay, standard stuff in there. > > You pull out a screwdriver, and you see it's one of those weird tri-headed things. Okay, well, that's not very useful to you, but you guess it comes in handy sometimes. > > You pull out the hammer, but to your dismay, it has the claw part on both sides. Still serviceable though, I mean, you can hit nails with the middle of the head holding it...
Codeforces integration, problems with automation and API, and much more, but that's a whole 'nother

Полный текст и комментарии »

  • Проголосовать: нравится
  • +180
  • Проголосовать: не нравится

52.
Автор oversolver, 4 года назад, По-английски
Outstanding members of my cp library I like to build my [cp library](https://github.com/demidenko/olymp-cpp-lib). I am not aiming to fill it by each algo I have met, so content looks poor. Instead I am focusing on frequently used features or implement convenient api for powerful methods. Also I like to rate cp libraries of others and currently I noticed that my lib have enough implementations which I never seen before, so I want to share it with community. Hope it will inspire you to improve or rewrite your library and eventually rethink about some algorithms (which happens to me couple times). ## #5 Centroid decomposition [graphs/trees/centriod_decomposition.cpp](https://github.com/demidenko/olymp-cpp-lib/blob/master/graphs/trees/centriod_decomposition.cpp) This one is the perfect example of what I am calling convenient api. I've seen a lot of centroid decomposition snippets and almost all of them is template code or unfinished data structure with piece of code where you need to add your solution. I have s...
features or implement convenient api for powerful methods., Implicit splay tree with iterators (stl style). It has api close to `std::vector` and not, It rarely used but api is really sweet. Here I need to describe scope where I set predicate, This one is the perfect example of what I am calling convenient api. I've seen a lot of centroid

Полный текст и комментарии »

  • Проголосовать: нравится
  • +116
  • Проголосовать: не нравится

53.
Автор gojira, 16 месяцев назад, По-английски
How I vibe coded a programming contests platform Hello old friends! I recently decided to run an experiment: **could I build an entire programming challenges platform using nothing but an AI assistant**? This post covers how that went, what I ended up with, and a few “you can’t make this up” moments along the way. You can check it out [here](https://coding-platform-ochre.vercel.app/) (and solve problems in the ongoing contest) &mdash; feedback is welcome. ## Final architecture * Next.js frontend + backend on Vercel * Supabase Postgres for Users, Contests, Problems (including input/output files), and Submissions * Private GitHub repo for problem development, plus a script to upsert them into the DB * Redis cluster on Redis-Cloud for leaderboards and caching ![ ](/predownloaded/56/31/56318b76c1bd6c9e2566f3485fa603940541baad.png) ## Development anecdotes #### Day 1: instant success → instant disaster July 28. I open Cursor IDE, set it to claude-4-sonnet, and say: “Make me a programming contest site with multiple ...
* No persistent connections — every Redis call is a REST API call with extra latency. * One, * Vercel allows 1M "function invocations" per month on the free tier. Any API call / SSR page load

Полный текст и комментарии »

  • Проголосовать: нравится
  • +96
  • Проголосовать: не нравится

54.
Автор kuviman, 7 лет назад, По-русски
AI Cup 2019 Всем привет! Mail.Ru Group объявляет о начале ежегодного международного чемпионата по программированию искусственного интеллекта — [AI Cup 2019](https://russianaicup.ru/). ![ ](https://hsto.org/webt/tw/r9/w5/twr9w5yd649q0nvqdja9fxnftbw.jpeg) AI Cup — открытое соревнование по программированию искусственного интеллекта игровых стратегий. Попробуйте свои силы в программировании игровой стратегии! Это просто, наглядно и весело! Тема этого чемпионата — платформер. Ждем вас на [сайте чемпионата](https://russianaicup.ru/)! Сайт уже открыт, вы можете приступать к программированию стратегии. Чемпионат восьмого AI Cup называется CodeSide. Участникам предлагается, используя предоставленный API, написать искусственный интеллект для управления персонажем. Написать свою стратегию совсем просто: достаточно базовых знаний программирования. Ваши стратегии будут сражаться между собой в Песочнице и чемпионате. На данный момент доступны следующие языки программирования: Java, C++, Go, Rust,...
API, написать искусственный интеллект для управления персонажем. Написать свою стратегию совсем

Полный текст и комментарии »

  • Проголосовать: нравится
  • +243
  • Проголосовать: не нравится

55.
Автор WasylF, история, 10 лет назад, перевод, По-русски
CF-Predictor — Знай свой рейтинг! <spoiler summary="UPD 02.09.2018"> Сегодня выпустил небольшое обновление в связи с увеличившим количеством пользователей, если вдруг заметите проблемы в работе, пишите, пожалуйста, сюда в комментарии или мне в личку, или в телеграм. </spoiler> Всем привет! Я на прошлом контесте предлагал всем желающий потестировать мой сервис предсказания изменений рейтинга. Сейчас я рад представить его! ![ ](https://github.com/WslF/CF-rating-prediction/blob/master/Files/icon1024.png?raw=true) Огромное количество Ваших нервных клеток погибает, так и не дождавшись обновления рейтинга. Хватит это терпеть! Теперь Вы можете использовать данный сервис для приблизительно вычисления изменения рейтинга. Наиболее интересная составляющая &mdash; расширение для хрома. Оно изменять страницу положения, добавляя предсказываемые дельты. Расширения доступны для 3х браузеров: [![ ](http://codeforces.me/predownloaded/da/65/da6525a67ce20846473316c363d3aeec418a90a2.png)](https://chrome.google.com/webstor...
the great Codeforces platforms with shared API & ratings formulas., отличную платформу Codeforces с публичным API и формулами подсчета рейтинга!

Полный текст и комментарии »

  • Проголосовать: нравится
  • +187
  • Проголосовать: не нравится

56.
Автор EbTech, история, 7 лет назад, По-английски
Generalizing Segment Trees with Rust This blog post outlines the design of a very general data structure for associative range queries, in the Rust programming language. In the "real world", self-balancing binary search trees can be augmented to handle a variety of range queries. However, for contest problems, statically allocated variants are much easier to code and usually suffice. The contest community has come to know these data structures as _segment trees_. Here, I will generalize most of the segment trees that you can find in the wild into one polymorphic data structure, that can easily be copy-pasted during online competitions. I will call it an _ARQ tree_. ARQ is pronounced "arc", which has a similar meaning to "segment", but also stands for "Associative Range Query". It supports highly customizable range queries, the main requirement being that the aggregation operation must be _associative_. ### Associativity and Semigroups We begin with an array $a_0, a_1, a_2, \ldots, a_{n-1}$. Each $a_i$ belongs to...
application. Personally, I found it easier to work with the `Monoid` `trait`. Our firstAPI will not, corresponding to the current node. This does not require an extension of the API: the monoid type $S$ can, implement your own version of `query()` and/or `update()`. Nonetheless, the `push()`/`pull()`API, ### ARQ API v1: Point Updates, ### ARQ API v2: Range Updates, ### Shortcomings of the v1 API, Our simple v1 API can't support efficient range updates! In order to update an entire range, To keep this blog post focused on the abstraction and general API, I left the implementation, To see how to specialize this API, let's use it to solve the following classical problem:

Полный текст и комментарии »

  • Проголосовать: нравится
  • +112
  • Проголосовать: не нравится

57.
Автор Leeking, история, 3 месяца назад, По-английски
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...
**2. Native API Endpoint (contest.editorial)** Browser extensions, IDE plugins (like Competitive, **Proposal: Standardized Editorial URLs (`/contest/xxxx/editorial`) & API Endpoint Support, **The Proposal** Introduce a standardized URL alias and API endpoint for contest tutorials., ``` // Request: https://codeforces.me/api/contest.editorial?contestId=1900 { "status": "OK

Полный текст и комментарии »

  • Проголосовать: нравится
  • +127
  • Проголосовать: не нравится

58.
Автор huikang, история, 5 лет назад, По-английски
Python too slow? Translate to C++ with OpenAI API I used OpenAI API to translate Python code written by [user:Kiri8128,2022-03-31] in the recent [combined division contest](https://codeforces.me/contest/1656/status?user=Kiri8128). These are the results. - Problem A: [Source](https://codeforces.me/contest/1656/submission/150725872), [AC](https://codeforces.me/contest/1656/submission/151465415) - Problem B: [Source](https://codeforces.me/contest/1656/submission/150731673), [CE](https://codeforces.me/contest/1656/submission/151467386) [AC](https://codeforces.me/contest/1656/submission/151467448) - Problem C: [Source](https://codeforces.me/contest/1656/submission/150739556), [WA](https://codeforces.me/contest/1656/submission/151467537) [WA](https://codeforces.me/contest/1656/submission/151467625) [WA](https://codeforces.me/contest/1656/submission/151467689) [RE](https://codeforces.me/contest/1656/submission/151467755) [CE](https://codeforces.me/contest/1656/submission/151467796) - Problem D: [Source](https://codeforces.c...
Python too slow? Translate to C++ with OpenAI API, I used OpenAI API to translate Python code written by [user:Kiri8128,2022-03-31] in the recent

Полный текст и комментарии »

  • Проголосовать: нравится
  • +45
  • Проголосовать: не нравится

59.
Автор steven.novaryo, история, 6 лет назад, По-английски
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]...
Editorial is available [here](https://uriel.tlx.toki.id/api /v2/contests/JIDCONTPzEbQLcab62JSKcQqIn5

Полный текст и комментарии »

  • Проголосовать: нравится
  • +183
  • Проголосовать: не нравится

60.
Автор kostka, 11 лет назад, По-английски
Hack me! — Codeforces Round #346 (Div. 2) Welcome back to _Hack me!_ blog! You asked for it, and you have it. After over one year I am back with short description of the best hackers and the most common hacks in Codeforces Round. The formula is quite new and _poorer_ than before, I should say. I left only the most important messages. If you are not familliar with the series, you may check [my first post about it](http://codeforces.me/blog/entry/13469) or [all posts](http://codeforces.me/search?query=hackme). [cut] ### [contest:659] #### All hacks ![ ](http://codeforces.me/predownloaded/31/d9/31d9c6e9a7f55e89eff5e958aba9dcf0dc15c51e.png) | problem / verdict | HACK_SUCCESSFUL | HACK_UNSUCCESSFUL | OTHER | |-----------------------|-----------------|-------------------|-------| | A. Round House | 662.0 | 324.0 | 23.0 | | B. Qualifying Contest | 315.0 | 137.0 | 64.0 | | C. Tanya and Toys | 29.0 | 25.0 | 29.0 | | D. Bic...
thanks to Codeforces Team for wonderful API!

Полный текст и комментарии »

  • Проголосовать: нравится
  • +124
  • Проголосовать: не нравится

61.
Автор riadwaw, 7 лет назад, По-английски
Using your own library on codeforces in 0 clicks In my opinion it's not interesting part of the contest to write algorithms you have already written dozens of times. I kind of see why people who prepare to IOI/ICPC would do that, but not other participants. So I created yet another tool that allows to use your own library locally and submit to CodeForces. Idea is that you write in one file, then submit another file and you don't need to do any other action to actually generate file to submit (once everything is configured) ##Demo <iframe width="560" height="315" src="https://www.youtube.com/embed/iUMgmGK8-xc" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> The tool consists of two independent parts [inline_includes](https://github.com/AlexeyDmitriev/inline_includes): this is a simple python script that inlines all the includes you used from whitelist of directories (so that standard headers such as <vector> are not inlined). It's far from suppo...
Windows: I don't know much about windows but in principle it should work via fuseapi of [WinFSP

Полный текст и комментарии »

  • Проголосовать: нравится
  • +113
  • Проголосовать: не нравится

62.
Автор feecIe6418, история, 20 месяцев назад, По-английски
InfOJ April Fools Day Contest 2025 (On April 5th) Hello Codeforces! I am glad to invite you to [InfOJ April Fools Day Contest 2025](http://119.27.163.117/contest/28) (IAFDC for short) which will start on [April 5th 2025, 19:00 UTC+8](https://www.timeanddate.com/worldclock/fixedtime.html?day=5&month=4&year=2025&hour=19&min=00&sec=0&p1=33). The problem setters are me and [user:gyh20,2025-03-22]. This is not a joke: the contest will really be held! The contest will last for 2.5 hours with 10 tasks for you to solve. All problems are worth 100 points, and the contest will be in IOI mode with standings. You can see the past problems [here](http://119.27.163.117/contests). ## Why is April Fool's Contest not on April Fools Day? From the year 2023, the contest has always been held on April 5th, to match the Tomb Sweeping Day's break in Chinese schools. ## Language of Problem Statements We will provide English statements for all problems. However, in the past several years, only Chinese statements are available. If you wan...
API-s**. For example, there might (or might not) be a problem that, you can write the following code:

Полный текст и комментарии »

  • Проголосовать: нравится
  • +53
  • Проголосовать: не нравится

63.
Автор ekzhang, история, 7 лет назад, По-английски
Online Workspace for Codeforces Problems Hello all, Like you, I enjoy solving Codeforces problems on the go. However, sometimes I am not working on my computer with all my environment and setup. There are many automated problem parsers and test runners to help make solving Codeforces problems painless, but they all require a complicated installation process. About a year ago, I was introduced to [CS Academy](https://csacademy.com/), which I thought had an amazing interface for solving problems. It shows the problems and your code side-by-side, and you can automatically run your program on the example test cases. Also, there is auto-saving in case you accidentally close your window. Why can't we have this for Codeforces? I couldn't find anything on the web that was easy to set up and fun to use, so I made my own online workspace at [wkspace.herokuapp.com](http://wkspace.herokuapp.com/). ![Screenshot of wkspace](https://i.imgur.com/2wT2u6x.png) Here are some features: - No sign-up or installation required - P...
Thanks to Herman Došilović for making the [Judge0 API](https://judge0.com/), which is used in this

Полный текст и комментарии »

  • Проголосовать: нравится
  • +419
  • Проголосовать: не нравится

64.
Автор fcspartakm, 10 лет назад, По-русски
Polygon: обновления (январь — апрель 2017) Всем привет! Пришла пора рассказать о нововведениях в [Polygon](https://polygon.codeforces.com/) &mdash; системе для подготовки задач по программированию. Именно в ней подготавливаются все задачи к раундам Codeforces и многим другим олимпиадам. Системой Polygon могут пользоваться все желающие в любой момент времени. #### Общее На странице со списком используемых в задаче файлов, а также на страницах чекера, интерактора и валидатора теперь отображаются специальные поля с соответствующими примерами. Это поможет новым пользователям быстрее разобраться в системе. ![ ](http://codeforces.me/predownloaded/98/10/9810d9c6ccbbab2e6a2f7ba59145647f77985dbe.png) [cut] <br/> Было добавлено несколько новых уведомлений на почту при изменениях в задачах и контестах. Теперь письма отправляются при добавлении, изменении и удалении прав на задачу/контест. Также во всех письмах теперь содержится прямая ссылка на измененный контест/задачу. Кроме этого добавлена возможность добавления спе...
Multiple improvements implemented in API Polygon. Now it is even more convenient to use the console, Реализованы множественные улучшения API Polygon. Теперь пользоваться консольным клиентом стало еще

Полный текст и комментарии »

  • Проголосовать: нравится
  • +209
  • Проголосовать: не нравится

65.
Автор mahmoudbadawy, история, 5 лет назад, По-английски
IOI scoreboard for codeforces Problem ----- Have you wanted to host an OI style contest on codefroces but faced the problem of different scoring methods between IOI and codeforces? codeforces takes the maximum score over all submissions while IOI takes the maximum score over all subtasks then sums the score of the subtasks. Another difficulty was when the subtask has test cases with partial scoring. IOI takes the minimum achieved score while codeforces sums the scores of all cases in the subtask. codeforces scoreboard ----- I created an app that uses the API of codeforces to get the submissions then gets the results of each submission then recreates the scoreboard It also supports showing names for domain group users. Prerequisites ----- 1. You need an account with manager access to the required contests 2. You need to have an API token and secret generated using this account. Refere to this link to know how: [here](https://codeforces.me/apiHelp) 3. The problems must be configured with groups and...
need to have an API token and secret generated using this account. Refere to this link to know how, scoreboard ----- I created an app that uses the API of codeforces to get the submissions then gets the, codeforces scoreboard ----- I created an app that uses the API of codeforces to get the

Полный текст и комментарии »

  • Проголосовать: нравится
  • +148
  • Проголосовать: не нравится

66.
Автор Sehnsucht, 11 лет назад, По-русски
Статистика по языкам программирования в Codeforces Я создал статистику языков, используемых в решениях на Codeforces. Статистика есть за годы с 2010 по 2015, и по языкам программирования в процентах. #### Codeforces API Для парсинга использовал Java и библиотеку org.json для удобного хранения файла формата JSON. Считывается весь текст с запроса [contest.status](http://codeforces.me/api/help/methods#contest.status), потом оттуда каждый [Submission](http://codeforces.me/api/help/objects#Submission) обрабатывается отдельно #### Что именно учитывается Учитывались посылки **ТОЛЬКО** с соревнования (participantType = CONTESTANT и OUT_OF_COMPETITION), и **ТОЛЬКО** те, которые полностью прошли все тесты (verdict = OK). Участники могли бы сознательно использовать непопулярные языки программирования в дорешивании, или сделать десять неудачных посылок, а это не отражает реальное использование языка в контестах. #### Объединение языков Последний контест на время написания блога &mdash; [contest:580], является самым массовым за весь 2...
#### Codeforces API For parsing I used Java and library org.json for convenient storage of JSON, #### Codeforces API Для парсинга использовал Java и библиотеку org.json для удобного хранения

Полный текст и комментарии »

  • Проголосовать: нравится
  • +184
  • Проголосовать: не нравится

67.
Автор ilyakor, история, 9 лет назад, По-английски
Codeforces contest results and Data Analysis Introduction ============ In the recent [user:tourist,2017-08-01]'s [blogpost](http://codeforces.me/blog/entry/53457) about a new strategy for some types of contests, there was [an interesting comment](http://codeforces.me/blog/entry/53457?#comment-375339) from [user:ftiasch,2017-08-01]. Apparently, some participants try to artificially boost their rating with the following strategy: solve problem C, if it goes fast and nice &mdash; submit and continue with the contest, otherwise don't submit anything. The assumption is, other problems in the contest are created by the same author, so if one performs good on problem C, they are more likely to perform good on other problems. In the comment thread, some people expressed doubts about this strategy. Reading their comments, I wondered: is there any point in discussing this with groundless arguments, when there is large volume of historical data of contest results, and we can just analyse them to understand if the strategy really wo...
really works. Luckily, Codeforces even provides [API](http://codeforces.me/api /help), so there is

Полный текст и комментарии »

  • Проголосовать: нравится
  • +153
  • Проголосовать: не нравится

68.
Автор baizhorz, 2 года назад, перевод, По-русски
Olympath AI: Легко создавайте собственные задачи для Codeforces Polygon Привет всем! Летом я создавал веб-сайт, который, как я думал, будет полезен для Codeforces, используя горячую тему LLMs и AI. Он использует мой любимый сайт для создания задач Codeforces Polygon! Я постарался упростить создание простых задач. Спасибо за удивительный сайт Codeforces Polygon! Лучший способ создания кастомных задач. Возможно, здесь есть ошибки, но я хотел поделиться, чтобы получить отзывы. **Захватывающее обновление!** С радостью сообщаю, что у нас теперь около 200 пользователей на нашей платформе! Мы исправили множество ошибок (хотя некоторые были обходными путями, которые работают медленнее) и добавили поддержку большинства языков, доступных в Codeforces Polygon (китайский, испанский, японский, хинди и многие другие). Уже более 300 пользователь! Это будет последнее обновление на некоторое время, но я всегда открыт и очень рад вашим отзывам! Моя следующая цель — достичь 500 пользователей , так что, пожалуйста, делитесь сайтом с друзьями! Спасибо за вашу посто...
patience, the API that I use was deployed on Railway (it takes time for it to load). The site should, чтобы он загрузилась: API, который я использую, развернут на Railway (это занимает некоторое время, API Key и Secret!, You will need a codeforces polygon account! Going to the settings page to get yourAPI Key and

Полный текст и комментарии »

  • Проголосовать: нравится
  • +138
  • Проголосовать: не нравится

69.
Автор Laggy, история, 8 лет назад, По-английски
Codeforces.NET: Unofficial API Wrapper [![ ](http://i.epvpimg.com/WiwQdab.jpg)](https://github.com/Ex-o/Codeforces.NET/) Hello Codeforces, hope you're all doing great. So while thinking about doing some projects related to competitive programming I came to the conclusion that I need an api wrapper to smoothen the process out and went and created one. It's unofficial meaning it's not approved by [user:MikeMirzayanov,2018-09-06] yet (approve pls?) and I hope it becomes a community project that who ever wants to contribute feels free to do so. ### What can it do? My initial vision was creating something that automates certain processes e.g. hacking, selecting problems based on some data and basically anything that has to do with statistics of contests/problems. For example, this is how I found that the only C problem that has fft as a tag is [problem:662C] ![ ](https://i.gyazo.com/bb5b707134d85750c93be0d4c63642ba.png) <br> Pretty cool, right? <br> Another simple use case is that pulling out similar statistics be...
Codeforces.NET: Unofficial API Wrapper, programming I came to the conclusion that I need an api wrapper to smoothen the process out and went, solution with the api and another called client where you can see examples of how to use it (better, to competitive programming I came to the conclusion that I need an api wrapper to smoothen the

Полный текст и комментарии »

  • Проголосовать: нравится
  • +68
  • Проголосовать: не нравится

70.
Автор kostka, 8 лет назад, По-английски
Team dashboard Hey Codeforces! I made a thing and I want to share it with the community. We wanted to keep track of achievements and submissions in our team and using Codeforces status page is not really handy. Therefore, I introduce to you **Team dashboard**. ![ ](http://weaselcrow.com/pro/cf/team/example.png) Here you can find some kind of a timeline for each member of your team, showing last submissions, contests and even blog posts on Codeforces. Using this script is pretty easy, just specify up to 3 handles in the address, separated by semicolons (please check below). Also please keep in mind that this script was made in 3-4 hours, so there is almost certainly a handful of bugs. Also, the script asks a lot of queries to the Codeforces API, so sometimes not all requests are answered. You should wait a couple of seconds and try again. Visit right now and bookmark your team: http://weaselcrow.com/pro/cf/team/?h=Radewoosh;Errichto;kostka You can also compare yourself with you...
is almost certainly a handful of bugs. Also, the script asks a lot of queries to the CodeforcesAPI

Полный текст и комментарии »

  • Проголосовать: нравится
  • +462
  • Проголосовать: не нравится

71.
Автор etal, история, 11 лет назад, По-английски
Analyzing rating formulas In this post I'll try to expose the results of my research regarding the rating formula. More specifically, I'll show a graph that gives you a match rating according to your performance in a contest and some aspects of how ratings are updated. **This post is quite large, if you are only interested in the results you can easily skim through it :)** [cut] _Disclaimer_: I'll try to support my assumptions and assertions with data but, altough I have done the analysis carefully, I may have done a mistake :) Moreover, take into account that some of my formulas are approximations. Motivation ================== Almost two years ago I started to participate in contests more actively, aiming to be red one day. To increase my motivation I tried to find a formula that evaluated how well I did during a competition. At that time there were no API nor [user:DmitriyH,2015-06-21]'s statistics so I manually looked at a lot of profiles to try to find 'stable' points: users that didn't change...
how well I did during a competition. At that time there were no API nor [user:DmitriyH,2015-06-21]'s, Codeforces API ------------------ To obtain the exact formulas I needed to obtain much more data

Полный текст и комментарии »

  • Проголосовать: нравится
  • +288
  • Проголосовать: не нравится

72.
Автор shivamsinghal1012, 6 лет назад, По-английски
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...
Thanks to [Codeforces API](https://codeforces.me/apiHelp) , [uHunt API](https

Полный текст и комментарии »

  • Проголосовать: нравится
  • +88
  • Проголосовать: не нравится

73.
Автор Vladosiya, история, 3 года назад, По-русски
Небольшой скрипт для ваших анонсов Привет, Codeforces! Довольно часто делал анонсы раундов, так что какое-то время назад сделал скрипт, который выдаёт весь список тестеров по цветам. Вы, конечно, можете его немного переписать, чтобы порядок был какой вам угодно. Скрипт использует [Codeforces API](https://codeforces.me/apiHelp), так что первым делом вам нужно зайти в настройки аккаунта и сгенерировать ключи API и поместить открытый в файл "key", а секретный в файл "secret" в одной папке со скриптом (или просто присвоить их соответствующим переменным в скрипте). Теперь нужно просто заполнить массив contestids id мешапов, которые вы использовали для тестирования и запустить скрипт. По окончании своей работы скрипт создаст файлы "ru.txt" и "en.txt" с благодарностями на соответствующих языках. Надеюсь он поможет вам быстро изменять список тестеров. Всем удачи и успешных раундов! <spoiler summary="Скрипт"> ~~~~~ import sys import requests import json import time import random import string import hashlib ...
that the order is whatever you want. Script uses [Codeforces API ](https://codeforces.me/apiHelp, порядок был какой вам угодно. Скрипт использует [Codeforces API ](https://codeforces.me/apiHelp, ) req = 'https://codeforces.me/api/user.info?handles=' for participant in participants: req, ://codeforces.com/api/contest.standings?{req_params}&apiSig={sig}' standings = requests.get(req, Script uses [Codeforces API](https://codeforces.me/apiHelp ), so first of all you need to go to, Скрипт использует [Codeforces API](https://codeforces.me/apiHelp), так что первым делом вам нужно

Полный текст и комментарии »

  • Проголосовать: нравится
  • +79
  • Проголосовать: не нравится

74.
Автор dyzets, 6 месяцев назад, По-английски
A desktop app for managing CP problems on Codeforces Polygon through APIs. Everyone who prepares problems on this site knows [Polygon](https://polygon.codeforces.com), a problem-preparation tool maintained by [user:MikeMirzayanov,2026-06-08]. It's powerful — automatic invocation, validation, checking, stress testing, packages. However, the web experience is not really convenient. I have to click through the tabs to copy the generator, checker, validator from my computer whenever I change the files. I wanted my problem to live in a local folder I control, and edit it like I edit code. So I built a small desktop app for it: [Decagon](https://github.com/dyzets/decagon). It talks to Polygon through the official [Polygon API](https://codeforces.github.io/polygon-misc/API). Each problem is one local folder bound to one Polygon problem. Inside the app you get a tabbed editor: - **Info** — time/memory limits, input/output files, interactive flag, checker / validator / interactor, points mode. - **Statements** — edit every field (legend, input, output, sc...
the official [Polygon API](https://codeforces.github.io/polygon-misc/API)., - Testsets can't be created from the app (no API for it) — create them on the Polygon site, then, /decagon). It talks to Polygon through the official [Polygon API ](https://codeforces.github.io/polygon, Known limitations (Polygon's API doesn't expose everything)

Полный текст и комментарии »

  • Проголосовать: нравится
  • +70
  • Проголосовать: не нравится

75.
Автор s-sireneva, история, 2 года назад, По-английски
Bypassing Cloudflare's "bot fight mode", or how I wrote a working JS interpreter in a weekend... ...for fun and absolutely no profit. # Part 0. Introduction It so happened that I haven't written any Codeforces contest in a few months. When I was logging into my account to leave a comment under some post (I ended up not doing that), I noticed something weird:[cut]&#32; `Please wait. Your browser is being checked. It may take a few seconds...` After about half a second, this screen disappeared, and the normal login page showed up. But since I'm maintaining a CLI client for Codeforces, this immediately caught my attention with an intrusive question: did Mike break my client once again? After firing up a shell and trying to login, the answer was clear: yes, he did. # Part 1. "What the heck?" At the first glance, this screen looked suspiciously like the Cloudflare "Checking your browser" screen. This would have been a dead end, as even "professional" scrapers prefer using headless browsers and such instead of relying on "Cloudflare bypasses". The idea of the CLI tool ...
suspicious API call: `new Set(Set)`. Nobody with a sane mind would do that, right? After inspecting, ://community.cloudflare.com/t/report-of-deprecated-api -usage-in-cloudflares-auto-generated-script/578200/6

Полный текст и комментарии »

  • Проголосовать: нравится
  • +214
  • Проголосовать: не нравится

76.
Автор kostka, 12 лет назад, По-английски
Hack me! (Codeforces Round #281 (Div. 2)) <s>While waiting for [API](http://codeforces.me/api/contest.hacks?contestId=494) to update,</s> (it has been updated already) let's look at hacks in [contest:493]. That was really good round (even I had some hacks :)). Previous posts can be found [here](http://codeforces.me/search?query=hackme). [cut] <h3>Stats</h3> Problem | <small>Successful hacks</small> | <small>Unsuccessful hacks</small> | Other | Sum | <small>Solutions which can be hacked</small> | <small>Accepted solutions</small> | <small> All solutions on final tests</small>| :---:|:---:|:---:|:---:|:---:|:---:| <small> [problem:493A] </small> | 18 (22.50%) | 20 (25.00%)| 42 (52.50%) | 80 | 249 (13.16%) | 1643 (86.84%) | 1892 | <small> [problem:493B] </small> | 456 (62.81%) | 178 (24.52%)| 92 (12.67%) | 726 | 509 (29.84%) | 1197 (70.16%) | 1706 | <small> [problem:493C] </small> | 161 (47.35%) | 100 (29.41%)| 79 (23.24%) | 340 | 715 (58.56%) | 506 (41.44%) | 1221 | <small> [problem:493D] </small> | 22 (59.46%...
While waiting for [API](http://codeforces.me/api/contest.hacks?contestId=494) to update,

Полный текст и комментарии »

  • Проголосовать: нравится
  • +36
  • Проголосовать: не нравится

77.
Автор Pirate_ksh, 6 лет назад, По-английски
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...
-upsolving-helper.herokuapp.com/)** using **Codeforces API**.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +190
  • Проголосовать: не нравится

78.
Автор AlexSkidanov, 14 лет назад, По-русски
Пост о Хакатонах <div class="ttypography"><p>Сегодня я хочу рассказать про Хакатоны – интересный вид соревнований по программированию, который заметно отличается от всего, к чему привыкли люди, которые занимаются спортивным программированием. Хакатоны весьма популярны во всем мире, они проходят с какой-то периодичностью и в России, и на Украине, а в кремниевой долине их особенно много. За последние полтора месяца я поучаствовал в четырех хакатонах, и остался невероятно впечатлен.</p><p><b>Хакатон в Nokia</b><br>Самый первый хакатон, в котором мне довелось поучаствовать, проводился компанией Nokia, и целью хакатона, как можно догадаться, было разработать приложение для Windows Phone 7. Длительность “coding phase” была восемь часов, и разрешалось приходить с готовыми наработками. У нас готовых наработок не было, так что вся подготовка заключалась в том, чтобы найти два ноутбука с Windows, и поставить на них Windows Phone 7 SDK. Так как это был наш первый хакатон, мы не знали, чего ожидать. Мы приготовили...
много новых для себя технологий (разработка для WP7 и Android, Azure, Facebook API, AllJoyn API

Полный текст и комментарии »

  • Проголосовать: нравится
  • +208
  • Проголосовать: не нравится

79.
Автор kuviman, 6 лет назад, перевод, По-русски
AI Cup 2020 Всем привет! [AI Cup 2020](https://russianaicup.ru/) &mdash; ежегодный международный чемпионата по программированию искусственного интеллекта от Mail.Ru Group уже идёт. ![ ](https://hsto.org/webt/lc/cr/py/lccrpynunbyrcvkh1v7lxtgdhdu.jpeg) AI Cup — открытое соревнование по программированию искусственного интеллекта игровых стратегий. Попробуйте свои силы в программировании игровой стратегии! Это просто, наглядно и весело! Тема этого чемпионата — RTS. Ждем вас на [сайте чемпионата](https://russianaicup.ru/)! Сайт уже открыт, вы можете приступать к программированию стратегии. Чемпионат восьмого AI Cup называется CodeCraft. Участникам предлагается, используя предоставленный API, написать искусственный интеллект для управления набором юнитов, собирать ресурсы, строить здания и атаковать противников. Написать свою стратегию совсем просто: достаточно базовых знаний программирования. Ваши стратегии будут сражаться между собой в Песочнице и чемпионате. На данный момент доступны с...
API, написать искусственный интеллект для управления набором юнитов, собирать ресурсы, строить

Полный текст и комментарии »

  • Проголосовать: нравится
  • +153
  • Проголосовать: не нравится

80.
Автор 7oSkaaa, 7 месяцев назад, По-английски
Polygon Problems Generator — A Multi-Agent Pipeline for Generating Complete Polygon-Ready Problems Hello Codeforces! I want to share an update to an open-source project I've been building: a multi-agent AI pipeline that generates **complete, Polygon-ready competitive programming problems from scratch** — statement, tutorial, validator, checker, solutions (two ACCs, TLE, WA), test generator, and interactor — then **checks them locally** and **uploads them to Polygon**. → **GitHub:** [https://github.com/7oSkaaa/polygon-problems-generator](https://github.com/7oSkaaa/polygon-problems-generator) --- ## The problem Setting a proper problem for a contest takes a lot of time, even when you already know the idea: - Writing a clean LaTeX statement in Polygon style - Writing a bulletproof `testlib.h` validator (and validator tests) - Choosing or writing the right checker - Writing an accepted solution, a second ACC with a different approach, a TLE brute, and a WA solution - Writing a generator with a complete FreeMarker script and real min/max tests - Reviewing everythin...
# 3. Polygon API keys (only needed to upload) cp .env.example .env # POLYGON_API_KEY

Полный текст и комментарии »

  • Проголосовать: нравится
  • +100
  • Проголосовать: не нравится

81.
Автор AlexandruINV, 9 месяцев назад, По-английски
2026 Codeforces Rating Distribution With Advanced Analytics! Hello, Codeforces ! I'm excited to share my first contribution to the community: a complete analysis of Codeforces rating distributions, as the last one I know about is [this one from 2024](https://codeforces.me/blog/entry/126802). After several days of collecting and processing data through the Codeforces API, I built a set of analytics covering user rating brackets, average time needed to reach specific rating milestones, and other interesting insights about progression on the platform. I’m also looking to build a community around future projects, learning programming, and helping each other improve. No matter your current rank on Codeforces, you’re welcome to join our newly created [Discord server](https://discord.gg/9RJHWfYUw9) ! Now let's get started with the data. I collected information only for users who have participated in at least 6 contests. I also categorized them based on their recent activity: 6 months, 1 year, 3 years, and all time. If interested in what s...
After several days of collecting and processing data through the Codeforces API , I built a set of

Полный текст и комментарии »

  • Проголосовать: нравится
  • +206
  • Проголосовать: не нравится

82.
Автор tzaph_, 6 лет назад, По-английски
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...
Editorial is available [here](https://uriel.tlx.toki.id/api /v2/contests/JIDCONT07oPGzDgPPnr1XCYjA3o

Полный текст и комментарии »

  • Проголосовать: нравится
  • +132
  • Проголосовать: не нравится

83.
Автор Igorjan94, 4 года назад, По-английски
Typescript SDK for codeforces ## Hello codeforces! You know you are a programming competitions addict when [this blog](https://codeforces.me/blog/entry/12968) was 9 years ago, but you thought it was no more than 3... More than month ago or, to be more precise from 15 to 19 December 2022, codeforces has five contests in five days. I participated in all of these contests and I thought how many contestants took part in all 5 contests? **TLDR**: If you don't want to read why I decided to implement SDK on typescript and how I struggled with python, just scroll down to Typescript paragraph. **TLDR2**: Links are below. ## Python Historically I have some python scripts to work with codeforces API, so I've created `allContests.py` file, imported my old library code with method `cf` and paused for a while. Which arguments does this method have? Let's look into source code. Ah, clear, `def cf(method, **kwargs)`. F**k. OK, let's go to [API](https://codeforces.me/apiHelp/methods#contest.standings) page. O...
**PPS**: ironycally, almost at the same time [this](https://github.com/kerolloz/codeforces-api-ts, > API may be requested at most 1 time per two seconds, F**k. OK, let's go to [API ](https://codeforces.me/apiHelp/methods#contest.standings) page. OK, Historically I have some python scripts to work with codeforces API, so I've created, So I decided to implement API wrapper on typescript., Yes, I forgot to `sleep` between API calls:

Полный текст и комментарии »

  • Проголосовать: нравится
  • +10
  • Проголосовать: не нравится

84.
Автор EmeraldBlock, история, 3 года назад, По-английски
IOI 2023 Robot Contest in Z* = 5 [IOI 2023 Robot Contest](https://ioi2023.hu/tasks/#:~:text=robot%20%E2%80%93%20Robot%20Contest) is a great task that reminds me of Turing machines and cellular automata. <spoiler summary="If the task statement is too intimidating..."> Your goal is to program the robot _Pulibot_ to label a shortest path between the northwest and southeast corners of a 2D grid with obstacles, which are guaranteed to be reachable from each other. However, Pulibot is short-sighted and has no memory. Knowing only the colors of the cell it is at and the 4 adjacent cells (including special "colors" for out-of-bounds cells and obstacles), it has to decide what to recolor its current cell and which direction to move in (including not moving, as well as terminating). Pulibot cannot move out-of-bounds or into obstacles. Initially, all empty cells are colored "blank", and Pulibot starts at the northwest corner. After Pulibot terminates, the cells colored "path" must form a shortest path, while th...
And that's it! The task's API requires you to set the move for each specific set of colors, but

Полный текст и комментарии »

  • Проголосовать: нравится
  • +194
  • Проголосовать: не нравится

85.
Автор MikeMirzayanov, 12 лет назад, По-русски
10 причин использовать Polygon для подготовки задач <img src="http://assets.codeforces.com/images/poly21.jpg" style="float:right;margin:0 0.5em 1em 1em;"/> Привет, Codeforces. Уверен, многие в курсе &mdash; просто напомню. Polygon &mdash; это сервис для подготовки задач по программированию. Обычно используется в подготовке к олимпиадам, но часто и для учебных задач по информатике. Расположен он по адресу https://polygon.codeforces.com/ и открыт для всех желающих. Я недавно обнаружил, что вот уже прошло более 5-ти лет как была создана система разработки задач Polygon. Самое время обобщить накопленный опыт использования. Впервые о Polygon я публично рассказал в узком коллективе тренеров российских сборных на финале ACM-ICPC в 2009-м году. Я не скажу, что все восприняли разработку с энтузиазмом, были и те, кто высказал откровенный скепсис жизнеспособности и востребованности такой системы. Прошло 5 лет и на финале ACM-ICPC в Екатеринбурге Олег Христенко (человек-Снарк) сказал, что считает создание Polygon моей большей зас...
простой HTTP POST-based API для доступа к данным. При формировании POST-запросов надо передавать, ) or enables to generate them at package deploying. Polygon has a simple HTTP POST-basedAPI to access

Полный текст и комментарии »

  • Проголосовать: нравится
  • +260
  • Проголосовать: не нравится

86.
Автор bicsi, история, 6 лет назад, По-английски
Autotest: Creating test cases by optimization ### https://github.com/bicsi/autotest Hello! For the last two days I have been working on an idea of mine that I had for quite some time but haven't had the time to implement until now. It is a framework for automatic test generation using optimization methods. ### The main point I want to help people that are into problem-setting but might have problems writing generators (or might have little time to do so). I was thinking that, instead of coming up with complicated generators, one might be able to reuse some generic parametric generators for given structures (partitions, graphs, polygons, etc.) and generate tests by focusing on designing a "fitness" function for a given input case. Not only that, but many times while preparing problems I found that I was writing some generators by giving them some free parameters and trying to optimize something for the test, while keeping some randomness (for example, making the output answer as big as possible s.t. the constraints...
readme file there. I focused my work in having an API that is as clean as it could be as a front

Полный текст и комментарии »

  • Проголосовать: нравится
  • +147
  • Проголосовать: не нравится

87.
Автор i_pranavmehta, 3 года назад, По-английски
ACD Ladders [A code daily ladders] Hi coders! I hope you are doing great, My discord server community recently came up with a new ladders which probably is the most updated list available. I'll try to explain how the algorithm behind the ladders works, and how to use it appropriately for maximum growth. I plan on updating it every couple of months so that outdated data is never a problem, specially nowadays when the problems are becoming more tricky with time! 1. How to access the website? It's free for everyone and can be accessed at [ACDLadders](http://www.acodedaily.com) 2. What exactly is ACD Ladders? It's a collection of problems which aren't random but have proven to be helpful to 45k+ codeforces users over the past 16 months (4 quarters). 3. How were these problems picked? The data of the above mentioned 45K+ codeforces users is analyzed, the past 16 months activities (problems solved and rating increase) is taken into consideration, the data is then broken down into 4 buckets of 4 months each. The...
. added a loader so as to make it explicit when the website is actually waiting for the data from theAPI.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +117
  • Проголосовать: не нравится

88.
Автор Droby, 18 месяцев назад, По-английски
atcoder-api — A TypeScript/JavaScript Wrapper for AtCoder # Introducing `atcoder-api` — A TypeScript/JavaScript Wrapper for AtCoder Hi Codeforces! I'm excited to share a new npm package I built: **[`atcoder-api`](https://www.npmjs.com/package/@qatadaazzeh/atcoder-api)** — a lightweight and fully typed API wrapper to fetch **user stats**, **contest info**, and **rating history** from [AtCoder](https://atcoder.jp/)! --- ## Features - Fetch upcoming and recent contests - Get detailed user profiles and statistics - Retrieve user contest participation history - Built-in rate limiting to avoid server overload - TypeScript support out of the box - Lightweight and fast --- ## Installation ```bash npm install @qatadaazzeh/atcoder-api ``` --- ## Usage ### Fetching Contests ```ts import { fetchUpcomingContests, fetchRecentContests } from '@qatadaazzeh/atcoder-api'; // Get upcoming contests const upcoming = await fetchUpcomingContests(); console.log('Found '+ upcoming.length +' upcoming contes...
atcoder-api — A TypeScript/JavaScript Wrapper for AtCoder, # Introducing `atcoder-api` — A TypeScript/JavaScript Wrapper for AtCoder, ## API Reference, - NPM Package: https://www.npmjs.com/package/@qatadaazzeh/atcoder-api - Author's Codeforces, I'm excited to share a new npm package I built: **[`atcoder-api `](https://www.npmjs.com/package, ```bash npm install @qatadaazzeh/atcoder-api ```, ```js import { fetchUserContestList } from '@qatadaazzeh/atcoder-api';, ```ts import { fetchUpcomingContests, fetchRecentContests } from '@qatadaazzeh/atcoder-api';, ```ts import { fetchUserInfo } from '@qatadaazzeh/atcoder-api';

Полный текст и комментарии »

  • Проголосовать: нравится
  • +2
  • Проголосовать: не нравится

89.
Автор greateric, история, 5 месяцев назад, По-английски
IQ is Pure COPE, Here's Why (Useful CP and Life Information #5?) Background ------------------ On CF I think you can tend to see people attributing good rating to IQ. This is often associated with hopelessness when people are stuck in gray/green. I think it's the perfect cope &mdash; it's the easiest thing to say that completely explains why you're 1100 and your friend is orange, and, bonus, if anyone tries to prove you wrong, you can just claim that they are privileged and intelligent. You may think I am 2000 and thus out of touch to be able to comment on this topic, which _may_ be true. However, I was also once a noob who got 28/1000 on a USACO silver round. And I was pretty overweight as a kid and sucked at sports and always thought of myself as not having the genetics to be an athlete, but [I now hold the squat, bench, and deadlift 18-and-under state records in my powerlifting federation](https://pa.liftingdatabase.com/records-default?recordtypeid=72&categoryid=603&weightclassid=5). (Probably not for long though lol) A lot of this i...
rating!"> And my new revolutionary IQ test that does an API call to codeforces and returns your CF

Полный текст и комментарии »

  • Проголосовать: нравится
  • +67
  • Проголосовать: не нравится

90.
Автор vishalagrawal, 5 лет назад, По-английски
UserScript to toggle on/off problem tags from the problem page itself. Problem tags could spoil a problem, so chances are you like to keep the problem tags switched off. Even so, you would probably like to know about the problem difficulty (or rating) or sometimes have a quick look at the tags and retry a problem before moving on to the editorial. It could be very tedious to go to your profile and change the settings to enable the tags, then after you finish your work, switch it off again. This extension can solve both of the issues for you. ![ ](https://i.imgur.com/daz3n3Q.png) <br>When tags are hidden ![ ](https://i.imgur.com/z6IbAFt.png) <br>After you click on the button Download Instructions :- 1. Download an user script manager like [Tamper Monkey](https://www.tampermonkey.net/). 2. Download the script from my [Github Repo](https://github.com/vishalagrawal22/tag-hider-codeforces). 3. **Switch off** "show tags for unsolved problems". <spoiler summary="What is the extension doing behind the scenes"> **Problem:** Sim...
Instead of using the show tags setting of codeforces, we use the CF API., We make a HTTP Pull Request on the API (https://codeforces.me/api /contest.standings?contestId

Полный текст и комментарии »

  • Проголосовать: нравится
  • +42
  • Проголосовать: не нравится

91.
Автор crap_the_coder, 5 лет назад, По-английски
UpCode — Upload all your accepted solutions to GitHub, hassle-free Do you have many accepted solutions in CodeForces/CodeChef/Atcoder, but you can't share a convenient link to your GitHub to flex your submissions? Maybe it would take too long to upload all the files because you 1000+ accepted submissions? Introducing [UpCode](https://github.com/crapthecoder/UpCode), the program that uploads all your accepted solutions to your GitHub. Just enter your username and a GitHub API key and it will automatically upload all your accepted submissions from CodeForces/CodeChef/Atcoder to a GitHub repository. For example, here's my repository that was generated by UpCode: https://github.com/crapthecoder/Competitive-Programming <br> <spoiler summary="Disclaimer"> I cannot guarantee that this will work perfectly, as the websites could block the scraper (especially CodeForces). Therefore, a few solutions might get skipped. The code goes through them once at the end to add the missing ones, but it might not be perfect. Also use at your own discretion, as ...
accepted solutions to your GitHub. Just enter your username and a GitHub API key and it will, * ######Generate a GitHub API key from [here](https://github.com/settings/tokens/new). Make sure, - CodeForces API is sometimes inconsistent and might not always be available, in which case you, - Due to the [Atcoder API ](https://github.com/kenkoooo/AtCoderProblems/blob/master/doc/api.md) only

Полный текст и комментарии »

  • Проголосовать: нравится
  • +107
  • Проголосовать: не нравится

92.
Автор awoo, история, 4 года назад, По-русски
Educational Codeforces Round 130 [рейтинговый для Div. 2] Привет, Codeforces! В [contest_time:1697] состоится [contest:1697]. Продолжается серия образовательных раундов в рамках инициативы [Harbour.Space University](https://harbour.space/)! Подробности о сотрудничестве [Harbour.Space University](https://harbour.space/) и Codeforces можно прочитать <a href="http://codeforces.me/blog/entry/51208">в посте</a>. Этот раунд будет **рейтинговым для участников с рейтингом менее 2100**. Соревнование будет проводиться по немного расширенным правилам ICPC. Штраф за каждую неверную посылку до посылки, являющейся полным решением, равен 10 минутам. После окончания раунда будет период времени длительностью в 12 часов, в течение которого вы можете попробовать взломать абсолютно любое решение (в том числе свое). Причем исходный код будет предоставлен не только для чтения, но и для копирования. Вам будет предложено **6 или 7 задач на 2 часа**. Мы надеемся, что вам они покажутся интересными. Задачи вместе со мной придумывали и готовили Адилбек [...
CSV_ - _Опыт предоставления и поддержки преобразований и API для клиентов и партнеров_ - _Хорошее

Полный текст и комментарии »

  • Проголосовать: нравится
  • +150
  • Проголосовать: не нравится

93.
Автор fedimser, 6 лет назад, По-английски
Decomposing unitary matrix into Q# quantum gates *This post is part of the [Q# Advent Calendar 2020](https://devblogs.microsoft.com/qsharp/q-advent-calendar-2020/). Check it out for more great posts about quantum computing and Q#!* Hello Codeforces! In this post I am going to tell you about an algorithm which implements arbitrary unitary matrix as a sequence of elementary quantum gates in [Q# programming language](https://en.wikipedia.org/wiki/Q_Sharp). ## Introduction Algorithms for a quantum computer are usually described as a sequence of [quantum gates](https://en.wikipedia.org/wiki/Quantum_logic_gate) (such as Pauli X, Hadamard or CNOT) acting on register of qubits, followed by a sequence of measurements. Any quantum gate can be described as a [unitary matrix](https://en.wikipedia.org/wiki/Unitary_matrix) acting on a vector representing the current state of a quantum computer. Applying multiple gates multiplies state by a matrix which is matrix product of matrices for individual gates. Therefore, any sequence of quan...
/api/qsharp/microsoft.quantum.intrinsic.x) gate and rotation gates ([R1](https://docs.microsoft.com

Полный текст и комментарии »

  • Проголосовать: нравится
  • +32
  • Проголосовать: не нравится

94.
Автор SmartCoder, 11 лет назад, По-английски
CodeForces Statistics Tool Beta 1.0 Hi my second family, After long thinking I decide to share my statistics website with you & because of currently I have no time I will stop developing it but soon I will back again. **UPD Latest Contest** _Codeforces Round #322 (Div. 2)_ [Play with it](http://smartcoder.me/cf) Let's Go -------- **-CodeForces Contestants Populations** Do you want to see where Grandmasters live take a look at Contestant population page if you are not a Grandmaster don't worry you can see your rating also ,you can swap between ratings with click and unclick ![ ](http://codeforces.me/predownloaded/7b/ed/7beda01c45d7342832dc1bf5de30d279d73093e5.jpg) **-CodeForces standing filtered by country** Standing filtered by country and barchart about solved & unsolved problems during contest. ![ ](http://codeforces.me/predownloaded/bc/2f/bc2f0183a19e18f76e79bd6d38aa29736acb7d7c.jpg) it support teams ![ ](http://codeforces.me/predownloaded/b2/aa/b2aa312a2a09ff0fb364d4...
codeforces API I just shared it but really it need more work.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +214
  • Проголосовать: не нравится

95.
Автор vivid_stareium, история, 11 месяцев назад, По-английски
CF Rating Predictor: Visualize your potential rating trajectory with VP history Hello Codeforces! I’m excited to share a tool I’ve been working on: CF Rating Predictor. While many tools display official rating changes, we often lack a way to quantitatively represent the impact of our Virtual Participations (VP) during training. This tool integrates your actual contest history with your VP records to simulate a continuous rating trajectory, giving you a measurable view of your progress. Live Demo: https://cf-vp-predictor-7pgzwzseurssuzy5uqktit.streamlit.app/ GitHub: https://github.com/vividStareium/cf-vp-predictor ![CF Rating Predictor Demo](/predownloaded/3e/e5/3ee5e0df9bf8006b4e402beeba283001fd18f3f9.png) Features ------------ VP Integration: Automatically scans your submission history to find Virtual Participations and calculates their potential impact on your rating. Smart Simulation Algorithm: For each VP, the tool finds "proxy" participants from the same contest with similar ratings to calculate a realistic rating Delta. Unrated Conte...
remaining stable and respecting API rate limits.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +60
  • Проголосовать: не нравится

96.
Автор TexanElite, 7 лет назад, По-английски
Statistics of Problems on Div 1 & Div 2 contests I made statistics of the rating and tags of problems based on their in-contest letter assignment (A, B, C, etc.) using the Codeforces API. What I took into consideration ------------------ First of all, only problems taken from contests labeled with Div. 1 or Div. 2 were taken into consideration (I say labeled because I only checked if the division string existed in the contest name). Contests that were labeled Div. 3 or didn't have a listed division (Global Rounds, for example) were not used. Div. 1 problems are offset by the Div. 2 problems. What I mean by this is usually, the Div. 2 C is the Div. 1 A, and in these statistics, I represented them like the former so that I wouldn't get Div. 1 A ratings mixed with Div. 2 A ratings because, well, that would be bad and it was easier lol (the API did it for me). Only problems representable up to H were used, because the later ones were too scarce (and quite frankly, odd in terms of ratings). Possible Sources of Error -------------...
, B, C, etc.) using the Codeforces API.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +124
  • Проголосовать: не нравится

97.
Автор luctivud, 5 лет назад, По-английски
Your Future Ratings Predictor is here!! (upd:1.0 UI Added) **Update 1.0** : The app is now live [here](https://cffrpredict.netlify.app/). Hello Codeforces, So, I got some requests to predict the future ratings from my fellow coders and I simply didn't ignore it. I have worked a way through which a user can get their future ratings predicted by a piece of code. It was inspired by [user:stefdasca,2021-06-21]'s blog but since I am a bit weak in geometry and graphs so I decided to write a code for it (ignoring the fact that I am weak in coding too). I have tested it rigourously for like 2-3 times and it did work as the results were satisfactory. For Eg: The case of 1-gon's profile: <spoiler summary="Screenshot proof"> <img src="https://i.ibb.co/fQDt7gT/Pics-Art-06-21-06-26-14.jpg" alt="Pics-Art-06-21-06-26-14" border="0"> </spoiler> #### How to get your future ratings:<br> <spoiler summary="Using Web hosted page"> I have made a UI for my app in DHTML. You can give it a try and your review. It is currently deployed [h...
As I have some knowledge of API handling and Machine

Полный текст и комментарии »

  • Проголосовать: нравится
  • +94
  • Проголосовать: не нравится

98.
Автор Leeking, история, 7 месяцев назад, По-английски
LeekCF-Rating: Fix for cf-getrating (View problem ratings without spoilers) <img src="/predownloaded/eb/77/eb770853b3660f9e8129810a5b2f4704347d5377.png" style="float: right; margin-right: 45px; margin-left: 15px; margin-bottom: 10px; width: 230px;" /> ## Hello Codeforces! As many of you noticed, recent API changes broke several extensions, including the popular cf-getrating. Since the original creator seems to be inactive (no response to PRs or emails), I have forked and fixed the extension so we can all keep using this functionality. ## What is LeekCF-Rating (cf-getrating) For those unfamiliar, this extension allows you to see the **difficulty rating** of a problem while keeping `problem tags` hidden. **Why??:** Solve problems 100% on your own. Tags often act as **spoilers** (e.g., seeing "Dynamic Programming" tells you exactly how to approach the problem) <spoiler summary="Check Images"> ![ ](https://i.imgur.com/eUFLZvF.png) ![ ](https://i.imgur.com/CwNRKhn.png) </spoilter> **Installation Links:** - [Chrome Web Store](https://chromewe...
As many of you noticed, recent API changes broke several extensions, including the popular cf, I kept the core logic identical to the original but updated the API call methods, icons, and readme

Полный текст и комментарии »

  • Проголосовать: нравится
  • +20
  • Проголосовать: не нравится

99.
Автор MikeMirzayanov, 8 лет назад, По-русски
Testlib and Polygon Updates [July, 2018] Hello, Codeforces. This is a short blog to introduce you recent updates in [Testlib](https://github.com/MikeMirzayanov/testlib) and [Polygon](http://polygon.codeforces.com). # Testlib ### Generate a Permutation Now, you can easily generate a permutation with codes like this: Code | Result -|- `vector<int> p = rnd.perm(n);`| Generates 0-indexed permutation of size $n$ `vector<int> p = rnd.perm(n, 1);`| Generates 1-indexed permutation of size $n$ ### Function `println` Now, you can easily print space-separated lines in a generator. A `println` uses `cout`, thus prefer faster method if you print huge data. Some examples: Code | Result -|- `println(5);` | Print 5 and line break `println(1, 2, 3);` | Print `1 2 3` (three space separated integers) and line break `println("one", "more", 5.5);` | Print `one more 5.5` (three space separated items) and line break `vector<int> a; ...; println(a);` | Print vector $a$ (separate elements with spaces) and line break...
statements.ftl. File names should start with 'statements-'. * API has been improved to support general

Полный текст и комментарии »

  • Проголосовать: нравится
  • +308
  • Проголосовать: не нравится

100.
Автор importlogic, 4 года назад, По-английски
Codeforces GetRating Extension #### Hello Codeforces Community, I hope you are all doing well. While practicing problems I needed a way to only see the problem rating/difficulty without seeing all the tags related to the problem. This was a good way for me to stick to a particular problem range while practicing. So I developed an extension which does the same. It shows you the problem rating on every problem once you install it. But if you are stuck on any problem then you can also click on the Show All Tags button to show all the tags associated with the problem. Moreover there is a shortcut to directly access the Contest Standings. ![ ](/predownloaded/dd/49/dd49da413185280a2b724202a5beafb239439389.png) ![ ](/predownloaded/a2/6e/a26eb8da51c53daa4ace01ce2f7e8ae79c4fd5ff.png) [ [Chrome Web Store](https://chrome.google.com/webstore/detail/cf-getrating/amnjdhcbnpchmbggnfachokcjiidcpkc) | [Firefox Addons Store](https://addons.mozilla.org/en-US/firefox/addon/cf-getrating) | [Github](https://github.com/import...
NOTE : The extension is dependent on Codeforces API so it won't work if the API is down or

Полный текст и комментарии »

  • Проголосовать: нравится
  • +52
  • Проголосовать: не нравится

101.
Автор XenoAmess, история, 9 лет назад, По-английски
Suggestions about codeforces's API system. @MikeMirzayanov I used codeforces's API system.It is strong,and has good quality.but I think it can become better. Here is my suggestions. 1.Standing of the problemset. [http://codeforces.me/problemset/standings](http://codeforces.me/problemset/standings) I would be happy to get informations about it,but I havn't find a way to do so. 2.Sending more datas than I need. Resently I was developing a module of a program,which provide active degree of users, and I use [http://codeforces.me/api/user.status?handle=Xeno_Amess&from=1&count=1000000000](http://codeforces.me/api/user.status?handle=Xeno_Amess&from=1&count=1000000000) (for example) to get data from codeforces.All the data I need was creationTimeSeconds and verdict,but codeforces send me lots of data unuseful to me,like testset,id,author... Actually nearly 19/20 of the data I got was unuseful. This is not only a bad thing to me,but also to codeforces,cause bouth of us cost 19 times more webnetwork bandwidth... Well, fo...
Suggestions about codeforces's API system., @MikeMirzayanov I used codeforces's API system.It is strong,and has good quality.but I think it, And if I use http://codeforces.me/api /user.status?handle=Xeno_Amess&from=1&count=1&reject=id, I used codeforces's API system.It is strong,and has good quality.but I think it can become better

Полный текст и комментарии »

  • Проголосовать: нравится
  • +24
  • Проголосовать: не нравится

102.
Автор PavelKunyavskiy, история, 11 лет назад, перевод, По-русски
Commandline tool for polygon Everyone on this site heard about problem preparing tool, maintained by ~MikeMirzayanov,2016-01-16 called [polygon](https://polygon.codeforces.com). It have a lot of advantages, like automatic checks of everything you can imagine. But also, it have several very annoying things. The main one for me is necessity of synchronizing solutions and generators files by hand, between polygon and your local copy. So I had written a tool, which can do it. Tool is published on [github](https://github.com/kunyavskiy/polygon-cli), with instructions how to install it. You are welcome with any new features/suggestions (I'm not knowing python very well, to be honest). Known problems: * Not tested good enough, probably buggy * Installation script working strange. Anyone knowing python better? Any better ways to distribute? * Sometimes lost of session is not detected and script fails with strange non-readable errors. relogin helps * Parsing html pages can be not stable enough with c...
with changing polygon. Waiting for better api from ~MikeMirzayanov,2016-01-16 and codeforces team., недостаточно устойчив к изменениям в полигоне. С нетерпением ждем более хорошегоapi от

Полный текст и комментарии »

  • Проголосовать: нравится
  • +192
  • Проголосовать: не нравится

103.
Автор awoo, история, 11 лет назад, По-русски
Создаем уровни для Gravity Defied из графика рейтинга Codeforces Вступление ============= <img src="http://cs624422.vk.me/v624422694/36ac0/8jKq7pMzPOc.jpg" style="float: right;"></img> Всем привет! Недавно я решил "вспомнить молодость" и поиграть в Gravity Defied на своем телефоне. Нетрудно было найти порт этой некогда культовой игры на более современные платформы. Изначально написанная на J2ME, она быстро завоевала популярность у школьников прошлого десятилетия. Простейший геймплей (мотоциклист, преодолевающий различные трассы с высокими горами и глубокими ямами), замечательная физика (возможность вращения в воздухе) и простота модифицирования &mdash; вот секрет успеха Gravity Defied. И я мало того, что просто просиживал часы за прохождением новых дополнений, так еще и зарабатывал на помощи менее мастеровитым игрокам! Это уже позже пришло время миссии с вертолетом в GTA Vice City, трудностей Far Cry и HOMM 3... Немного предыстории ============= <img src="http://cs624422.vk.me/v624422694/370dd/wU1hi77t6U8.jpg" style="float: right;"></i...
на Python 3, получая через Codeforces API список проведенных раундов для указанных пользователей

Полный текст и комментарии »

  • Проголосовать: нравится
  • +245
  • Проголосовать: не нравится

104.
Автор ouuan, история, 8 лет назад, По-английски
View the history of top10 in Codeforces! The video is [here](https://www.bilibili.com/video/av43450831/) (uploaded by myself). [user:Anguei,2019-02-14] helped me upload it [on YouTube](https://youtu.be/nfAnKzyiKTo). Thank [user:I_love_Tanya_Romanova,2019-02-14] for pointing out my mistake of ignoring the inactive users. I have fixed it now. I get the rating history of each user **who is in the top5000 either of the active or the inactive now** by Codeforces API. So if a user was in the top10 but is in neither the top5000 of the active nor the inactive now, he will not be included in the historical top10s. I made the video using [Dynamic Ranking Visualization](https://github.com/Jannchie/Historical-ranking-data-visualization-based-on-d3.js). And the codes written by me is [here](https://github.com/ouuan/Get-CF-Historical-TOP10). ![ ](/predownloaded/f0/ed/f0edad8d38549ce8174d6ac3bd28291d2038c6ff.jpg) P.S. The numbers change continuously in the video, so the ratings in the picture are not the exact value. P...
now** by Codeforces API. So if a user was in the top10 but is in neither the top5000 of the active

Полный текст и комментарии »

  • Проголосовать: нравится
  • +394
  • Проголосовать: не нравится

105.
Автор greateric, история, 7 месяцев назад, По-английски
Adding a "variance"/"discrimination" metric to problems? (half yap but also somewhat serious) In light of recent events, I think it may be helpful to add a second measurement to problems. ### The main issue Some problems are very "hit or miss" and others are more "standard". Is there a way to quantify this? ### The problemsetter's dream is a problem rated $r$ such that everyone with rating $\ge r$ solves it and nobody with rating $\lt r$ solves it. Obviously, this could never happen in real life. But we can generalize this idea of a difficulty curve &mdash; on the x axis, you'll have the rating, and on the y axis, you'll have the proportion/probability of people at that rating to solve the problem. At $r$, the value would be 50%. Here's an example of what a difficulty curve of a 1600-rated problem might look like: ![ ](https://raw.githubusercontent.com/greatericontop/CompetitiveProgrammingStash/refs/heads/main/assets/sigmoid1.png?token=GHSAT0AAAAAADIMMDFZOPRJFNG3DCLSI2DS2QIXV7Q) This is the curve of an ideal problem under the Elo model: $P(x) = sigmoid(\...
a single submission. Maybe we can even calculate it ourselves with the API, I'm not sure.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +39
  • Проголосовать: не нравится

106.
Автор ma_moutahid, история, 10 дней назад, По-английски
Conditioned on solving E, solving 1137D correlates negatively with your old rating # Conditioned on solving E, solving 1137D correlates negatively with your old rating Disclaimer: this is a shitpost, but a reproducible one. Instead of making observations where I needed to today (problems DEF), I noticed that some IOIers and high-peak-rating acquaintances of mine solved E but struggled with D, even though the submission counts point to D being the easier problem. So I decided to dig deeper. ### The setup Round 1137 (Div. 2) had 2878 official participants. D was solved by 721 people and E by 231. D and E were both worth 2000 points. Two groups solved A, B, C and E: - **ABCE**: no D, 45 people. Strictly fewer problems. - **ABCDE**: 166 people. Strictly more problems. Then I asked the Codeforces API one question: what were these people rated *before*? | Rating on Nov 22 of… | ABCE (fewer problems) | ABCDE (more problems) | Gap | p (permutation) | |---|---|---|---|---| | 2022 | 1736 | 1393 | **+343** | 0.04 | | 2023 | 1768 | 1298 | **+469** | <0.0...
*All data from the Codeforces API. Ratings 2 years back are reconstructed from rating changes.*, Then I asked the Codeforces API one question: what were these people rated *before*?

Полный текст и комментарии »

  • Проголосовать: нравится
  • +11
  • Проголосовать: не нравится

107.
Автор WillTheBill, история, 4 года назад, По-английски
What If... Virtual Contests were REAL? [cfscripts] Hey everyone! ![The What If? script simulating official/unofficial/virtual contest rating changes](/predownloaded/28/05/28056eb2c40af0aa2512903ba3270957cb6ad3f1.png) With inspiration from * the great [research](https://codeforces.me/blog/entry/86596) by [user:galen_colin,2022-06-25]. * [user:MiuraMiuMiu,2022-06-25]'s [Codeforces Anytime](https://codeforces.me/blog/entry/83122). * ... and of course the various Codeforces performance predictors! I proudly present **cfscripts**. *cfscripts* is a collection of scripts for Codeforces that uses the [cf-API](https://codeforces.me/apiHelp) to do different things. For instance, *cfscripts* includes a script named **What If?** (yes, very fancy), which allows you to **simulate Codeforces contest rating changes** over time, but **including virtual and unofficial contests**. You can choose to include only positive rating changes (this feature is dedicated to [user:galen_colin,2022-06-25]).<br/> &nbsp;&nbsp;&nbsp;You may ask: *...
the [cf-API](https://codeforces.me/apiHelp) to do different things., Additionally, there is also a (currently) small "library" for interfacing with the cfAPI., As many other cf users, I have made several scripts using the wonderful API, and I finally thought, I should mention that even though the web-requests to the cf-API gets cached (yes, I spend the time

Полный текст и комментарии »

  • Проголосовать: нравится
  • +42
  • Проголосовать: не нравится

108.
Автор alfadel, история, 7 лет назад, По-английски
What is new in KONTESTS? Hello Codeforces, More than one year ago I started working on KONTESTS, a [Competitive Programming Contests Schedule](https://codeforces.me/blog/entry/60798). After that we published [KONTESTS browser extension](https://codeforces.me/blog/entry/63611) built on top of [KONTESTS APIs](https://kontests.net/api) which is available on [Mozilla Firefox](https://addons.mozilla.org/en-US/firefox/addon/kontests) and [Google Chrome](https://chrome.google.com/webstore/detail/kontests/agpdemlkalmmeenclchlajdcmbcacoea) browsers. Now, after more than one year, [KONTESTS](https://kontests.net) supports more than 10 online judges: 1. [CodeForces](https://codeforces.com) 2. [CodeForces::Gym](https://codeforces.me/gyms) 3. [TopCoder](https://topcoder.com) 4. [AtCoder](https://atcoder.jp) 5. [CS Academy](https://csacademy.com) 6. [CodeChef](https://codechef.com) 7. [HackerRank](https://hackerrank.com) 8. [HackerEarth](https://www.hackerearth.com) 9. [Kich Start](https://codingcompetit...
. We optimized the contests loading procedure and reduced the API requests from 11 requests (1

Полный текст и комментарии »

  • Проголосовать: нравится
  • +50
  • Проголосовать: не нравится

109.
Автор Agnimandur, история, 6 лет назад, По-английски
CSES Problem Set: Now on Codeforces! Hi Codeforces, Many of you know about the [CSES Problem Set](http://cses.fi), an online collection of over 300 competitive programming problems made by [user:pllk,2021-02-17]! I have decided to clone _all_ the CSES problems onto Codeforces! Each CSES category will be its own separate gym contest, listed below. - Introductory Problems (19 problems) - [Sorting and Searching](https://codeforces.me/gym/102961) (35 problems) - Dynamic Programming (19 problems) - Graph Algorithms (36 problems) - Range Queries (19 problems) - Tree Algorithms (16 problems) - Mathematics (31 problems) - String Algorithms (17 problems) - Geometry (7 problems) - Advanced Techniques (24 problems) - Additional Problems I (38 problems) - Additional Problems II (39 problems) ![CSES Logo](/predownloaded/f6/f0/f6f0e86fb061ff07cda7c345feb0175382d57a35.png) There are two main reasons why I decided to do this project. #### Slow CSES Judge The CSES Judge is very slow, often resulting in correct so...
#### Codeforces API The Codeforces API is quite powerful. By adding these problems to gym contests

Полный текст и комментарии »

  • Проголосовать: нравится
  • +41
  • Проголосовать: не нравится

110.
Автор areo, история, 6 лет назад, По-английски
Google Code Jam Difficulty Estimation — 2021 Qualification Round **td,dr**: A 900, B1 1000, B2 1100, B3 1300, C1 1200, C2 1400, D1 1600, D2 1700, D3 2200, E1 1800, E2 2100. Have you been wondering what is the difficulty of Code Jam problems on a codeforces scale? me too. I made an estimate for the 2021 qualification round ([link](https://codingcompetitions.withgoogle.com/codejam/round/000000000043580a)), and I plan to do it also for the upcoming rounds. This is the best estimate I came up with, but I am sure it's possible to do better. I share here the process and the results, and I welcome any feedback. ### Data I use two data sources: - CJ contest result data, downloaded using [user:vstrimaitis,2021-04-02] code, see details in his great [blog post](https://codeforces.me/blog/entry/66891). From here I get the list of contest participants and what problems they solved. - CF users data, downloaded using [CF API](https://codeforces.me/apiHelp/methods#user.ratedList). From this, I get the current rating of ever...
- CF users data, downloaded using [CF API ](https://codeforces.me/apiHelp/methods#user.ratedList

Полный текст и комментарии »

  • Проголосовать: нравится
  • +85
  • Проголосовать: не нравится

111.
Автор zibada, история, 4 года назад, перевод, По-русски
Google Code Jam Archive <img src="/predownloaded/7f/8d/7f8d55b1b894353c4dff1090934435ce67afc0b5.png" style="float: right; width: 274px"/> Привет всем. Как многие уже знают, гугл закрывает Google Code Jam и Kick Start, а в июле и вовсе удалит сайт со всеми архивами. Будет грустно, если все это бесследно пропадет, поэтому я взял и буквально скачал весь гугл. Все 205 таблиц результатов, 716 задач со всеми изображениями, разборы, тесты, посылки (3547830 файлов) &mdash; все, до чего смог дотянуться. Из полученных данных собрал свой архив: https://zibada.guru/gcj/ С подсветкой разных языков, быстрым просмотром решений, статистикой по задачам, никами на Codeforces и dark mode. Это статичный сайт на чистом HTML, который можно полностью скачать себе; все архивы в сумме занимают около 3 ГБ. Страницы с задачами на удивление прилично распечатываются в PDF, если кому удобнее такой формат. <s>Дальнейшие планы: ровно <i>один</i> большой апдейт после Farewell rounds в апреле, добавлю их, Hash Code, и мо...
только активные участники из-за ограничений API Codeforces). Если кто-то знает, где можно раздобыть

Полный текст и комментарии »

  • Проголосовать: нравится
  • +433
  • Проголосовать: не нравится

112.
Автор Adhami, история, 8 лет назад, По-английски
Educational Rounds Wrapper — Python Script If you ask a Jordanian competitive programmer for a training advice, there is 98% chance that he would recommend you to solve Educational Rounds, ask [user:Hiasat,2019-03-14]. However, getting your progress in Educational round tracked is hard, so here it comes! I wrote this script way before, but my friends recently encouraged me to post it. It gets every Educational Round and what you have already solved in it. ``` import urllib.request, json import datetime s = [] w = [] with urllib.request.urlopen("https://codeforces.me/api/contest.list") as url: data = json.loads(url.read().decode()) for x in data["result"]: if x["name"].startswith("Educational"): w.append(x["name"]) s.append(x["id"]) e = [""]*len(w) #Edit this line to your handle: USER_NAME = "CPX" with urllib.request.urlopen("https://codeforces.me/api/user.status?handle="+USER_NAME) as url: data = json.loads(url.read().decode()) for x in data["result"]: if "verdict" in x and "contestI...
://codeforces.com/api/contest.list") as url: data = json.loads(url.read().decode()) for x in data

Полный текст и комментарии »

  • Проголосовать: нравится
  • +87
  • Проголосовать: не нравится

113.
Автор CodeLegendX, 2 года назад, По-английски
CF Helper: A Python Library **cf-helper** is a Python library designed to simplify interaction with the Codeforces API. It abstracts the complexity of API calls, making it easy to fetch user data, contest information, problems, standings, and more. ### Features - #### Fetch user details like rating and rank: ~~~~~ print_user_info(handle="YourHandle") ~~~~~ - #### Get the latest submissions: ~~~~~ print_user_status(handle="YourHandle", noOfEntries=2) ~~~~~ - #### Find problems by tag or rating: ~~~~~ print_problems(noOfEntries=3, tags="dp", rating=1900) ~~~~~ - #### Find problems you haven’t solved yet: ~~~~~ print_unattempted_problems(handle="YourHandle", tags="dp", rating=1600, noOfEntries=3, chooseRandom=True) ~~~~~ - #### Discover upcoming contests: ~~~~~ print_upcoming_contest() ~~~~~ - #### Fetch virtual contests based on your preferences: ~~~~~ print_virtual_contests(handle="YourHandle", contest_type="Div. 2", noOfContest=2,...
**cf-helper** is a Python library designed to simplify interaction with the CodeforcesAPI. It, - #### API Key Setup (Optional) To access private API endpoints (e.g., friends list), generate

Полный текст и комментарии »

  • Проголосовать: нравится
  • +10
  • Проголосовать: не нравится

114.
Автор dragonslayerx, 11 лет назад, По-английски
Codeforces Classifier & Importer Tool Hi fellow coders, Recenty I was searching for a tool that could import my Codeforces submissions and categorize them based on their tags. The aim was to recognize my weak areas and work more towards them. Finally, I decided to build something on my own. Codeforces Importer is a script written in python that uses Codeforces API to fetch user submissions category- wise. It import user submission statistics using Codeforces API, imports their source-codes and perform their categorization based on their codeforces tags. Github Link to the project : [https://github.com/dragonslayerx/CodeforcesImporter](https://github.com/dragonslayerx/CodeforcesImporter) Readme: [https://github.com/dragonslayerx/CodeforcesImporter/blob/master/README.md](https://github.com/dragonslayerx/CodeforcesImporter/blob/master/README.md) The submissions source codes are imported to a local directory and a HTML page where links to problem, submission at Codeforces and imported source-code are pr...
providing Codeforces API that helped us making this tool., Codeforces Importer is a script written in python that uses Codeforces API to fetch user

Полный текст и комментарии »

  • Проголосовать: нравится
  • +148
  • Проголосовать: не нравится

115.
Автор terraformer, история, 7 лет назад, По-английски
4 online-judge-tools features you might have missed Do you use [online-judge-tools](https://github.com/kmyk/online-judge-tools)? If not, I believe it is valuable tool to try. Your operation in competitive programming will become automated and the competition programming experience will be comfortable. Good tutorial is [here](https://online-judge-tools.readthedocs.io/en/master/introduction.en.html). `online-judge-tool` seems simple. It is consists of just 4 subcommands (`login`, `download`, `test` and `submit`). But if you execute `oj test --help`, you can find about 20 command line options for `oj test`. Other subcommand (`login`, `download` and etc.) also have many command line options. Actually, these are many features. Therefore, today I want to introduce my favorite online-judge-tools features. ## 1. Side-by-Side diff This is very new feature for `oj test`. Sometimes, finding differences between your answer and expectation is cumbersome task. For example, ``` $ oj test -c './a.out' [*] 1 cases found ...
## 4. API

Полный текст и комментарии »

  • Проголосовать: нравится
  • +38
  • Проголосовать: не нравится

116.
Автор pani.natalia, 5 лет назад, По-английски
Codeforces.com according to SimilarWeb SimilarWeb is a platform for web analytics. It allows you to collect data for any sites even when you are not their owner. It is an expensive tool but some features are available for free for the start period. When I tested how it worked naturally I chose 'Codeforces.com' for my exercises:-) The very first picture surprised me. ![ ](/predownloaded/62/94/6294abec93786c0c5b263422b45c931cac5f8088.jpg) [cut] _._ I remembered for sure that the top 5 countries with the great amount of users are India 34063 China 15750 Russia 10343 Bangladesh 8453 Egypt 3729 I counted these values by code but you can see them on RATING page. There is a table with more details as well, in free version only the first 10 rows are available: ![ ](/predownloaded/c1/d6/c1d6597262acae6be5402ced5c8f939add332c48.jpg) I should admit it is my favorite diagram. I really enjoy data in the Country rank column. Isn't it coo...
Using Codeforces API I counted the number of users who participated in rated contests during the

Полный текст и комментарии »

  • Проголосовать: нравится
  • +123
  • Проголосовать: не нравится

117.
Автор geekypandey, история, 6 лет назад, По-английски
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...
[codeforces api][codeforces-api] for fetching information. - The contests information is statically stored, ://vuejs.org/ [github-pages]: https://pages.github.com/ [codeforces-api]: https://codeforces.me/apiHelp

Полный текст и комментарии »

  • Проголосовать: нравится
  • +129
  • Проголосовать: не нравится

118.
Автор um_ashit, история, 11 месяцев назад, По-английски
A Christmas Gift for CP: CodeMentor ## CodeMentor: Your AI-Powered Companion for Competitive Programming Hi Codeforces! I'm excited to share **CodeMentor** &mdash; a Chrome extension I built that gives you progressive AI hints and explanations when you're stuck on problems, without spoiling the solution. It's designed to help you learn and grow, whether you're practicing for contests or preparing for interviews. ## What It Does **For Codeforces & CodeChef (Competitive Programming):** Get progressive hints to improve your CP skills without spoiling solutions. Perfect for when you're stuck during practice or want to understand a problem better after a contest. **For LeetCode (Interview Preparation):** Get detailed explanations and hints to understand problems better for technical interviews. Learn problem-solving patterns and approaches that interviewers look for. --- ## Features That Will Help You ### Progressive AI Hints & Explanations **The Problem:** You're stuck on a problem. You've been sta...
servers - **API keys encrypted** — Your API keys are encrypted and stored securely - **Direct

Полный текст и комментарии »

  • Проголосовать: нравится
  • +55
  • Проголосовать: не нравится

119.
Автор Saurav_Paul, история, 6 лет назад, По-английски
Command-line virtual-assistant for competitive programming. It is a terminal-based virtual assistant especially made for competitive programming. It has a lot of features, including running python or c++ file, parsing problem set with test cases and test against all the cases in one click, test with brute force solution, and many more. It will help you to boost your programming skill and help you to do a good performance in the programming contest. It can give voice reply and take your voice command. You can turn off or on these features. Basic settings can be easily changed from config option. For installing write the given commands, > pip3 install wheel and > pip3 install ai-virtual-assistant I recommand after installing checkout the config file. The config can be open by the given command, > jarvis -config ![Welcome Screen](/predownloaded/89/f3/89f33319c633e554ca00348b4a5bc41983f030c3.png) ## Programming Features - [x] [Run c++ or python program] - [x] [Competitive Companion Support] - [x] [parse proble...
N.B.: I have used online-judge-api-client for login and submitting codes.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +112
  • Проголосовать: не нравится

120.
Автор Lever, история, 7 недель назад, По-английски
How to be able to propose a contest without talent With the new change, and the clarifications it is now possible to set without having talent. The following are claims which will be referenced: 1: We consider "competency" to be the ability to get 1600+, and "talent" to be the minimum description for someone that can get 1900+ 2: We may safely assume that EV of reaching blue for anyone competent(1) is <=6 months, i.e. you should be expected to get blue every 6 months. 3: If you are not competent(1), this is likely not because of innate problems, you just need to practice more and put in effort. 4: I claim we can add two expected values together despite their independence, it seems to work but I have no proof for this. As such, For someone to reach blue k times with EV 6 months, we can expect them to reach blue k times in 6*k months. 5: As stated we interpret the threshold for being able to propose a contest to be 6: Unlike competency, talent is innate and I could write a whole research paper on it (let me know if you'...
Note: this is not real code, and does not align with api, it just gives an understanding of what

Полный текст и комментарии »

  • Проголосовать: нравится
  • -21
  • Проголосовать: не нравится

121.
Автор jamjury, история, 14 месяцев назад, По-английски
Memory-mapped stdout In [my last blog post](https://codeforces.me/blog/entry/130391) I wrote about mapping stdin into memory. This time we're going to be mapping stdout. Firstly, we need to get a handle to stdout. That's easy enough with Win32 API [GetStdHandle](https://learn.microsoft.com/en-us/windows/console/getstdhandle): ~~~~ HANDLE Stdout = GetStdHandle(STD_OUTPUT_HANDLE); ~~~~ Alternatively we could directly use NT API [NtCurrentTeb](https://learn.microsoft.com/en-us/windows/win32/api/winnt/nf-winnt-ntcurrentteb), which `GetStdHandle` uses under the hood, but it's a little more lengthy: ~~~~ HANDLE Stdout = NtCurrentTeb()->ProcessEnvironmentBlock->ProcessParameters->StdOutputHandle; ~~~~ Next we need to map our file into memory. Windows (or any other platform) doesn't support write-only pages, so we have to map into read-write pages. Let's try to follow what we did for stdin ([CreateFileMapping](learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-createfilemappinga)): ...
use escapes: `"\\\\?"`). Alternatively we can use the underlying NT API [NtOpenFile](https, Again we could instead directly call NT API that `GetFinalPathNameByHandleW` uses under the hood, Alternatively we could directly use NT API [NtCurrentTeb](https://learn.microsoft.com/en-us/windows, First, let's get the name of the output file. We can do it with Win32 API, Firstly, we need to get a handle to stdout. That's easy enough with Win32 API [GetStdHandle](https, Now we need to open this file. Win32 API function for this is [CreateFile](https

Полный текст и комментарии »

  • Проголосовать: нравится
  • +4
  • Проголосовать: не нравится

122.
Автор limed, история, 9 лет назад, По-английски
Java 9 for Competitive Programming As Java 9 has been released few days ago, I went through the [What's New](https://docs.oracle.com/javase/9/whatsnew/toc.htm) to see if there is something useful in the context of Competitive Programming. And I didn't find much, just these few enhancements: - new static factory methods on the List, Set, and Map interfaces (returning immutable instances of those collections), for example: `Set<String> alphabet = Set.of("a", "b", "c");` - internal String representation as array of bytes (8 bit) instead of array of chars (16 bit) in case the string contains only Latin-1 characters (which is normally the case in Competitive Programming); this would reduce memory consumption almost by half in String problems, and I wonder what would be the impact on performance; - JShell (aka REPL in some other languages) for executing small pieces of code / bruteforce solutions (thanks [user:bhishma,2017-09-23] for suggesting this). Also, there are some new standard library methods not mentioned...
- [Arrays.compare](http://download.java.net/java/jdk9/docs/api /java/util/Arrays.html#compare, - [Arrays.equals](http://download.java.net/java/jdk9/docs/api /java/util/Arrays.html#equals-int:A, - [Arrays.mismatch](http://download.java.net/java/jdk9/docs/api /java/util/Arrays.html#mismatch, - [Math.fma(a, b, c)](http://download.java.net/java/jdk9/docs/api /java/lang/Math.html#fma-double

Полный текст и комментарии »

  • Проголосовать: нравится
  • +65
  • Проголосовать: не нравится

123.
Автор CinCout21, история, 18 месяцев назад, По-английски
Codeforces Future Rating Predictor — Visualize Where You're Headed #### **What this app does** Plots your entire rating history from your very first contest and overlays a fitted regression curve (linear, quadratic, or cubic) to best approximate your rating trend [Projected curve fit into your rating chart](/predownloaded/3a/06/3a06351d1ffbe3526d7a6add7b6026053b4e063a.png) [Actual contest rating changes in all the contests a user has participated in so far](/predownloaded/be/65/be652a3cc4ddfa320c6bdb45b7e503eff87478d5.png) [Hover over the projected curve to see the predicted ratings at each timestamp/date till December 2025](/predownloaded/ed/1c/ed1ca4a08ace5d4756eacc0cf27dc87f880b81c2.png) Predicts your future rating month-by-month until December 2025. [Future Rating Predictions (Monthly till Dec 2025)](/predownloaded/a3/72/a372b1f8268f5d20fe794493242e88161703ddda.png) #### **Approach** **1. Fetches a user's entire contest history** : [Codeforces RatingChange API](https://codeforces.me/apiHelp/objects#RatingChange) Each co...
**1. Fetches a user's entire contest history** : [Codeforces RatingChange API ](https

Полный текст и комментарии »

  • Проголосовать: нравится
  • +21
  • Проголосовать: не нравится

124.
Автор thebvog, 12 лет назад, По-русски
Небольшая утилита для Codeforces API на Python С появлением CodeForces API стало проще реализовать различные идеи, которые раньше можно было сделать только через парсинг. Предлагаю вашему вниманию небольшую утилитку на Python-е. Изначально она писалась под conky и парсила список контестов, но сейчас, с появлением API, появилась возможность выделить работу с ним в отдельный класс. Из старого функционала пока позволяет только просматривать через conky текущую информацию о пользователе и грядущих контестах, скоро допилю оставшуюся с хаками и таблицей результатов. Поэтому кому нужно отображение информации в conky или просто класс для работы с CodeForces API, надеюсь [пригодится](https://github.com/thebvog/cfclass). [cut] Запуск: ~~~~~ conky.py [options] ~~~~~ Пример для конфигурации conky (обновляется каждые 30 минут): ~~~~~ ${execpi 1800 python ~/cfclass/conky.py --next-contest-list --div1 --hr --colors} ~~~~~ Параметры: - --next-contest-list &mdash; список грядущих контестов - --user-info handle,...,han...
Небольшая утилита для Codeforces API на Python, С появлением CodeForces API стало проще реализовать различные идеи, которые раньше можно было

Полный текст и комментарии »

  • Проголосовать: нравится
  • +39
  • Проголосовать: не нравится

125.
Автор Seryi, история, 4 года назад, По-русски
Как расширить класс задач в спортпроге, не теряя объективности и упростив жизнь организаторов **Кто я такой?** занялся ACM ICPC в 2006-м уже студентом, 5 раз съездил на полуфинал, потренировал команды провинциального ВУЗа, провел несколько лагерей для школьников от нулевого уровня и выше, многократно участвовал в организации региональных соревнований (Олимпиада ЮФУ aka Чемпионат Юга РФ aka GP of Azov Sea &mdash; Opencup). В последние годы занимаюсь карьерой, поэтому активно в спортпроге не участвую, но периодически продолжаю помогать в проведении соревнований в Таганроге. **Зачем высказываюсь?** Всё чаще ловлю себя на мысли, что спорт.прог не успевает за быстро меняющимся миром и становится труднее находить аргументы для студентов им заниматься. Со школьниками, наверное, попроще, но это лишь вопрос времени. Понимают ли эту проблему те, кто организуют ICPC, школьные олимпиады и т.д. &mdash; я не знаю, так как в деятельность сообщества активно не вовлечен. Вполне вероятно, что всё что я скажу дальше уже многократно обсуждалось здесь или в коридорах ИТМО, а может быть уже и ре...
rounds, a testing ground, etc. it doesn't look very big. It is quite possible that the existingAPI, , полигон и т.д. она не выглядит очень масштабно. Вполне возможно, что существующийAPI уже позволяет

Полный текст и комментарии »

  • Проголосовать: нравится
  • +32
  • Проголосовать: не нравится

126.
Автор SecondThread, история, 6 лет назад, По-английски
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...
you have a submission that is judging. It uses the CF API and I did my best to make sure it is as

Полный текст и комментарии »

  • Проголосовать: нравится
  • +197
  • Проголосовать: не нравится

127.
Автор megaspazz, история, 4 года назад, По-английски
Visualize your ranking as a function of time into the contest! I have always been curious about my ranking in the leaderboard as a function of time, since I have always suspected that I am rather slow on easy problems. To learn Angular, I built a web app that displays your ranking throughout any given contest. If you are interested, please give it a try: https://megaspazz.github.io/CodeRank/ As of now, it works with normal CF rounds and ICPC-style rounds; it should *probably* work with IOI-style contests, but they seem to be rare on Codeforces. It doesn't really work for marathon-style contests. Example screenshot: ![Example screenshot](/predownloaded/61/f2/61f229357e8579e17752bcf517be12adb1729007.png) Some notes: 1. Codeforces API sometimes doesn't report hacks for contests, for example [API link](https://codeforces.me/api/contest.hacks?contestId=1198) for [contest:1198] seems to always report an internal error. 2. It's hosted serverless on Github pages, so I manually pre-process all of the contests so that the JSON only ...
1. Codeforces API sometimes doesn't report hacks for contests, for example [API link](https

Полный текст и комментарии »

  • Проголосовать: нравится
  • +188
  • Проголосовать: не нравится

128.
Автор forrealtho, история, 5 недель назад, По-английски
[Tool] CommitForce: auto-sync your Accepted solutions to GitHub (no open tab, contest-safe) Hey Codeforces, Like many of you, I wanted an automated, hands-off way to back up all my Accepted solutions to GitHub so I could review my progress over time. However, after trying existing extensions out there, I kept running into recurring issues: * **Requiring an active Codeforces tab session:** Many tools rely on content scripts scraping the DOM. If you practice using CLion/VS Code, close your tabs, or submit through tools like Competitive Companion, sync fails. * **Hidden tabs popping up:** Some tools spawn pinned/hidden tabs (`chrome.tabs.create`), which break with `ACCESS_DENIED_ERROR` on contest submissions. * **Overwriting solutions:** Most tools key by Problem ID (e.g. `1872A.cpp`). If you solve a problem with brute force and later rewrite an optimized $O(N \log N)$ version or port it to Rust, your earlier Accepted attempt gets overwritten. * **Plagiarism risk:** Pushing solutions immediately to a public repository during live rated contests creates a real r...
alphabetically by name (including `apiKey` and `time`). `SECRET` is your CodeforcesAPI secret., manually load the release ZIP via `chrome://extensions`. - You need to create a CodeforcesAPI key and, #### 1. Zero Open Tabs Required (Cryptographic API Signing) CommitForce does not touch the DOM or, Because requests are cryptographically authenticated with your CF API credentials, Codeforces

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

129.
Автор Flatfoot, 14 лет назад, По-английски
How to sort arrays in Java and avoid TLE **Abstract** Below I will describe how to avoid TLE (timelimit exceeded) when sorting an array in Java. I will describe two methods. **Introduction** When trying to sort an array in Java it is convenient to use Arrays.sort(): ~~~~~ long[] arr = {5,3,4,2,1}; Arrays.sort(arr); // after sorting print arr ~~~~~ However, this method uses quicksort if the array contains elements of primitive datatype such as long or int. Quicksort has on average a runtime of $O(n \log(n))$, but keep in mind that the worst-case runtime is $O(n^2)$ for arrays that are almost sorted. As a consequence you can get a TLE (timelmit exceeded) by the online judge. Below are two methods that avoid this issue. **Method 1: Use objects (wrapper class)** We will use the wrapper class `Long` of the primitive datatype `long`. Given an array `long[] arr` we will introdue an array `Long[] arr_obj`. While `long[] arr` is sorted with quicksort `Long[] arr_obj` is sorted with mergesort which has a w...
[3] Java doc on [quicksort](http://docs.oracle.com/javase/7/docs/api /java/util/Arrays.html#sort

Полный текст и комментарии »

  • Проголосовать: нравится
  • +31
  • Проголосовать: не нравится

130.
Автор orz, история, 2 года назад, По-английски
Codeforces: Entertaining Statistics Hello! Recently I published two posts [one](https://codeforces.me/blog/entry/133624), [two](https://codeforces.me/blog/entry/133623) featuring users that were first, second, etc. to reach some rating value. The reason I was able to create these posts was that preliminarily I downloaded all users' rating change history via [Codeforces API](https://codeforces.me/apiHelp). It took some time, but now, when the job is done, I have more than 700000 files, in each one of them a json is stored which represents one user's full rating change history (as an array, and each change consists of the old rating, the new rating, contest name, link and date, taken place and probably something else). I feel a slight feeling of something left unsaid/undone. Probably, because, even though I built that tables, I did not use 99.9% information at all. That simply means that more can be done now! Could you please suggest some ways to aggregate this data and get some entertaining results? For instan...
change history via [Codeforces API](https://codeforces.me/apiHelp). It took some time, but now, when

Полный текст и комментарии »

  • Проголосовать: нравится
  • +24
  • Проголосовать: не нравится

131.
Автор .I., история, 2 года назад, По-английски
Separate "speed rating" that disregards rated ranges? It generally seems that many GMs and even LGMs (and tourists!) still participate in all rated ranges unofficially (even div4 contests for some reason). It also seems that many div2 hardest problems are way harder than any reasonable "actual div2 participant" should be able to solve (hello 3000+ rated problems in div2). However there is very little gamification around such unofficial participation: - Unrated, duh. - Under your profile, the rank is shown as "—" - So can't even track your historical best rank and compete with that etc. - Even in the specific contest standings, there is one checkbox "show unrated". Virtual participants are shown in the same category as official-but-out-of-bounds div1 contestants. So basically if you want to hide that idiot gray virtual participant who submitted somebody else's code for all problems at 00:00 and won first place, you will also hide all div1 participants (including yourself). - So can't even reliably check what rank you got...
API or how easy it would be to implement reliably.)

Полный текст и комментарии »

  • Проголосовать: нравится
  • +72
  • Проголосовать: не нравится

132.
Автор Igorjan94, история, 2 года назад, По-английски
Who participated most? [Online version] After seeing [user:Temirulan,2024-08-12]'s [post](https://codeforces.me/blog/entry/132456) about question in the title I decided to rescrap this data myself using my ts sdk, but seconds later I realised, that I can just add this data online into [comment/blog/user statistics](https://codeforces.igorjan94.ru/index/users?field=contestsTotal). So, couple of hours implementing, couple of hours waiting for all contests proceeded and I got exactly the same table as in original post, but pretty accurate (<a class="rated-user user-green" href="/profile/Ruban" title="Pupil ruban">Ruban</a> has 1164 contests on his profile page and my DB contains 1163 contests, <a href="/profile/kmjp" title="Гроссмейстер kmjp" class="rated-user user-red">kmjp</a>'s count matches perfectly) and online: this data should be updated every day unless API is unavailable. I believe that this small descripancy is because of Technocup rounds (e.g. contestId 1595-1597) for which API gives 400 error (`contestId: Conte...
which API gives 400 error (`contestId: Contest with id 1595 not found`). I don't know why CF has

Полный текст и комментарии »

  • Проголосовать: нравится
  • +15
  • Проголосовать: не нравится

133.
Автор xinchengo, история, 4 года назад, По-английски
Please be friendly to remote judging services Codeforces has recently adopted Cloudflare for security reasons. As a consequence, it brought some trouble to some remote judging providers. For example, the most popular ones, Vjudge and Luogu, can no longer scrape problem statements. Many Chinese competitve programmers are used to submitting Codeforces problem remotely, either to look for translation or to track their progress. Although bot accounts do cause problems (topping the 'Most solved' page), they never become dominant. Instead, remote judging services are just like CLI clients, they only increases the popularity of Codeforces. Users of remote judging services make up a large part of Codeforces contestants. Codeforces has always been generous and provides an extensive set of APIs, which is uncommon among online judges. So I don't think Codeforces is cracking down on remote juding services on propose. Is it possible for Codeforces to release an API for problem statements or specially treat bot accounts? Please be friendl...
Is it possible for Codeforces to release an API for problem statements or specially treat bot

Полный текст и комментарии »

  • Проголосовать: нравится
  • +264
  • Проголосовать: не нравится

134.
Автор Amao_Fox, история, 2 года назад, По-английски
The Rating table History versions: [here](https://www.luogu.com/paste/46w0g5p4), link from Luogu. If this project is successful I'll make a similar table for Luogu. [This](/blog/entry/126802) is someone else's chart. Due to the exclusion of interfering factors, the persuasiveness is stronger. (But I will still insist on making this less convincing version) ![This is the CF table](/predownloaded/74/63/7463fe1cc1e90382d7762dda1db5caad79314d0a.png) The columns: name = name, min = min, max = max, total = there're how many people in front of this line, current = there're how many people with you in this zone, proportion = proportion. Guess where you are? <spoiler summary="The AtCoder Table"> ![This is the AtC table](/predownloaded/2b/a9/2ba998c3fae22cbf223911474a56707527087156.png) </spoiler> I made this thing purely out of boredom, and it would be my honor if it could be helpful to you. I hope I will remember to update it every month. <spoiler summary="Fun Facts:"> - Due to the stra...
- Due to the strange api of Codeforces, I think the best way to

Полный текст и комментарии »

  • Проголосовать: нравится
  • +214
  • Проголосовать: не нравится

135.
Автор Tareq_Ali, история, 6 недель назад, По-английски
Organized C++ Ordered Set and Multiset Hello everyone! After a long break from competitive programming, I’m back with something I wanted to have ready in my template: an ordered set and multiset with a clean member-function interface. One of the main reasons I created this project was to support the competitive programming community at Latakia University (Previously Tishreen University). I wanted contestants to have a reusable ordered-set and multiset template they can keep in their own templates and adapt to their problems. The project is **Organized C++ Ordered Set**. You can write `ordered_set<int>` or `ordered_multiset<int>`, access sorted ranks with `s[i]`, and use normal-looking bounds and erasure functions. It uses GNU PBDS with a strict comparator, including when duplicates are present. [Code, examples, and complete API reference](https://github.com/Tareq-Ali-1998/Organized-CPP-Ordered-Set) [GitLab mirror](https://gitlab.com/tareqali591998/organized-cpp-ordered-set) ## Usage first ```c++ ordere...
[Code, examples, and complete API reference](https://github.com/Tareq-Ali-1998/Organized-CPP

Полный текст и комментарии »

  • Проголосовать: нравится
  • -2
  • Проголосовать: не нравится

136.
Автор onepersonintheuniverse, история, 8 месяцев назад, По-английски
Contest imbalance metrics # The origins of the idea So, I participated in [contest:2210] recently and solved ABC1, and when I moved on to C2 I thought to myself "wow, that's a big difficulty jump!" # The process After the contest was over, I also thought about whether there is a way to put a number to this, and after a bit of thinking, I came up with the following process: - Take the solve counts of each problem (the green numbers at the bottom of the Standings page). Call it $\mathrm{solves}$. This is used as an estimation for how easy the question was. - Say that there are $n$ problems. Define the array $\mathrm{ratios}\left[i\right] = \frac{1+\mathrm{solves}\left[i\right]}{1+\mathrm{solves}\left[i+1\right]}$. (The $1+$ part is to prevent division by zero.) - The imbalance is calculated as $\mathrm{stdev}\left(\ln\left(\mathrm{ratios}\right)\right)$. So I decided to test this method on some recent contests. After playing around, I decided that this function was good to use and then I wanted to make...
- Query the Codeforces API for standings information. - For each participant, if their score is

Полный текст и комментарии »

  • Проголосовать: нравится
  • +18
  • Проголосовать: не нравится

137.
Автор i_pranavmehta, 3 года назад, По-английски
The 75 Hard coding challenge! Hi Coders! I hope everyone of you is doing great! A member of my Discord server [user:BadalArya,2023-09-13] recently came up with an idea to conduct a 75 Hard challenge (similar to the fitness one) for coding. I am excited to announce that we have concluded the development of the bot and have integrated it to our discord server to help coders track their progress for this challenge. This is how the challenge looks: 1. The bot provides 2 problems daily to each user (who ask for the challenge using the command ";hard75 letsgo"). These problems are based on the users cf rating (one problem is of the same rating and other is of +200 level NOTE: both these ratings are rounded to nearest 100). 2. On completion the user has to instruct the bot to check the progress using the command ";hard75 completed", the bot then checks whether user has completed both the problems on codeforces and accordingly saves his progress and the streak. 3. On completion of 75 days the bot would acknowledge t...
soon to make any bold claims). There was one unfortunate incident- codeforces api was down for the

Полный текст и комментарии »

  • Проголосовать: нравится
  • +85
  • Проголосовать: не нравится

138.
Автор DrSwad, 8 лет назад, По-английски
How are Solutions Executed in an OJ? Hello Codeforces! It's been long since I last had the fun of any serious programming(being all night awake with loud music on headphones and lots of snacks infront) due to admission studies. I'm missing it a lot. So after the exams are done I wish to improve MathMash a lot and also start a pet project of some sort. First thing that came to my mind is to build a small cute OJ. I'm aware that we have plenty of OJs already and they are more than enough helpful. So this project won't be of much use to anyone. But it'll be fun to design and build an entire OJ from scratch and also learn lots of new stuff along the way. So I did a light research yesterday about what I might need to learn to build it. The first obvious thing needed is of course a way to execute submitted codes. I tried to go with the easiest option first: Using some third-party service/api so that I can give them the code and receive the output. But there doesn't seem to be any free option of this kind. Ideone used to p...
first: Using some third-party service/api so that I can give them the code and receive the output

Полный текст и комментарии »

  • Проголосовать: нравится
  • +48
  • Проголосовать: не нравится

139.
Автор Hushpuppy, история, 2 года назад, По-английски
Mean rating by country Data from: https://codeforces.me/api/user.ratedList?activeOnly=true&includeRetired=false. Only includes users who participated in at least one rated contest during the last month. <spoiler summary="sorted by count_users"> | country | mean_rating | count_users | |----------------------------------------------|-------------|-------------| | NA | 931.4580 | 47645 | | India | 1169.5392 | 9980 | | Bangladesh | 1000.9809 | 3029 | | China | 1571.9298 | 1824 | | Egypt | 1056.5970 | 1546 | | Russia | 1491.6832 | 764 | | Vietnam | 1311.1068 | 637 | | Syria | 1170.9259 | ...
Data from: https://codeforces.me/api /user.ratedList?activeOnly=true&includeRetired=false. Only

Полный текст и комментарии »

  • Проголосовать: нравится
  • +36
  • Проголосовать: не нравится

140.
Автор yevhenii_kanivets, история, 6 лет назад, перевод, По-русски
Codeforces WatchR 1.9.0 (Doyle): Authentication flow Hey, Codeforces! Since the last November, we've been off, but now we are back with a lot of cool stuff, so here is the update on what's new in Codeforces WatchR apps in [App Store](https://apps.apple.com/us/app/codeforces-watchr-contests/id1495591299) and [Google Play](https://play.google.com/store/apps/details?id=com.bogdan.codeforceswatcher). ![ ](/predownloaded/77/80/77803e14639f3d3035be0c2e82cfdadf85c91cea.png) Business-logic is moving to backend ----------------------------------- We introduced the backend two milestones ago, but only the "Newsfeed" feature was implemented before now. Other features were still handled directly by mobile apps using [Codeforces API](https://codeforces.me/apiHelp), which made them complicated and unstable in some cases. In particular, fetching followed users rating updates required many requests (one per user) whenever the user tried to refresh the list. It wasn't really scalable and stable enough, so the user experience was rather daun...
before now. Other features were still handled directly by mobile apps using [CodeforcesAPI](https, for mobile users. We are constantly querying [Codeforces API ](https://codeforces.me/apiHelp) to get, запрашиваем обновления через [Codeforces API](https://codeforces.me/apiHelp), чтобы получить последние, функционала "Новостей". Другие части приложения работали с [Codeforces API ](https://codeforces.com

Полный текст и комментарии »

  • Проголосовать: нравится
  • +39
  • Проголосовать: не нравится

141.
Автор Leeking, история, 2 месяца назад, По-английски
What happened to 1400+ Codeforces users from 2021 to now? I took every Codeforces user who (a) was rated **1400 or higher at some point in 2021** and (b) is **still competing** (active rated list, and at least one rated contest since 2025-01-01). That is **746 users**. I pulled their full rating histories from the public Codeforces API and measured the cohort at each major AI release that mattered for competitive programming. All numbers below come from `user.ratedList` and `user.rating`. Data was fetched on 2026-10-08. Charts and code are available on request. **Important caveat up front:** this post shows *what happened*. It does not show *why*. Rating trends have many causes, and I mark clearly where I'm speculating. ## How the cohort was built 1. `user.ratedList?activeOnly=true` returned 43,131 active rated users. 2. I kept those registered by the end of 2021 whose max rating is ≥ 1400: **1,600** candidates. 3. For each candidate I fetched `user.rating` and kept those whose rating was ≥ 1400 at any time in 2021 (including th...
**746 users**. I pulled their full rating histories from the public Codeforces API and measured the

Полный текст и комментарии »

  • Проголосовать: нравится
  • +44
  • Проголосовать: не нравится

142.
Автор MikeMirzayanov, 12 лет назад, По-русски
TODO: Хэш-таблица с открытой адресацией на C++ Добрый день. В конце декабря-начале января я писал прототип отдельного сервиса на C++, чтобы вынести из Java-кода Codeforces тяжелые данные в С++. Давненько я не писал на C++, испытал забавные ощущения погружения в другой мир. С удивлением обнаружил отсутствие в C++ хэш-мэпа с открытой адресацией в стандартной библиотеке, как впрочем и в boost-e, как впрочем и других нормальных библиотеках. Даже странно как-то, ведь правда же довольно часто открытая адресация будет делать разрешение коллизий цепочками как по времени, так и по памяти. А так как я предполагаю хранить мелкие объекты, то и наверняка. Я быстренько набросал прототип, который в самом деле показывает, что открытая адресация в раза 2-3 работает быстрее стандартного unordered_map, так что такой контейнер, наверняка, имеет смысл. Вот вывод бенчмарка на моём ноуте: ~~~~~ std::map takes 15779 ms std::unordered_map takes 4698 ms oaht::hash_map takes 1473 ms ~~~~~ Мне кажется, что нормальной реализации в stl-стил...
довести до ума такой контейнер. Конечно, хочется максимальной совместимости с unordered_map, чтобыAPI, ::unordered_map (API and semantics should be equivalent where it is possible). Here is a sample list of features

Полный текст и комментарии »

  • Проголосовать: нравится
  • +140
  • Проголосовать: не нравится

143.
Автор Leeking, история, 2 месяца назад, По-английски
LeekCF Rating 2.2.0 is out **Faster, blurred tags, rank colors, and settings!** Get it here: [Chrome Web Store](https://chromewebstore.google.com/detail/leekcf-rating/fnkoldggbbjmndapidpegfpkkokboklp) | [Firefox Add-ons](https://addons.mozilla.org/en-US/firefox/addon/leekcf-rating) Hi everyone! A new version of LeekCF Rating, the extension that shows a problem's rating without spoiling its tags, is now available. Here's what changed. **Tags are revealed one at a time.** Tags now appear blurred. If you're stuck, click a single tag to get one hint instead of seeing all of them at once. "Show All Tags" still works if you want everything. <img src="/predownloaded/17/ed/17ed535a4e02d9f921393ad389a13c191e43e0ab.png" width= 350px> <img src="/predownloaded/18/34/183465b775353548d9cd23edbaf814937058d433.png" width= 350px> **New display features.** The rating is now colored by Codeforces rank, from gray to red, and you can see how many people solved the problem. For fully blind practice, you can also hide ...
instantly. If the Codeforces API goes down, the extension uses the saved data instead of showing an error

Полный текст и комментарии »

  • Проголосовать: нравится
  • +37
  • Проголосовать: не нравится

144.
Автор nishanth_v, 12 лет назад, По-английски
[Coder's Calendar] Chrome extension for Competitive Programming Hi all, Coder's Calendar is a Chrome extension that I've made, which displays details of upcoming and ongoing coding competitions. It currently lists contests on Codeforces, Topcoder, Hackerearth, Hackerrank, Codechef, CSAcademy, AtCoder & Kaggle. Coder's Calendar is available for download at: - Chrome Extension : [https://chrome.google.com/webstore/detail/coders-calendar/bageaffklfkikjigoclfgengklfnidll][1] **Firefox Users**: [https://github.com/nishanthvijayan/CoderCalendar-Extensions#firefox][4] **Star the project on Github to show your support:** [https://github.com/nishanthvijayan/CoderCalendar-Extensions][2] [https://github.com/nishanthvijayan/CoderCalendar-API][3] Please comment if you find any bug or if you don't like any feature. ![ ](https://raw.githubusercontent.com/nishanthvijayan/CoderCalendar-Extensions/master/screenshots/cc-home.png) ![ ](https://raw.githubusercontent.com/nishanthvijayan/CoderCalen...
/CoderCalendar-Extensions][2] [https://github.com/nishanthvijayan/CoderCalendar- API][3], /nishanthvijayan/CoderCalendar-API [4]: https://github.com/nishanthvijayan/CoderCalendar-Extensions

Полный текст и комментарии »

  • Проголосовать: нравится
  • +236
  • Проголосовать: не нравится

145.
Автор yalniz, история, 15 месяцев назад, По-английски
CF Fetcher – A Simple Chrome Extension to Save Your Codeforces Progress Assalamualaikum, Greetins everyone! I recently built a Chrome extension called [CF Fetcher](https://chromewebstore.google.com/detail/cf-fetcher/pehfoogjijedipaehbibmjcajbcbimef) that helps you keep a clean record of all your accepted Codeforces submissions. At first, I made it just for myself using Python. But when some friends showed interest, I thought maybe others might find it useful too, so I turned it into a Chrome extension. The idea was inspired by a GitHub tool called [Harwest](https://github.com/nileshsah/harwest-tool), which hasn’t been working for me for a while, so I decided to build something similar. **How it works:** The extension creates a ZIP file that contains: - A main README file with all your accepted solutions. - A Codeforces folder with rating-wise subfolders. - Each rating folder has its own README showing the problems you solved in that rating. **Usage:** 1. Get API Keys: Go to Codeforces [Settings API](https://codeforces.me/settings/a...
1. Get API Keys: Go to Codeforces [Settings API ](https://codeforces.me/settings/api) and generate

Полный текст и комментарии »

  • Проголосовать: нравится
  • +7
  • Проголосовать: не нравится

146.
Автор Laggy, история, 8 лет назад, По-английски
Top ACPC 2018 teams (based on Codeforces rating) Since ACPC is coming up and we have [Teams participating in ACPC 2018](https://codeforces.me/blog/entry/62711) I used my api wrapper to build the table below: #### Rating Sums <spoiler> <table> <thead> <tr><th>Name</th> <th>University</th> <th>Country</th> <th>Members</th> <th>Total Rating</th></tr> </thead> <tr><td>Aurora</td> <td>Princess Sumaya University For Technology</td> <td>Jordan</td> <td>[user:Hiasat,2018-11-01] [user:Motarack,2018-11-01] [user:Light,2018-11-01] </td> <td>6623</td> </tr><tr><td>RadioaActive</td> <td>SVU</td> <td>Syria</td> <td>[user:JoudZouzou,2018-11-01] [user:Tomah4wk,2018-11-01] [user:kingofnumbers,2018-11-01] </td> <td>6579</td> </tr><tr><td>AKA AKA</td> <td>FCIS Ain Shams University</td> <td>Egypt</td> <td>[user:KhaledKEE,2018-11-01] [user:TripleM5da,2018-11-01] [user:Abdelrhman_Akram,2018-11-01] </td> <td>6341</td> </tr><tr><td>One More Time</td> <td>Cairo University &mdash; Faculty of Engineering</td> <td>Egypt</td> <td>[user:OmarHashim,2018-11...
/entry/62711) I used my api wrapper to build the table below:

Полный текст и комментарии »

  • Проголосовать: нравится
  • +36
  • Проголосовать: не нравится

147.
Автор ayushgirigoswami15, история, 7 месяцев назад, По-английски
Me and DeepSeek spent a weekend analyzing 8000 CF problems. Here's what we found # Me and DeepSeek analyzed 1600 Codeforces contests and 8000+ problems — some interesting patterns please check this result : https://ayushgirigoswami.github.io/codeforces_analysis_report/ A few weeks ago I got curious about something most of us probably notice intuitively but rarely measure properly: * Is Codeforces getting harder over time? * Which topics are becoming more common? * Are some problems overrated or underrated? * How different are Educational rounds from regular rounds? So I wrote a Python script that pulls contest/problem data from the CF API, analyzes ratings + tags, and generates interactive visualizations. ### Report https://ayushgirigoswami.github.io/codeforces_analysis_report/ ### Source code https://github.com/Ayushgirigoswami --- ## Dataset The analysis includes: * 1600 contests * 8354 rated problems * Div.1 / Div.2 / Div.3 / Div.4 / Div.1+2 * 2011 → present Average problem rating across the dataset: **1793** --- ...
1. Fetches contests/problems from the CF API 2. Performs statistical analysis 3. Generates, Fetching everything takes around 15–20 minutes because of API rate limiting., So I wrote a Python script that pulls contest/problem data from the CF API, analyzes ratings + tags

Полный текст и комментарии »

  • Проголосовать: нравится
  • +31
  • Проголосовать: не нравится

148.
Автор euclidstellar, история, 3 года назад, По-английски
now tweet your tweet from terminal TWT is a command-line tool written in Go that allows you to post tweets to Twitter directly from your terminal. Usage : 1. Obtain your Twitter API keys from the [Twitter Developer Portal](https://developer.twitter.com/). 2. Run `twt` in your terminal. 3. Use `twt -c` to configure your Twitter API keys. 4. Enter your Twitter API keys when prompted. 5. Enter your tweet content when prompted. github repo for more information : [TWT repo ](https://github.com/EuclidStellar/twitter-cli-golang) website : [website](https://twtcli.vercel.app) Installation Linux ```bash sudo curl -L -o /usr/local/bin/twt https://github.com/EuclidStellar/twitter-cli-golang/releases/download/V1.0.2/twt_linux sudo chmod +x /usr/local/bin/twt ``` macOS ```bash sudo curl -L -o /usr/local/bin/twt https://github.com/EuclidStellar/twitter-cli-golang/releases/download/V1.0.2/twt_macos sudo chmod +x /usr/local/bin/twt ``` Windows 1. Download the `twt.exe` binary from the [Release...
1. Obtain your Twitter API keys from the [Twitter Developer Portal](https://developer.twitter.com

Полный текст и комментарии »

  • Проголосовать: нравится
  • -24
  • Проголосовать: не нравится

149.
Автор saPaul, история, 4 месяца назад, По-английски
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...
*Note: Requires a free Gemini API key from [Google AI Studio](https://aistudio.google.com/api-keys

Полный текст и комментарии »

  • Проголосовать: нравится
  • -18
  • Проголосовать: не нравится

150.
Автор darcasterr, история, 19 месяцев назад, По-английски
AlgoAtlas: A New Platform for Competitive Programming Training Hello Codeforces community! I'm excited to introduce [AlgoAtlas](http://algoatlas.tech), a platform I've been developing with a standout feature that many CP enthusiasts have been asking for: a truly advanced competitive programming compiler. Key Features Advanced Code Compiler - Multi-language support including - Python - C++ - Java - C - Rust - Go - Ruby - Kotlin - Swift - PHP - TypeScript - Scala - C# - Real-time execution metrics showing time and space complexity analysis - Detailed performance metrics for your submissions - Streamlined test case management system Competitive Programming Optimized Every language comes with: - Pre-configured templates optimized for CP workflows - Proper imports/includes already set up - Main function/entry point ready to go - Standard competitive programming boilerplate C++ Template Improvements Our C++ template is now supercharged with: - bits/stdc++.h inclusion - ios::sync_with_stdio(0) and cin.tie(0) for f...
extensions for compilation - Seamless execution via our enhanced Piston API integration

Полный текст и комментарии »

  • Проголосовать: нравится
  • +14
  • Проголосовать: не нравится

151.
Автор soon, 12 лет назад, перевод, По-русски
Python Codeforces API Wrapper library Hi there! I would like to introduce wrapper [library](https://github.com/soon/CodeforcesAPI) for Codeforces API written in Python 3. It helps you with collecting, analyzing and visualizing data. ####Intro: As a contest member you may want to increase your power by solving problems, but some of them are quite simple, and you want to skip them. Lets say, you want to practice only Div2-C problems. You could, of course, open Problemset, then press `Ctrl+F` and write `C` to highlight preferable problems. But this may take a long time (you should look through the page and open only unsolved Div2 problems. A little boring, neh?). Another way is write a script for loading all problems then filter only unsolved Div2-C problems and sort by solved count. Sounds interesting, isn't it? There is an [example](https://github.com/soon/CodeforcesAPI/blob/examples/examples/show_only_unsolved_problems/main.py) of such script. All you need is run it and input your codeforces handle, and it w...
Python Codeforces API Wrapper library, /CodeforcesAPI) для Codeforces API, написанная на языке Python 3. С ее помощью Вы можете собирать, API written in Python 3. It helps you with collecting, analyzing and visualizing data.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +9
  • Проголосовать: не нравится

152.
Автор ctzsm, 12 лет назад, По-английски
Some interesting discoveries while playing with Codeforces API. I am doing some analysis so the first step is to collect some real data. Since Codeforces has a great collection of APIs, I think is it a good idea to play with it. Here are two fun facts I found today, if I find more, I will update this post. There are 16 users have handle start with dot(.). - [user:._.,2015-03-23] - [user:.PEIN.,2015-03-23] - [user:.OOO.,2015-03-23] - [user:.forma,2015-03-23] - [user:.1.,2015-03-23] - [user:.Khaled.,2015-03-23] - [user:.exe,2015-03-23] - [user:.clement.,2015-03-23] - [user:.skonb,2015-03-23] - [user:.system,2015-03-23] - [user:.AgriCoder,2015-03-23] - [user:.Feagty.,2015-03-23] - [user:.joyd,2015-03-23] - [user:.C0D3R,2015-03-23] - [user:.dll,2015-03-23] - [user:.-.,2015-03-23] Why do I mention this? Because I use users' handles as file name while doing the analysis, their handles are hidden files in Unix/Linux system, which leads the result of `ls -l | wc -l` can not match the number of users. There are 9 users have mor...
Some interesting discoveries while playing with Codeforces API., from Peru, you can find them [here](http://codeforces.me/ratings/country/Peru). With CodeforcesAPI

Полный текст и комментарии »

  • Проголосовать: нравится
  • +109
  • Проголосовать: не нравится

153.
Автор joyboy24, история, 5 месяцев назад, По-английски
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...
validation * Solve verification through the Codeforces API

Полный текст и комментарии »

  • Проголосовать: нравится
  • +8
  • Проголосовать: не нравится

154.
Автор DragonCoderZ, история, 7 лет назад, По-английски
AtCoder_Rating — Codeforces_Rating AtCoder_Handle == Codeforces_Handle && least 10 times current rating ![ ](/predownloaded/58/c3/58c38ddebe70786a98b1c1dc50cf713b2dabb8ec.png) max rating ![ ](/predownloaded/07/4a/074adde8f8206b9e8380a6dbc064e4b135b20f8b.png) <spoiler summary="Spoiler"> AtCoder_Handle == Codeforces_Handle && least 1 times current rating ![ ](/predownloaded/f7/6f/f76fbfae833f744d1e4d48dcc7ac48fdedf6b55b.png) max rating ![ ](/predownloaded/9c/04/9c04abe3a04b20e76285dddb3643f16b18026e18.png) </spoiler> <spoiler summary="Spoiler"> <spoiler summary="./pick/codeforces/download.sh"> ~~~~~ #!/bin/sh curl -o users.json "https://codeforces.me/api/user.ratedList?activeOnly=false" ~~~~~ </spoiler> <spoiler summary="./pick/atcoder/download.sh"> ~~~~~ #!/bin/sh url='https://atcoder.jp/ranking/all?page=' filename='ranking' fileext='.html' downloader='curl -o' echo $downloader ${filename}1$fileext "${url}1" $downloader ${filename}1$fileext "${url}1" num=`gre...
://codeforces.com/api/user.ratedList?activeOnly=false" ~~~~~

Полный текст и комментарии »

  • Проголосовать: нравится
  • +64
  • Проголосовать: не нравится

155.
Автор Agnimandur, история, 6 лет назад, По-английски
Introducing the Red Crab Inn: A Discord Bot to Play Reaper Hello Codeforces! #### What is Reaper? ![Reaper Logo](/predownloaded/5f/88/5f887feb3022a507d93fb49e200daaf2bdc33f83.png) <br /> _Reaper_ is a math game all about timing, strategy, and patience. It was developed by folks [at AOPs](https://artofproblemsolving.com/), and [many games](https://artofproblemsolving.com/reaper) have been played on that site. How Reaper works is that whenever you reap, you get points equal to the current time and the time of the _last person to reap_. Additionally, there is a cooldown between reaps. Thus, the strategy is deciding when to reap. If you wait too long someone else might reap and you won't get your points. If you reap too quickly, you will get very few points which is very inefficient, due to the cooldown. Thus, you need to find the optimal time to reap, and also finetune your reaping strategy based on your opponents. #### Standard versus Blitz Reaper Standard Reaper usually has a long reap cooldown, usually in the range of several hours t...
#### [Inviting the Bot To YOUR Server](https://discord.com/api /oauth2/authorize?client_id

Полный текст и комментарии »

  • Проголосовать: нравится
  • +23
  • Проголосовать: не нравится

156.
Автор ap2822334, 3 месяца назад, По-английски
I got fed up with virtual contests having no performance tracking, so I built one Hi everyone, I've been doing some virtual contests recently, but it always annoyed me that i can't easily see what my rating change would have been or track my performance over time. So, I made a browser extension named **Codeforces Vcon** to do it. It basically adds a **Virtuals** tab to the top navbar that looks and feels exactly like the rest of Codeforces. **What it does:** - It takes your virtual and unrated submissions and calculates your simulated live rank (that is the rank you would have obtained if you had actually participated in the contest and performed the same). - It calculates your performance rating and projected delta. I made sure to use the actual CF rating formulas for this-it implements the Bradley-Terry/Elo model, binary search for seeds, and the global deflation adjustments, so the math should be very accurate. - It generates a rating graph for your virtual contests. - It compares your recent form (last 5 contests) against your historical ...
Everything runs locally in your browser using the public CF API, so it loads instantly and doesn't

Полный текст и комментарии »

  • Проголосовать: нравится
  • +38
  • Проголосовать: не нравится

157.
Автор gKseni, 10 лет назад, По-русски
Улучшения Polygon и Codeforces [начало июня 2016] Спросила команду Codeforces о нововведениях &mdash; вот, что мне рассказали: <img src="http://codeforces.me/predownloaded/a3/3d/a33de021eebc22e2face7c9a1d42860fef516d67.png" style="float: right; margin:0 1em 1em 1em;"> **Polygon:** - настоящее автоопределение языка загружаемого файла (пытается компилировать на разных диалектах); - выбор для загрузки на табах Files и Solutions сразу нескольких файлов; - возможность просмотра содержимого stderr при запуске решений; - возможность сделать Rejudge/Abort на странице invocation-а. Кроме того, продолжается работа над API, скоро появится анонс. <img src="http://codeforces.me/predownloaded/91/35/9135274873017df865de42a666102261c6967eea.png" style="float: right; margin:0 1em 1em 1em;"> **Codeforces:** - предпросмотр комментария при его редактировании; - фильтр по задачам на странице со взломами; - улучшен выбор размера футболки; - добавлена возможность единожды менять хэндл в течение 7 дней после регистр...
- ускорена работа некоторых методов в API., Кроме того, продолжается работа над API, скоро появится анонс.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +181
  • Проголосовать: не нравится

158.
Автор suspicious_wow, история, 11 лет назад, По-английски
Friends Stalker! (Updated) Hi guys! I have modified the script and fixed some bugs of 'Friends Stalker!' and if you have the old one, please replace the code with new one. For those who missed the last blog, 'Friends Stalker!' script will help you to know (**in real time**): - if your friend has submitted a code on codeforces, along with its verdict and problem name through an alert on your screen.This works on contest time too, so that you won't have to open 'friends standings' page to know how many problems your friends have successfully solved or attempted! - You won't have to check for system test results in every 2 minutes. You can leave script running in background and it will let you know the result of your submissions along with your friends in no delay!! - If you are participating in a team but team members are at different locations, you will know quickly your teammate's submissions and results. - You will have a record on your terminal/ command prompt of the last submissions of your friends. ...
Last but not the least, thanks to Mike and other codeforces admins for providing freeAPI. Thank

Полный текст и комментарии »

  • Проголосовать: нравится
  • +43
  • Проголосовать: не нравится

159.
Автор oweMeEternity, 9 месяцев назад, По-английски
CF Country Standings — Fresh and Updated [![ ](https://i.ibb.co/93gCGgc8/Screenshot-2026-03-01-040626.png)](https://i.ibb.co/93gCGgc8/Screenshot-2026-03-01-040626.png)<br/> _click to enlarge the image_ ![ ](https://i.ibb.co/JjQJxH4M/Screenshot-2026-03-01-040733.jpg) Now you can add a **“Country Standings”** tab to Codeforces **contest/gym standings** pages. The goal is simple: quickly see how participants from a specific country performed — including **teams** — without manually searching the full standings! #### Key features - **New “Country Standings” tab**: Appears next to the normal standings menu and uses URL mode `?cs=country` to make it ready to share with friends! - **Country filter for both individuals & teams**: Works for solo participants and teams automatically, A team is included if **any member** of the team matches the selected country - **Extra profile info**: Shows **avatar**, **rating pill**, **full name + city**, and **organization/institute** (if present on CF profile) - **Uses Codefo...
**, **full name + city**, and **organization/institute** (if present on CF profile) - **Uses CodeforcesAPI

Полный текст и комментарии »

  • Проголосовать: нравится
  • +51
  • Проголосовать: не нравится

160.
Автор WolfBlue, история, 4 года назад, По-английски
Improving your rating: A statistical perspective Since this December, I've been exploring codeforces data to answer the question of how best to improve your rating. Today, I'm presenting to you all the final project! The first problem in trying to do data-driven analysis is trying to get data. Codeforces does have an API, but it's quite difficult to get data from it at a large scale. So first, I cleaned everything up and created two big datasets, and I've published them to kaggle. So, if you think my analysis is garbage, you can download the dataset yourself and try it yourself! [Dataset: The submissions and contests results for 60k recently active users](https://www.kaggle.com/datasets/intrincantation/cf-userdata) [Dataset: The final standings for every codeforces contest](https://www.kaggle.com/datasets/intrincantation/cf-standings) <spoiler summary="The process of getting data, if you care."> With a [nice API](https://codeforces.me/apiHelp) to gather data, you might expect that there would be very little work to do ...
rather than the displayed rating. Unfortunately the API does not give this value. The dataset is pretty

Полный текст и комментарии »

  • Проголосовать: нравится
  • +28
  • Проголосовать: не нравится

161.
Автор smooth, история, 11 месяцев назад, По-английски
Workaround for The In-queue Problem on Cf If you’ve participated in Codeforces contests, you already know the drill. You submit a solution, it goes **In Queue**, and suddenly your flow breaks. You keep refreshing the page. You switch between tabs. You’re unsure whether to move on to the next problem or wait. And most importantly, you have no idea how long the judging queue actually is. That uncertainty adds unnecessary friction during contests, where focus and momentum matter the most. ### **The Core Problems** From personal experience (and talking to friends), a few issues stood out clearly: - Constant refreshing just to see if the verdict changed - No queue visibility, so “In Queue” could mean 2 submissions ahead… or 200 - Context switching between problems and submissions, breaking concentration - Wasted mental bandwidth waiting instead of solving the next problem - None of these problems are hard individually, but together they disrupt the contest experience. ### **The Solution** Instead of forcing users...
’ public API, **which can lag by a second or two during heavy contest traffic**. This is a

Полный текст и комментарии »

  • Проголосовать: нравится
  • +7
  • Проголосовать: не нравится

162.
Автор adarsh7203, 5 месяцев назад, По-английски
[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...
(PostgreSQL) * Extension: Chrome Manifest V3 * APIs: Official Codeforces API * Deployment: Netlify

Полный текст и комментарии »

  • Проголосовать: нравится
  • +1
  • Проголосовать: не нравится

163.
Автор div4only, история, 4 года назад, По-английски
Rectangle Shrinking: A range-set based method, and an advertisement for CFStress! Problem: [Rectangle Shrinking](https://codeforces.me/problemset/problem/1782/e) Part 1: **Notations** $x$: A brick. $x_i$ denotes the part of $x$ belonging to the $i$-th floor. For example, if $x.u=1,\,x.d=2$, then $x_1.u=x_1.d=1$, $x_2.u=x_2.d=2$, and $x_1.l=x_2.l=x.l$, $x_1.r=x_2.r=x.r$. $A_i,\,i=1,2$: The set of bricks whose $u=d=i$. $B$: The set of bricks whose $u=1,\,d=2$. $\texttt{Remove}$: Remove a brick $x$. $\texttt{Shrink}$: Shrink a brick $x$ to another **non-empty** brick. $\texttt{Keep}$: Keep a brick $x$ unchanged. Note that in our solution we may operate on a part of brick. For example, for a brick $x \in B$, we may $\texttt{Keep}\,x_1$ while $\texttt{Remove}\,x_2$. Part 2: **Idea** $\texttt{Shrink}$ing $x \in B$ is troublesome. If you shrink $x_1$, you have to shrink $x_2$ in the same way, i.e., $x_1$ has to be aligned with $x_2$. So is there a solution that only performs $\texttt{Remove}$ and $\texttt{Keep}$ on every $x \in B$? But that i...
(4) $\texttt{right(x)}$: Return $\min \\{y|y \geq x, y \text{ is not covered}\\}$. Note thatAPI

Полный текст и комментарии »

  • Проголосовать: нравится
  • +30
  • Проголосовать: не нравится

164.
Автор JaroPaska, история, 6 лет назад, По-английски
Online judge API/implementation Hello, I am trying to make a website where I would be able to post my own problems. However, I am not too keen about implementing my own judge from scratch, when there are many good judges out there already with support for many languages. My original idea was to use Codeforces to host my problems and create an account that would submit solutions to these problems and then check the verdicts. However, the Codeforces API doesn't support submitting solutions, so I tried to use online-judge-tools to submit the solution and then use the Codeforces API to get the verdict of the submission. But the online-judge-tools submit command doesn't tell me which ID my submission is assigned, whereas the Codeforces API doesn't return the source code of a submission, which makes it hard to match which submission on Codeforces belongs to which submission on my website. Would you happen to have any ideas on how to solve this, or would you happen to have experience with other APIs that might be m...
Online judge API/implementation, However, the Codeforces API doesn't support submitting solutions, so I tried to use online-judge

Полный текст и комментарии »

  • Проголосовать: нравится
  • +10
  • Проголосовать: не нравится

165.
Автор jvmusin, 11 лет назад, По-русски
Проблемы с Codeforces API Недавно сделал удобную утилиту для слежения за изменениями рейтинга участников на Codeforces через API (не думаю, что кому-то нравится обновлять свою страницу каждую минуту в ожидании обновления рейтинга после контеста). Всё было хорошо до одного момента. Вчера вечером утилита начала выдавать варнинги об изменении данных пользователя изменения чуть ли не каждую секунду. До сегодняшнего дня дебажил всё это дело, ничего не нашёл. Решил напрямую через браузер обращаться к API Codeforces, и вот что заметил: информация показывается то старая, то новая. Кто не понял, в чём суть, попробуйте отправлять [этот запрос](http://codeforces.me/api/user.info?handles=I_love_PloadyFree) в браузере и заметите, что поля контактная информация (email напр.) то показываются, то нет. Можете вбить свой хэндл , затем в настройках аккаунта поставить/убрать галочку "Скрывать контактную информацию" и отослать этот запрос несколько раз, вы должны увидеть этот хаос. Что такое стало с КФ, было ли такое раньше ...
Проблемы с Codeforces API, API (не думаю, что кому-то нравится обновлять свою страницу каждую минуту в ожидании обновления

Полный текст и комментарии »

  • Проголосовать: нравится
  • +59
  • Проголосовать: не нравится

166.
Автор Yury_Bandarchuk, 10 лет назад, По-русски
Java, API...CodeforcesSurfer Всем привет! Не так давно я стал интересоваться работой с различными API и языком Java. После некоторого времени обдумывания я решил сделать небольшое приложение (CodeforcesSurfer), с помощью которого можно будет быстро получить интересующую информацию будь то о пользователе, соревновании или о чем-нибудь еще. Решился на это дело я лишь сегодня :D Ноо, тем не менее, что-то уже успел написать... Хочу подчеркнуть, что данное приложение (или, если так можно сказать, проект) создается для получения навыков работы с API, JSon, Java, Java GUI и т.д. В связи с этим я приглашаю всех желающих, кому может быть это интересно присоединиться к проекту. Проект лежит [тута](https://github.com/YuryBandarchuk16/CodeforcesSurfer). Буду рад любым комментариям и предложениям! P.S. главное &mdash; не обращайте особого внимания на дизайн:D Скачать текущую версию можно [здесь](http://www.filedropper.com/codeforcessurfer_1) . P.P.S Выглядит это сейчас примерно так: ![ ](http://c...
Java, API...CodeforcesSurfer, получения навыков работы с API, JSon, Java, Java GUI и т.д.

Полный текст и комментарии »

  • Проголосовать: нравится
  • -2
  • Проголосовать: не нравится

167.
Автор prabhav_, 4 года назад, По-английски
An absolute shit-show contest! This is mainly a ranting blog for the ongoing Credit Suisse Global Coding Contest 4.0, which is an <b>absolute shit show</b> right now, feel free to skip it. <h1>Background: </h1> So if you don't know there was a contest organized by Credit Suisse on 6th October 2022. The contest's problem set consisted of 9 copied problems. Many people were able to solve all the problems so they arranged the leaderboard on the basis of the execution time taken by the code. The contest ended on 23rd October 2022 (or did it?) So here comes the twist. <h1>Shit show an exaggeration? </h1> <b> Issues </b> <li> In a contest where you need to just make your code the fastest, the version of the compiler can make a significant difference. Guess what? There are no details mentioned of the compiler being used for any language:) </li> <li> There were dumb issues like trailing and ending spaces that caused WA for various people <b>for days if you are lucky</b> </li> <li> You can't see the...
* Their query help center gave me an API Endpoint to resolve the issue of only being able to

Полный текст и комментарии »

  • Проголосовать: нравится
  • +129
  • Проголосовать: не нравится