The description has been updated to be language-agnostic
Also, while translating, I noticed that the random tests in Python (not sure about other languages) limit the gas value to 1000 instead of 50,000 as specified in the description. Not a major issue, but someone might want to fix that.
(specify the language you are using next time). the actual problem is that the Rust random tests generate 6 numbers instead of 7 for the evil side. re-raising here
Haskell translation
Also, while translating, I noticed that the random tests in Python (not sure about other languages) limit the gas value to
1000
instead of50,000
as specified in the description. Not a major issue, but someone might want to fix that.Translated Typescript from JavaScript, spent some time organizing the tests as well. could fork JS and add those changes there as well
Enabled in this fork
What language did you do it? I think in some core level, this is very challenging
No offense but I think it's good enough for 6 kyu.
thank you
This comment is hidden because it contains spoiler information about the solution
You're overwriting the input with some other values. Your function always returns the same, no matter what was passed to it.
This comment is hidden because it contains spoiler information about the solution
Very cool kata, i like it
I cannot find such line :( Can you give an exact line number?I'm sloooooowDone.
check this
(specify the language you are using next time). the actual problem is that the Rust random tests generate
6
numbers instead of7
for the evil side. re-raising herein the Rust random tests, this line:
should be changed to:
Loading more items...