Ad
  • Default User Avatar

    Thanks for kata. But not all rules from article in Wikipedia are observed in tests. For example it's string from article:
    "For example: 1260 is a vampire number, with 21 and 60 as fangs, since 21 × 60 = 1260. However, 126000 (which can be expressed as 21 × 6000 or 210 × 600) is not, as 21 and 6000 do not have the correct length, and both 210 and 600 have trailing zeroes"
    But last test vampire_test(210,600) returned true - it's not correct.
    Thanks for your kata.

  • Default User Avatar

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