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
In the Python version, one of the sample tests prints out a different input than the actual input. Fork here
The limit of 50 characters is way too restrictive if the purpose is just to prevent hardcoding. Either lower it down or change the description to "to make it more challenging"
Yes. I was confused between saying too "low" or too "high", because it could be interpreted either way.
too "tight", you mean?
The code limit is too high. If someone would try to harcode it, it would take thousands of characters. I barely hit the limit even though I didn't hardcode the date.
Done
Python 3.8 should be enabled.
Since this kata also tests for dates before the introduction of the Gregorian calendar in 1582 the description should state this somewhere or at least mention the use of the proleptic Gregorian calendar.
The tests should be much more rigorous, probably checking every date from
01.01.0001
till some point in 21 century. For example, using the snippet provided below, this solution fails 36k times, this one fails 276k times etc.The anticheat is not good enough.
Dang, I got the regex down to 192 characters but the thing I need to shorten it more isn't working.
fibonacci 1000th time... time to do something funny
What?
This comment is hidden because it contains spoiler information about the solution
Loading more items...