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
Yes, you're right! I will add that too. Thank you so much for your help!
I admit that was a little bit of a generalism. I believe I've made it sound better now!
Fixed! Thanks for reporting the issue.
I'm sorry, could you please elaborate? The task is to modify the input given and convert it to a Numeric type, but I believe I don't understand you.
I tried to look for one and I was impressed that I couldn't find anything. Please tell me if you do!
I've fixed the issues, and I also changed the conditions for the "remaining time" part, so if the days measure equals the amount of days in that month, it must add 1 to the month measure and become zero. E.g.
11 months and 31 days >> 12 months and 0 days
.About the first two, I added a small example in the description that indicates that the age and the remaining time have to add up to
11 months and 31 days
. I'll try to find a way to allow both results, though. As they should both be valid.You're right about the third and fourth one. I'll go fix them right away.
It should be fixed now! Please, try again.
It should be fixed now! Please, try again.
It should be fixed now! Thanks for reporting the issue.
They look similar, yes. But I wonder if mine is different enough to not be considered a duplicate.
I totally get what you're trying to say. May I elaborate further by saying that the measures should follow the idea of a 'date' (that is, YYYY-12-31); which means there's a limit to every unit, and they shouldn't go higher than what we use in our calendar.
Although I do understand that my current way of explaining it is prone to confusions. So, I'll take my time to write a better explanation on the Kata description.
EDIT: Description updated!
The "day" unit shouldn't be higher than 28,29,30 or 31 (depends on the month), and the "month" shouldn't be higher than 11.
For example, given the DoB 2002-12-20, as of 2021-07-02; there's 5 months and 18 days remaining for that person's birthday.
And to explain the days thingy, let's evaluate for DoB = "2020-08-01" as of 2021-07-02. We can't say 1 month because that would mean increasing the month value and leave the day unchanged. Thus, we must use 0 months, 30 days to bring up the date to 2021-08-01.
Then, given your example, the answer would be
"2 months and 29 days"
from 2199-10-03 to 2200-01-01.I mean, in practice it'd be better to say, for example, "1 year, 1 month and 28 days" instead of, say, "0 years, 13 months and 28 days". But yeah, this is a detail that isn't explicitly explained in the description and I will add it right now. Thank you!
Yes, looks like I messed up somewhere. Thanks a lot for reporting the issue! I'll go fix it right away.
EDIT: Done!
Loading more items...