Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

Прямой эфир
На BledDestKotlin Heroes 11 Announcement, 3 дня назад
0

Can I solve the problems in any language or only kotlin?

На BledDestKotlin Heroes 11 Announcement, 4 дня назад
0

To me too please

На BledDestKotlin Heroes 11 Announcement, 4 дня назад
0

If you get info. then please forward me the same.

На BledDestKotlin Heroes 11 Announcement, 4 дня назад
0

Why can't we view the solutions of other participants???

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
0

Is it possible to continue submitting code to practise round? It shows contest is over.

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
0

Are the raffles selected yet? Or will only the winners know?

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
+10

I definitely needed more time learning types and Kotlin syntax but I will say using the IntelliJ IDE made this contest feel very fun and refreshing. Very cool problems too, even though I didn't get to solve the harder ones, I liked the problems I was reading.

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
+10

It was fun trying out Kotlin, got mixed up with types a lot. I had this problem where I did a for loop and compared i to a long value inside, so it autoconverted i to long and then all of my array indexing with i threw errors, I was so confused for a good bit lol

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
0

I forgot about that shirt. But hopefully I'll still get it.

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
+22

This was my first time trying Kotlin and participating in the Kotlin Heroes contest. It was a great experience, and I enjoyed it so much! I'm looking forward to joining future contests and improving my skills in Kotlin.

Here are the resources I used to learn Kotlin:

  1. Kotlin Tour

  2. Kotlin Koans

  3. Kotlin for Competitive Programming

Thanks for the awesome contest and the great problems!

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
0

After the entire contest, I realized there is only one sheep in problem D LOL :(

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
+24

lol everyone will open I first

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
+1

It's possible now

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
0

ah thanks!

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
+65

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

The current version of the editorial (no problem I, some other problems might be unpolished) is available here.

Also, these are our model solutions to the problems:

Spoiler
На BledDestKotlin Heroes 11 Announcement, 5 дней назад
+3

listOf<Int>()

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
0

Thanks for the answer! I wanted to make an empty list, and the compiler was complaining about type inference.

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
0

Hell, forgot about this Java shit with strings. Thanks a lot!

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
0

You can but there is not much reason to I think. Kotlin data structures are more convenient, e.g.:

    val xs = listOf(1, 2, 3)
    val mxs = mutableListOf(1, 2, 3)
    val kotlin_map = mapOf('A' to 1, 'B' to 2)

Since you have immutable data structures you can also do reliable hashing, etc.

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
0

Will it be possible to submit solutions after the contest?

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
+2

It's quadratic: String+Char creates a new string. Use StringBuilder instead.

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
+4

Why I can't see solutions submitted by other contestants after contest? No open-hacking phase? No tutorial?

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
+1

Thats just me every time I go close to something like java.

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
0

I'm curious why my O(N) solution to E is getting TL. Is there something particularly slow in Kotlin among the things I'm doing?

Code
На BledDestKotlin Heroes 11 Announcement, 5 дней назад
+32

problem G is really funny troll problem, made my day lol

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
0

It's from 3 years ago, probably lost already?

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
0

Is it normal to use java ArrayList over the Kotlin native List?

Not very familiar with Kotlin... was just using what ever compiles.

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
0
На BledDestKotlin Heroes 11 Announcement, 5 дней назад
0

much appreciated as i struggled in the beginning myself!

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
+5

if you search for an online IDE https://onecompiler.com/kotlin this works well.

I struggled a lot for finding a working website at the beginning of the contest. so here you go for the future contests.

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
+5

thanks to everyone involved for helping me realize how superior c++ is

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
+1

https://ibb.co/ggmMyP6 Can I know when I'll get my t-shirt?

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
+5

This contest is not rated, But If you can solve at least one problem, you'll have a chance to win a t-shirt

На BledDestKotlin Heroes 11 Announcement, 5 дней назад
-13

Is it rated?

На BledDestKotlin Heroes 11 Announcement, 6 дней назад
+1

Is it rated?

На BledDestKotlin Heroes 11 Announcement, 6 дней назад
-10

is it rated?

На BledDestKotlin Heroes 11 Announcement, 6 дней назад
0

Just go through the docs or general syntax , from official website or w3 schools .

На BledDestKotlin Heroes 11 Announcement, 9 дней назад
Пользователь создал или обновил текст