Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    In JS: I wasn't able to replicate this, but there are several problems with the random tests currently. The tests generate a block of guaranteed "tricky doubles" and a block of random numbers, and then tests each block. However, the random tests incorrectly use global variables and it causes each block of tests to use only one number, so each block tests the same number over and over. Also, in the random block, the "expected" value is always double the random number, even if the random number is a tricky double, which can cause tests to fail incorrectly. My fork fixes all these issues, just waiting on review and approval.

  • Custom User Avatar

    To check this, it would be very helpful to know which language you attempted, and what was your code (posted with code formatting, in a post marked as spoiler).