Ad
  • Custom User Avatar

    Oh - I thought it was another test case that failed and doesn't showing me the inputs. Now I see, thanks!

  • Custom User Avatar

    I'll try to explain for the 1st failing test if you read things correctly which is not evident.
    All you need is displayed. You have:

    Testing:
    02|15|59, 2|47|16, 02|17|20, 2|32|34, 2|32|34, 2|17|17
    My input is 02|15|59, 2|47|16, 02|17|20, 2|32|34, 2|32|34, 2|17|17
    Actual: Range: 00|31|17 Average: 02|27|10 Median: 03|33|37
    Expect: Range: 00|31|17 Average: 02|27|10 Median: 02|24|57
    *
    Test Failed
    Expected "...: 02|27|10 Median: 0[2|24|5]7", but got "...: 02|27|10 Median: 0[3|33|3]7"
    

    The last line says that you failed on "Median". You returned "03|33|37" written "0[3|33|3]7" to show the difference with expected median "02|24|57" written "0[2|24|5]7"
    The "[" and "]" show where are the differences, "[3|33|3]" being different of "[2|24|5]". Is it clearer?

  • Custom User Avatar

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