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
what does this mean? a pointer reinterpret cast of an int pointer?
solidity translation
all that time I spent
and the answer was just 'unpacking'
😵
Just CoffeeScript remains
JS has been updated ( to
Node 18.xas well )Ruby has been updated.
Comment has been deleted, so there is no real issue!
Very nice kata by the way, thanks to the author!!
This comment is hidden because it contains spoiler information about the solution
how does the lambda expression assume that there two char in the sequence provide.--> you say(we have 2 * 64 = +128) --> and if so doen't this assume that the two char are both the same both in case and value.
like a A or a b are the same giving us +128?
I also had trouble with this explaination but ended up figuring it out.
since the ord() values (ascii values) are off from the values they should have according to the validation rules set by the task (see step 1), we can figure out how much off they all in all are (step 2). since we are taking the digital root (so we reduce it to a 1 symbol long int) we need to take the digital root of that offset too.
And since we want the value of our sum to be 7 to be right, we need to add our offset to that. since it makes 7+5 = 12, which is over 9 we also modulo that. therefore, including the offset of all ascii symbols is the value that indicates that the sum according to the rules value is 7 is the total value of 3. (step 4)
point 3 and 4 are vague
i still dont get it
This comment has been deleted.
Same here, exactly 78
Loading more items...