Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
there are 5 data in the example,each data is formated, you should change it so you can look for avg,med,range
wow
the average is for the total amount of time; consider the h/m/s as total seconds
No it doesn't mean average for every seconds,hour,min. The average is global.
BTW your calculation "(15+47+17+32+2)/5 so average for min=56.5" seems wrong but here it doesn't matter.
Be sure there are no error in the tests so in your example the average is "01|35|15" which means that on average the team has run in 1h 35mn 15s.
can anyone explain the explanation to me (i didnt quite got it)
their example input was "01|15|59, 1|47|6, 01|17|20, 1|32|34, 2|3|17" and answer is "Range: 00|47|18 Average: 01|35|15 Median: 01|32|34"
now when they say average does it mean average for every seconds,hour,min ex for min (15+47+17+32+2)/5 so average for min=56.5 but here its 35 (Average: 01|35|15)
for median its the middle term of the set so for median of minute it should be 17 becoz
arranging in ascending order the minutes=[3 15 17 32 47] so the middle term for minute is 17 not 32
same question could you pls tell me if someone has told you the answer ?
thanks in advance
Because
127765 - 6 = 127759
This comment is hidden because it contains spoiler information about the solution