Given the current circumstances, we have decided to postpone Kotlin Heroes until further notice. Thank you for your understanding.
Hello, Codeforces!
First and foremost, we would like to say a massive thank you to everyone who entered and submitted their answers to the eight Kotlin Heroes competitions which were held previously: Episode 1, Episode 2, Episode 3, Episode 4, Episode 5: ICPC Round, Episode 6, Episode 7, and Episode 8.
Ready to challenge yourself to do better? The [contest:1643] competition will be hosted on the Codeforces platform on [contest_time:1643]. The contest will last 2 hours 30 minutes and will feature a set of problems from simple ones, designed to be solvable by anyone, to hard ones, to make it interesting for seasoned competitive programmers.
Prizes:
Top three winners will get prizes of $512, $256, and $128 respectively, top 50 will win a Kotlin Heroes t-shirt and an exclusive Kotlin sticker, competitors solving at least one problem will enter into a draw for one of 50 Kotlin Heroes t-shirts.
Registration is already open and available via the link. It will be available until the end of the round.
The round will again be held in accordance with a set of slightly modified ICPC rules:
- The round is unrated.
- The contest will have 9 or 10 problems of various levels of complexity.
- You are only allowed to use Kotlin to solve these problems.
- Participants are ranked according to the number of correctly solved problems. Ties are resolved based on the lowest total penalty time for all problems, which is computed as follows. For each solved problem, a penalty is set to the submission time of that problem (the time since the start of the contest). An extra penalty of 10 minutes is added for each failed submission on solved problems (i. e., if you never solve the problem, you will not be penalized for trying that problem). If two participants solved the same number of problems and scored the same penalty, then those of them who had previously made the last successful submission will be given an advantage in the distribution of prizes and gifts.
If you are still new to Kotlin we have prepared a tutorial on competitive programming in Kotlin and [contest:1645], where you can try to solve a few simple problems in Kotlin. The practice round is available by the link.
We made an announcement about the Kotlin Heroes: Episode 9 practice stream, but unfortunately we had to cancel it. Sorry for the inconvenience!
We wish you luck and hope you enjoy Kotlin.
Have to say a big well done to M.HasnatFarooq, who managed to solve all 8 problems in the practice round in 27 minutes, requiring just 1 minute to do several of the harder problems. Remarkable!
Kotlin 1.6?
UPD: Kotlin 1.5???
What's new in Kotlin 1.5.0
You need to add the @kotlin.ExperimentalStdlibApi decorator to your main function, as the error message says.
Thank you for copy-pasting error massage ^_^
Well, @OptIn(kotlin.ExperimentalStdlibApi::class) is a bit more corresponds to what you mean. And it also can be done for the whole file using @file:OptIn(kotlin.ExperimentalStdlibApi::class) at the beginning of the file.
Brief difference. This is like "I don't care about possible breaking changes in the future", and your version is like "my user must care about possible breaking changes in the future as they will break me too".
Thanks for the reasonable update about the 9th Episode of Kotlin Heroes CP contest.
Best wishes
Edit: Strange what people get upset about. In this case a question about Kotlin Heroes on a post about Kotlin Heroes. Thanks to the admins for contacting me privately and resolving my query.
Why is it postponed?
And still no official announcement after 12 hours.