Hint: You said I've tried 10000centuries as mention above, how many years are there in the 10,000th century?
Also, The expression (centuryFromYear(year)) == (expected) is false. is not an issue, it is part of codewars. Try returning a wrong value for Multiply in C (in case it is what you meant).
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
PHP translation added. Please review and approve.
I just read your comment. Tomorrow I will make a translation for one of your katas.
Regards!
Not an issue, your code is wrong.
Hint: You said
I've tried 10000centuries as mention above
, how many years are there in the 10,000th century?Also,
The expression (centuryFromYear(year)) == (expected) is false.
is not an issue, it is part of codewars. Try returning a wrong value for Multiply in C (in case it is what you meant).This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thank you!
I'll keep it in mind. Maybe another day I will do another translation.
Regards!
PHP translation added. Please review and approve.
I tried again this code and it is wrong. This code is just working with 2-digit hours. I have made it again, correct answer is here: https://www.codewars.com/kata/reviews/586f67dd86b0a49de3002c83/groups/587050e66e778b25e0000c97