By BledDest, history, 12 days ago, In English

Greetings Codeforces!

First things first, we would like to thank everyone who participated in the previous nine Kotlin Heroes competitions: Episode 1, Episode 2, Episode 3, Episode 4, Episode 5: ICPC Round, Episode 6, Episode 7, Episode 8 and Episode 9.

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:

On May 13, 2024, the real challenge begins! Kotlin Heroes: Episode 10 will last 2 hours 30 minutes and will feature a set of problems ranging from simple ones, which are designed to be solvable by anyone, to some really tricky ones for seasoned competitive programmers.

REGISTER →

You can solve Codeforces challenges directly from your JetBrains IDE using its smart features. Just enable the JetBrains Academy plugin and follow the instructions in the Getting started with Codeforces guide.

Prizes:

The top three winners will receive cash prizes of $512, $256, and $128 (or rewards of equivalent value), respectively. The top 50 participants will win a Kotlin Heroes T-shirt and an exclusive Kotlin sticker, and all competitors who solve at least one problem will be entered into a raffle for one of 50 Kotlin Heroes T-shirts.

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. To see the list of sanctioned countries and regions, please visit this page.

Best of luck to everyone!

Announcement of Kotlin Heroes: Episode 10
Announcement of Kotlin Heroes: Practice 10
  • Vote: I like it
  • +74
  • Vote: I do not like it

»
12 days ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Can you pleese make problems upsolvable with any languages? Many of times there is a well written problem. Only to find: can only submit in kotlin language. Understandable during the contest, but during upsolving?? Why??

  • »
    »
    12 days ago, # ^ |
    Rev. 2   Vote: I like it +4 Vote: I do not like it

    That would be a great idea. But as a help u can use online code converters from Kotlin to any other language. (looks like people are really hating helpful comments)

»
12 days ago, # |
  Vote: I like it 0 Vote: I do not like it

Will the Kotlin Heroes episode 10 be rated ?

  • »
    »
    12 days ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Sadly probably no, no Kotlin Heroes Contest was rated. But yes it would be nice to have it rated.

»
12 days ago, # |
  Vote: I like it 0 Vote: I do not like it

why the round is postponed by 2 hours

»
11 days ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

A Syrian Contestant take sanctions seriously:D

»
11 days ago, # |
  Vote: I like it +3 Vote: I do not like it

is it allowed to translate our code to kotlin through chat gpt or something?

  • »
    »
    11 days ago, # ^ |
      Vote: I like it -8 Vote: I do not like it

    no

  • »
    »
    10 days ago, # ^ |
      Vote: I like it +29 Vote: I do not like it

    i did that for kotlin keros 9 and got a shirt, but just note that chatgpt isnt 100% accurate so I wasted 10 mins debugging some hallucination

»
11 days ago, # |
  Vote: I like it 0 Vote: I do not like it

Good luck everyone.

»
11 days ago, # |
  Vote: I like it -39 Vote: I do not like it

Yo, why chat gpt cant change code from c++ to kotlin, for a bit complex code ai tools fail and what's even the purpose of kotlin only contest. Complete nonsense imo

»
10 days ago, # |
  Vote: I like it 0 Vote: I do not like it

50 t-shirts will be randomly distributed to those who solve at-least 1 problem? right?

»
9 days ago, # |
  Vote: I like it 0 Vote: I do not like it

why only kotlin????

»
8 days ago, # |
  Vote: I like it 0 Vote: I do not like it

Contest is clashing with GT vs KKR ipl match, please postpone.

  • »
    »
    7 days ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    bro boring match

  • »
    »
    5 days ago, # ^ |
      Vote: I like it +1 Vote: I do not like it

    Lmao what match ?

»
8 days ago, # |
  Vote: I like it +33 Vote: I do not like it

What about adding JetBrains IDEs licenses to the list of prizes? It sounds like a good opportunity to market your IDEs in addition to Kotlin itself among competitive programmers. At the same time that will increase prize pool at no cost which would likely help to get more people interested.

»
7 days ago, # |
  Vote: I like it 0 Vote: I do not like it

Should this post appear on https://mirror.codeforces.com/kotlin? Some of the posts for episodes 1-9 appear there.

»
7 days ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

This Submission is giving a TLE on test 9 but the complexity is $$$O(N)$$$. Am i doing something wrong in the implementation?

Upd : Got AC on Kotlin 1.9

»
6 days ago, # |
  Vote: I like it +5 Vote: I do not like it

i don't participation because i live in syria so i can not get a t-shirt look at me code force don't send us anything but please don't, ban code force from syria

»
6 days ago, # |
  Vote: I like it 0 Vote: I do not like it

wish luck for all participants

»
6 days ago, # |
  Vote: I like it +8 Vote: I do not like it

In Russia T-shirts ships you my frend

»
5 days ago, # |
  Vote: I like it +8 Vote: I do not like it

List<T>.split when

»
5 days ago, # |
  Vote: I like it +11 Vote: I do not like it

My second time participating Kotlin Heroes with 4 problems solved and D in the last (two) minutes!

Screenshot

The problems are really nice and it's fun to play with the syntax, hope the other rating contests can bring such excitement. Thanks AtCoder Custom Test as my Kotlin compiler!

Thank you guys for the cool contest!

»
5 days ago, # |
  Vote: I like it +38 Vote: I do not like it

Thank you for participation! We hope you enjoyed the problems.

The editorial is currently unfinished, you can view the partial version here (all problems except H and J). We will post the full editorial on CF tomorrow.

»
5 days ago, # |
  Vote: I like it +2 Vote: I do not like it

will there be a live raffle draw or will it be only mailed to the winners?

»
5 days ago, # |
  Vote: I like it 0 Vote: I do not like it

weak tests H

»
4 days ago, # |
  Vote: I like it 0 Vote: I do not like it

will there be an explanation for the solutions of the problems ?