Greetings Codeforces!

Ready to put your Kotlin skills to the test? Kotlin Heroes is your playground: a chance to experiment with the language's features, tackle fun and challenging problems, and level up your programming abilities. Perfect for beginners and experts alike!
A massive shout-out to all the amazing coders who have competed in past Kotlin Heroes events: Episode 1, Episode 2, Episode 3, Episode 4, Episode 5: ICPC Round, Episode 6, Episode 7, Episode 8, Episode 9, Episode 10, Episode 11 and Episode 12.
Kotlin Heroes is a great way to play around with Kotlin’s features, learn something new, and practice using the language by solving fun problems. It is great for programmers of any level!
We invite you to join the practice round, where you can improve your algorithmic problem-solving skills and complete training problems. In this round, all the solutions are open, and you can request hints if you’re stuck.
Here are some things you can do to help you refresh your knowledge of Kotlin and learn more about competitive programming while you practice:
And if you’d like to see how the top competitive programmers approach these challenges, check out ecnerwala and SecondThread solving problems from this practice round live on stage at the ICPC World Finals in Baku.
Mark your calendars for September 12, 2025! Kotlin Heroes: Episode 13 offers 2 hours and 30 minutes of problem-solving, featuring a wide range of tasks designed for everyone, from those just starting out to experienced competitive programmers.
The use of AI-based tools during the main contest is strictly limited. To find out the guidelines for proper AI use, what is allowed and what is prohibited, please read the post "Rule Restricting the use of AI". Improper use of AI tools during the main contest may result in disqualification. Using automatic translation tools (including but not limited to neural networks and AI) to convert code written in other programming languages to Kotlin goes against the spirit of the competition, so it is also strictly prohibited.
REGISTER → Prizes:
- 🥇 $512 (or equivalent value) for 1st place
- 🥈 $256 for 2nd place
- 🥉 $128 for 3rd place
- 👕 Kotlin Heroes T-shirts for the top 50 participants
- 🎁 A raffle of 50 T-shirts for anyone who solves at least one problem
Please note that we are not able to ship prizes to any country, state, province, or territory subject to comprehensive OFAC sanctions, including Belarus, Cuba, Iran, North Korea, Russia, Syria, or the Crimea, Donetsk, or Luhansk regions. For complete the list, please visit this page.
Best of luck to everyone!
upd: Editorial can be found here.