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.
Hmm... I wonder how the testing for years will age.
Change the thing to be "year has to be between 2000 and 2024 (inclusive)", to freeze that test in time and prevent any bugs that happen in a year or two.
Not testing plates with
00
age?My solution does not account for the passage of time, but it'll pass this year, because it hardcodes
2020
as the future. Next year, I'd have to change that, but I won't submit again next year of course.If you want to test correctly, you'd have to devise some way of testing in the past and / or the future, as well as the present, to see if solutions actually account for the current date correctly.
It can be done, I don't think it's easy, but if you don't do it, you might as well just hardcode
now
as2019
.