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.
descriptions :))))))) ??????????????????????
That's not true. It expects False for another reason.
"entered_code" equal to zero is considered invalid. it's just not written directly in the condition
yeah, tks all
.
lets convert
02|15|59, 2|47|16, 02|17|20, 2|32|34, 2|32|34, 2|17|17
to seconds. and sorted timings are:8159, 8237, 8240, 9154, 9154, 10036
loooks like your algorithm decided to take 8240 as value for median, but here is not even number of items. so median is - average between 8240 an 9154 (check median definition from kata details)
input: 02|15|59, 2|47|16, 02|17|20, 2|32|34, 2|32|34, 2|17|17
Expected: "Range: 00|31|17 Average: 02|27|10 Median: 02|24|57"
Actual: "Range: 00|31|17 Average: 02|27|10 Median: 02|17|20"
I dont see where median=02|24|57 in input
And
input: 10|16|16, 1|16|16, 11|25|11, 00|19|34, 1|17|20, 11|22|00
Expected: "Range: 11|05|37 Average: 05|59|26 Median: 05|46|48"
Actual: "Range: 11|05|37 Average: 05|59|26 Median: 01|17|20"
This comment is hidden because it contains spoiler information about the solution
NICEEEEEEEEEEEE
That really "Walk" :DDD
Both tests (they're not exactly the same) expect
False
, your code is returningTrue
for the first one. Not a kata issue.Two inputs like that
input: 0 False September 5, 2014 September 25, 2014
But one wrong, one right
invalid issue report
If you don't describe what the problem is so that others can see it, then you have not reported a problem. This is an invalid issue.
This wrong checkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk