Koo_Pung-Kei's blog

By Koo_Pung-Kei, 19 months ago, In English

Read before:

According to what it seemed previously, the practice stage of Kotlin Heroes series contests may never be followed by official editorials and can not be submitted after it's finished. This blog aims to be an archive of problems, my corresponding ideas as well as submissions and some templates for faster Kotlin code editing later on.

All code blocks in this blog can be compiled with Kotlin only due to the contest's regulations.

Ahoj, Codeforces!

I had been absent from Codeforces along with Kotlin-only rounds for over one year thanks to my own business, but I kept waiting for the practice stage's initial return this year as I turn available for codings — the waiting eventually got paid off when Kotlin Heroes: Practice 12 was back with the relieving news to be held on 31.03.2025 16:35 (Московское время) and last for 7 days.

This blog is to share thoughts on Kotlin the language and to archive problems as well as solutions for the contest. I hope this will help readers obtain a better understanding of the designed-for-Android programming language.

Template as preparations

All code blocks as solutions below will be based on the template mentioned above.  

2088A - Легкая задача

Ideas
Solution (Kotlin)

2088B - Будучи казначеем в прошлом, я помогаю гоблинам обманывать людей

Ideas
Solution (Kotlin)

2088C - Карточная игра Фермера Джона

Ideas
Solution (Kotlin)

2088D - Подсчет количества пар

Ideas
Solution (Kotlin)

2088E - Перекраска собачек

Ideas
Solution (Kotlin)

(Due to other affairs for job-searching near the end of the contest, I failed to solve the rest 2 problems on time.)

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