Ad
  • Custom User Avatar

    Initially, my solution had the same problem as yours. But then I went through the sample tests manually, and found my mistake.
    I checked your solution, and you do the same mistake as me. Tests seem to be OK, and your solution does not account for one possibility.

  • Custom User Avatar

    I have same problem :)

  • Custom User Avatar

    Hi. It is fixed in the latest version approved. You can:

    • Change the function signature to the correct func numbersWithDigitInside(_ x: Int64 , _ d: Int64 ) -> [Int64 ] {
    • Or save your code locally, click on reset at the bottom of the page and use the signature from there.
  • Custom User Avatar

    This is necessarily coming from your code, there is no way tests magically multiply all numbers in your result by 10. When you don't know, please: don't raise an issue! See the documentation: https://docs.codewars.com/training/troubleshooting/