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.
as a prime bigger than 5, n = 6n+1 or 6n+5
n+1 = 6n+2 or 6n
n+1 % 6 = 2 or 0
if 2: try from n+4
if 0: try from n+2
This comment is hidden because it contains spoiler information about the solution
because the
-
, it is a arithmetic operator which will coerce it into a numberWhy does the Array coerced into a number?
This comment is hidden because it contains spoiler information about the solution
haha, you are cheating man
crazy functional programming!
the second last should be more readable
great inspiration!
but the idea is shining
like your always clear code
very clearly!
Yeah, it's a bit shortcoming.
but I like the func toHex in func rgb, which keep not expose the inner func to the out scope!
This comment is hidden because it contains spoiler information about the solution
I really shocked!! so clever!
This comment is hidden because it contains spoiler information about the solution
Loading more items...