Ad
  • Custom User Avatar

    You can solve it in any way, and description does not need to provide a hint for solvers unless the task is some sort of puzzle or having complex algorithms

  • Custom User Avatar

    I would say "try to call libraries to do the work for you" as this is only an 8kyu level puzzle, and on top of that "reinventing the wheel is bad, mmmkay"

    If they do not want you to attempt to use those libraries, the test cases are able to block that stuff.

  • Default User Avatar

    I agree that the description is too short.

  • Custom User Avatar

    @anter69: No because:

    All numbers in will be positive integers.

  • Custom User Avatar

    I wouldn't call this an issue, perhaps a suggestion. And probably history :-)

  • Custom User Avatar

    I feel the same way. I did my solution with only the library that was given to us and I feel kind of misled after looking at the top solutions.

  • Custom User Avatar

    You could clarify the rules a bit. Is it fine to just call libraries that do the work for you?

  • Custom User Avatar

    [Haskell]
    0 [0] keeps showing up in the random tests. This should either be removed since 0 wasn't invented by thetime primes were, or the expected behavior for such input should be very explicit.

  • Custom User Avatar

    [Haskell]
    There are no test cases to "below" number (i.e. don't include the number if it is equal to the input)

    it "testing 33" $ (solution 12) shouldBe 33