Ad
  • Default User Avatar

    @rowcased ~ Thanks for the effort. Now it works fine (but sadly the large values are gone).

  • Default User Avatar

    @AlfheriH ~ Understood, and appreciated. I have adjusted the random test suite.

    @Ricard.O ~ thanks for your post, please do try your code again.

  • Default User Avatar

    @rowcased: I disagree. These failed tests (testing large random values) only occur in the C version (well at least not in Python or JavaScript). So maybe there is something wrong with the expected results. It would help, if there was a more specific message (with n and m replaced by actual values). See also my next comment with spoilers...

  • Default User Avatar

    That is an error message; your code has not passed all tests.

  • Default User Avatar

    C ~> Passes all tests but returns this: The expression (pyramid(n)) == (m) is false.