Ad
  • Custom User Avatar

    It's been six months since the question was asked, but in case someone else runs into this problem, here's what's going on. The tests check for negative numbers, and you're likely treating '-' as a digit of the number somewhere. Since '-' isn't a number/int, it gives this error. The instructions should point out negative numbers must be accounted; though really it doesn't make sense to include them given that the output can't be negative.