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, I copy pasted it, very strange
I already had it correctly but sublime text made me lose abput 1 hr calling a syntax error, the i just copied the code from sublime and I ran it here and it worked
i've tested the reference solution with (
4003730, 2
) and it returns4004001
, so i'm not sure what happened. did you copy/paste this directly from the tests' output ?This comment is hidden because it contains spoiler information about the solution