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.
The instructions did not specify how to use the arguments appropriately.
nah
Approved.
Yes, that's why I'd like to see input ranges always documented. When they are not, I assume that anything should work (no overflows, bogosort doesn't time out, ...), otherwise it's not clear what is expected to work and what isn't.
Also, when not everything is specified, I start thinking about it less like about competitive programming and more like about a real world task where the input range is consistent with the story.
To be fair, "big" and "straightforward" are extremely subjective terms. However, out of consideration for the 8kyu level, I've forked my translation here to limit the random inputs to the same range as the other translations (except PHP).
(edit) I've also updated the description to add the input range for random tests (in all languages but PHP).
The input range isn't specified and the nature of the problem suggests than the input is small.
Haskell has big numbers in the random tests, the most straightforward solution times out.
Approved
Haskell translation
Thanks for your comment. The sample tests are static/hard coded. They'll always become outdated. and sorry for the indexing :)
If you're someone who got stuck in this Kata you should print the main parameter to understand the main structure of this Kata
I liked this kata. The sample tests are out of date, however. The 1-based indexing threw me for a while.
Description should be language-agnostic. The example block should be replaced with something more generalized since the property of
Player
can only bename
/Name
in all of the languages, so there's no need to include the function namedone
I've approved your translation natan, thanks.
Well, I forked python to rip out the php-specifics (kept the example but conditionally because php does differ slightly from the generic description so I thought why not) and some small python touch-ups (moved user-solution call into the it cause it was outside, improved Player repr)
@alexfazio if you have something actionable then here's your chance to convince me that something is missing.
your suggestion is not really helpful. what should be changed, and how ? you have to propose concrete improvements
Loading more items...