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
This comment is hidden because it contains spoiler information about the solution
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!
suiiiiiiiiiii
See rampdedlizer post above.
This one is giving me trouble in c. I'm passing all the tests but getting an access violation.
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.
In case you're talking to me, the answer is no. I'm a Computer Science student that actually knwos math
Browsing through the solutions in the languages you've already completed, you'll find answers :)
This comment is hidden because it contains spoiler information about the solution
I personnaly think it's quite an easy 6 kyu kata. The description is clear and gives you an equation to use in order to do the required calculations.
Suppress the "`" at the end of your code...
I tried your solution and get (after suppressing the "`"):
Please verify your code before posting issues and take note at the top of the page of how many guys passed the kata in your language.
Creating a translation for a kata is definitely a good choice before creating a new kata from scratch. It will make you familiar with authoring process, reviews, and maintenance of Codewars content.
Unfortunately, there's no really good documentation on translating kata, but there is something what could be useful:
Old katas have bloated ranks. In other words, what's now a 7 could have passed for a 6 or even a 5.
Loading more items...