I cannot complete validators 7 and 9, no matter what I tried
I complete all examples successfully.
The 9th validator is not very descriptive, but as far as I understood from discussion - it's about number of code lines, there should be 80, my code is 67 lines with normal formatting. Otherwise, I do not understand what validator 9 is about.
The 7th is about time, I complete Example 7 in ~375ms. I even switched to BufferedReader + Stream to improve the time. I use Java array.sort (and tried parallelSort) which should be quite fast and using BufferedReader cut more time than sort even took. I see some people mentioning getting median without sorting, but on the other hand I see many people completed the test with sorting just okay.
Yet, validators 7 and 9 always fail, I don't understand the reason at all
EDIT: Turns out I added one correction variable that was not really needed and was 0 for all examples, but I guess it was not zero in validators and skewed the result