Ad
  • Custom User Avatar

    C# tests seem to be OK, but I think you misinterpret the rules. When you have three ones, you get 1000 points. Additionally, you get 100 points for every other one. This means that when there's 1,1,1,1,3 you get 1000 points + 100 points, and when there's 1,1,3,4,6 you get 2x100 points.

  • Custom User Avatar

    1 one: 100 points, 2 ones: 200 points, what's the problem? It's in the examples:

    5 1 3 4 1   250:  50 (for the 5) + 2 * 100 (for the 1s)
    
  • Custom User Avatar

    There is a problem with this kata, at least in C#. It is scoring incorrectly. I had to put a special exception for exactly two 1's adds 200 points in order to get all tests to pass.

  • Custom User Avatar

    There is a problem with this kata, at least in C#. It is scoring incorrectly. I had to put a special exception for exactly two 1's adds 200 points in order to get all tests to pass.