Keshi's blog

By Keshi, 4 months ago, In English

I can't follow up on conversations in codeforces talks because of this rate limit

can we please have this limitation lifted on replies?

Full text and comments »

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

By Keshi, 4 months ago, In English
  • Vote: I like it
  • +156
  • Vote: I do not like it

By Keshi, 4 months ago, In English

Running old IOIs on CMS shouldn’t be this hard. I ran into this while preparing virtual IOI contests for my team, so I fixed and published ready-to-import CMS packages for IOI 2016–2025.

Hey All!

I've been honored to be a part of the IOI community in the past 5 years or so. last year I had the chance to be the coach of a great team, sweetweasel, eren__, AmirAli-Asgari, and Hamed_Ghaffari.

I wanted them to practice in the best environment and make the most of their virtual participation of the recent IOI contests. and of course the best environment would be the og environment of the contest — CMS.

My experience with CMS was limited. We did hold our national OI contests on CMS, but I never really got hands on with it, I mostly sat at the back while my highly skilled friends Davoth and AaParsa set it up.

Despite that, the CMS setup went pretty smoothly, well for the most part. I finally got to importing the problems. luckily for me the packages (testcases) for almost all of the recent IOI years have been published on the IOI website, take IOI 2017 for example. you'd expect the imports to be seamless but boy oh boy, I do not exaggerate when I tell you I worked a full day for some years.

Let's get to the point here, the IOI tools CMS, and TPS, have broken backwards compatibility. The IOI packages are not as useful as when they were published. And anyone trying to use them has to go through hell. But not anymore.

Thanks to Dev, I worked with devin to do this once so you don't have to. Long story not so short, I've published the packages for the past 10 years, IOI 2016 — 2025.

The repo gives you ready-to-import packages for IOI 2016–2025, all working with the current latest CMS v1.5.1. And it has helper commands to load each year's contests in a single command. Some packages needed reformatting, and I had to make a few touchups to the CMS loader as well.

You can find everything here: ioi-cms-packages

If you are coaching a team, or running a training camp, I hope this comes in handy. And if you are training for the IOI 2026, I wish you the best of luck! I'll be visiting actually, and would love to make friends.

At last, the job does not end here. I think seamless packages should become something officially maintained by the IOI, and I will try to make that possible. Feedback and issues are always welcome.


Amoo_Safar, AmShZ and I at the ICPC WF 2025 closing ceremony

Full text and comments »

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

By Keshi, 4 years ago, In English

1694A - Жуть

Idea: AmShZ

Solution
Implementation

1694B - Параноидальная строка

Idea: AmShZ

Solution
Implementation

1693A - Ориентированное увеличение

Idea: alireza_kaviani

Solution
Implementation

1693B - Фейковые пластиковые деревья

Idea: AmShZ, alireza_kaviani

Solution
Implementation

1693C - Keshi ищет AmShZ

Idea: AmShZ

Solution
Implementation

1693D - Разбиение на возрастающую и спадающую

Idea: AmShZ

Solution 1

Thanks to Koosha_Mv

Solution 2
Implementation 1
Implementation 2

1693E - Крайние максимумы

Idea: Keshi

Solution
Implementation

Check out this solution by ecnerwala

1693F - Я могу ошибаться

Idea: AmShZ

Thanks to antontrygubO_o for proof

Solution
Implementation by Um_nik

Thanks to Um_nik

Full text and comments »

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

By Keshi, 5 years ago, In English

1610A - Anti Light's Cell Guessing

Idea: Anti-Light, Preparation: DeadlyCritic

Hints
Solution
Implementation

1610B - Kalindrome Array

Idea: Davoth, Keshi, Preparation: AmShZ, Keshi

Hint
Solution
Implementation

1610C - Keshi Is Throwing a Party

Idea: Keshi, Preparation: Keshi

Hints
Solution
Implementation

1610D - Not Quite Lee

Idea: DeadlyCritic, Preparation: DeadlyCritic

Hints
Solution
Implementation

1610E - AmShZ and G.O.A.T.

Idea: AmShZ, Preparation: AmShZ

Hints
Solution
Implementation

1610F - Mashtali: a Space Oddysey

Idea: AliShahali1382, Preparation: AliShahali1382

Hint
Solution
Implementation

1610G - AmShZ Wins a Bet

Idea: AmShZ, Keshi, Preparation: AmShZ, Keshi, alireza_kaviani, AliShahali1382

Hints
Solution
Implementation

1610H - Squid Game

Idea: Tet, AliShahali1382, Preparation: AliShahali1382

Solution
Implementation

1610I - Mashtali vs AtCoder

Idea: AliShahali1382, Preparation: AliShahali1382

Solution
Implementation

Full text and comments »

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