Have the same in dart (, in 'add' we meet 'd' two times so the output must be 1 (isn't?)
Agree, absolutely appalling description.
exactly, man. I've just wasted 15 minutes trying to write a comparator, but after a few attempts with randomized string without any connection to heads, tails, and bodies, the insight descended on me :)))))
; rdi = array (pointer) ; esi = size (unsigned int)
This comment is hidden because it contains spoiler information about the solution
For NASM, Codewars compiles your solution to 64bit machine code, what means it uses System V AMD64 ABI calling convention.
Loading collection data...
Have the same in dart (, in 'add' we meet 'd' two times so the output must be 1 (isn't?)
Agree, absolutely appalling description.
exactly, man. I've just wasted 15 minutes trying to write a comparator, but after a few attempts with randomized string without any connection to heads, tails, and bodies, the insight descended on me :)))))
; rdi = array (pointer)
; esi = size (unsigned int)
This comment is hidden because it contains spoiler information about the solution
For NASM, Codewars compiles your solution to 64bit machine code, what means it uses System V AMD64 ABI calling convention.