Ad
  • Default User Avatar

    I think you do make a good point. What you say makes sense. However, in looking at the test cases, it appears that 'your_points' are not included in the 'test_scores' and that 'class_size' matches the number of provided 'test_scores'. So, mathamatically, to get the most accurate result, you would have to add 'your_points' to the array of 'test_scores' and then increase 'class_size' by one. However, doing this will not change the outcome of the final comparison of class average to 'your_points'. Adding you score will bring the class average closer to your score, but cannot cause the average to move above or below your score.

  • Default User Avatar

    Shouldn't you include your_points in the average? The note in the description explicitly says your_points is not included. class_size is length of class_points, so it's also off by one (since you are also in this class). I think right now, you're checking whether you're better than the average student excluding yourself. If that's correct, then the note is somewhat confusing. Or am I missing something?