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.
why you calling strlen whole iteration?
i think you should move it to variable
The hint would be "exponentiation laws".
Late reply, but since it seems you're still active as of June 2022:
The goal of this kata is to determine which of the (26) possible shift parameters is the "most likely correct" one, for a given input of an encrypted message string.
Basically, if you did the cryptoanalysis by hand with a pen and paper, you would:
The kata asks you to do this, and return the decryption key/shift parameter that gives "the best result" in step 2) above.
Hope that helps a bit!
Way to easy for a 6KYU IMO
suiiiiiiiiiii
See rampdedlizer post above.
Nice!
Not sure why an empty string is considered a palindrome... Hmmmm
Nice job with the resouce allocation based on the number of digits!
I ran your solution and did not see an access violation. That would just show up in the output window wouldn't it?
I like your use of debugs BTW!!
This one is giving me trouble in c. I'm passing all the tests but getting an access violation.
Pretty tough for a seven... Especially in C :)
i ran my pure python solution 100 times with random input to simulate the acceptance test on my computer and it took 2 minutes. i read up on numpy and got it to
work with it and the same test took just 1 sec. THe same speed as a c version of the challenge.
I learned a lot in this Kata (classes, exceptions etc.) - WELL DONE!!
A lot of typing - I want my half hour back
Loading more items...