Ad
  • Custom User Avatar

    TEAM C won two matches (1x0 and 3x2). Receives 6 points and a total of 4 scored goals.

    Should be:

    TEAM C won two matches (2x1 and 3x2). Receives 6 points and a total of 5 scored goals.

    Given these two matches results:

    "TEAM A 1 x 2 TEAM C", "TEAM B 2 x 3 TEAM C"

    What's wrong there are the first match result and the total scored goals.

  • Custom User Avatar

    The function should return true if a triangle can be built with the sides of given length and false in any other case.

    That's the point, if some side value is 0 (because of what I quoted before) or is negative it isn't a triangle and those tests expect false. Not a kata issue.

  • Custom User Avatar

    Both of those are in this line:

    (In this case, all triangles must have surface greater than 0 to be accepted).

    Do you mean there are some tests that expect another thing? In which language?