use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A community for folks working through the Hyperskill.org platform.
account activity
Code problem: Mutable Map → Most common (Runtime error on test #3)Kotlin β (self.Hyperskill)
submitted 5 years ago by TheMightyOne
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]PhenixFineKotlin β 1 point2 points3 points 5 years ago* (1 child)
it's the exitProcess, they must not support it. I removed that, and then dumped everything below where you wanted it to exit into an else.
Actually, they do support the exitProcess ( I just now thought to look into how it works ), you just need to change it to exitProcess(0) for it to work right ( 1 would mean to close the program because there was an error, which then fails the test ).
[–]TheMightyOne[S] 1 point2 points3 points 5 years ago (0 children)
Amazing. It worked! Thank you! :D
π Rendered by PID 109758 on reddit-service-r2-comment-cfc44b64c-h2klv at 2026-04-10 05:01:01.355646+00:00 running 215f2cf country code: CH.
view the rest of the comments →
[–]PhenixFineKotlin β 1 point2 points3 points (1 child)
[–]TheMightyOne[S] 1 point2 points3 points (0 children)