Ad
  • Default User Avatar

    The instructions did not specify how to use the arguments appropriately.

  • Custom User Avatar
  • Default User Avatar

    Approved.

    To be fair, "big" and "straightforward" are extremely subjective terms.

    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.

  • Custom User Avatar

    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).

  • Default User Avatar

    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.

  • Custom User Avatar

    Approved

  • Custom User Avatar
  • Custom User Avatar

    Thanks for your comment. The sample tests are static/hard coded. They'll always become outdated. and sorry for the indexing :)

  • Custom User Avatar

    If you're someone who got stuck in this Kata you should print the main parameter to understand the main structure of this Kata

  • Custom User Avatar

    I liked this kata. The sample tests are out of date, however. The 1-based indexing threw me for a while.

  • Custom User Avatar

    Description should be language-agnostic. The example block should be replaced with something more generalized since the property of Player can only be name / Name in all of the languages, so there's no need to include the function name

  • Default User Avatar

    done

  • Custom User Avatar

    I've approved your translation natan, thanks.

  • Default User Avatar

    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.

  • Default User Avatar

    your suggestion is not really helpful. what should be changed, and how ? you have to propose concrete improvements

  • Loading more items...