Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
This would require to update all languages, so not ideal. Also, users can train on how to write their own dictionary or hashmap that way!
This comment is hidden because it contains spoiler information about the solution
OP solved it, closing
There are no restrictions on how a problem can be solved, unless the author explictly establishes tests for such cases.
This comment is hidden because it contains spoiler information about the solution
Because all of languages are only examples, and they don't mean anything special here.
Thanks! That was an inteesting one.
The only thing that confused this type of database list or dict. The author does not give a direct indication of the database typing.
The reason your code fails is because you copied descriptions of invalid tests and thought they were meant to be the result, but the instructions say:
So, your foreign environment pass your code because it has been given incorrect results. The correct expected results are in place correctly here on this site, so you must base your code on that.
If you cannot prove that the kata has flawed code, do not post as an
issue
, post as aquestion
. "It works on my machine" is not enough of a basis.This comment is hidden because it contains spoiler information about the solution
If it's just for practice, I don't think it's necessary to list so many key-value pairs, copying and paste is really annoying
you can include them and still pass...
Just Yandex Translate it, its accurate enough. But to be completely honest, English first - then coding. Otherwise you woudn't be able to find needed info, Runet is lacking.
Loading more items...