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 has been deleted.
Интересная техника кода
This comment is hidden because it contains spoiler information about the solution
For people confused it wants you to:
I'm pretty sure at least. Dunno if this is a spoiler but feel free to mark it as if I'm giving away too much info.
state = (1 * 214013 + 2531011) mod 2^31 = 2745024. We divide our state by 2^16 (without modifying the state itself)
What do you mean without modifying state itself?
state=
modifies state. Are we supposed to initally assign state a value and then create another variable that is equal tostate mod 2^31
?Nice geometric kata)
Oh!!! good solution!!!
Updated test cases. Didn't do the PS, but recognize that it's a good suggestion. Marking resolved.
u forgot to close the suggestion
Approved, good job, well done.
isn't it easy to read and understand to write "function". I know its easy to write arrow function, but for me the classic way is much more simpler to understand and read.
regex is God
This comment is hidden because it contains spoiler information about the solution
This solution contains a bug (strngely working though), i misread docs about construct argument 2 (it's array, but i passed it as scalar and surprisingly it passed the tests).
This comment is hidden because it contains spoiler information about the solution
Loading more items...