It was not an actual JS translation, if I'm correct. Codewars used to not have BF as a language, so they made a workaround by doing it on JS. Once CW added BF, BF added as a translation to those katas.
I wouldn't call this a number base system, as one transformed number can interpret two different origin numbers. For example, we can get 2337 both from 126 (2 * 3 * 3 * 7) or 851 (23 * 37).
.
There should be some message for the error handling test cases as it is not clear what is being tested here.
The order of the input coordinate values should be described in the description.
It was not an actual JS translation, if I'm correct. Codewars used to not have BF as a language, so they made a workaround by doing it on JS. Once CW added BF, BF added as a translation to those katas.
No sample tests
Currently, random tests use char code
32 - 126
. So, I don't think this needs to be handled.Leaving author to resolve this, since author might have a change of mind later.
Well, you can't delete / remove a kata once it has a solution. However, you can un-publish it. The kata will be reverted to
Draft
status.There's already a kata about string repetition: https://www.codewars.com/kata/57a0e5c372292dd76d000d7e
There's already a ton of kata about caesar / atbash cipher and the topic is currently under deduplication: https://github.com/codewars/content-issues/issues/203
The tests said:
But the number 8910 itself doesn't contradict the three conditions:
The 8910th number in the sequence (which is n = 8909) is prime
Through my code, I got
s(8909) = 48731
which is prime.The number 8910 was not used previously
I tested whether contradiction exists in my sequence through this code:
this outputs
False
.The 8908th number (
s(8908) = 8910
) in the sequence must be as minimum as possibleWell compared to the one matched by the tests, my number is smaller.
I think there's something wrong with the test cases.
The tests forgot to handle
AssertionError
, making the test just goes blank on invalid inputs:Also, nice kata :)
Kinda similar to this kata: https://www.codewars.com/kata/5a02037ac374cbab41000089
From the description:
2337
both from126 (2 * 3 * 3 * 7)
or851 (23 * 37)
.Loading more items...