This solution fails random tests sometimes, same as mine.
No reason. They are the same.
If it's timing out then you have to make your solution more efficient. Remember it's taking 2^32 - 1 as its max int. You have to pass that case and all others in 6 seconds. Maybe you have more time on your computer's compiler
it's an alias AFAIK
Btw, with this timeout - this kata should be at least 4 kyu
try to submit again - if you still getting an error - then your code is not fine (perhaps you missed the requirements). does it make sense?
code is fine and even the tests are passing
This comment is hidden because it contains spoiler information about the solution
Keep getting Unknown error. Though the code works fine on my computer with ruby 2.0.0
This one lacks test cases. What should be output for 0?
Loading collection data...
This solution fails random tests sometimes, same as mine.
No reason. They are the same.
If it's timing out then you have to make your solution more efficient. Remember it's taking 2^32 - 1 as its max int.
You have to pass that case and all others in 6 seconds. Maybe you have more time on your computer's compiler
it's an alias AFAIK
Btw, with this timeout - this kata should be at least 4 kyu
try to submit again - if you still getting an error - then your code is not fine (perhaps you missed the requirements).
does it make sense?
code is fine and even the tests are passing
This comment is hidden because it contains spoiler information about the solution
Keep getting Unknown error. Though the code works fine on my computer with ruby 2.0.0
This one lacks test cases. What should be output for 0?