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.
thanks
The error occurs in c++.
what do you think if you use "nth integer" instead of "nth smallest integer" because when solving it made me think to sort the vector in descending order and remove the recurring integers and then return nth integer if it exist else -1. But then it was the examples that brought me to the actual track.
Can u plz explain on what basis are you saying that. and plz make ur reply spoiler.
ok thanks
This comment is hidden because it contains spoiler information about the solution
My code gives exactly the same output as expected but still it fails.
✘ Expected: [ 4.2, -35.8, -2.8, 23.2, 11.2 ]
Actual: [ 4.2, -35.8, -2.8, 23.2, 11.2 ]
c++
My code gives exactly the same output as expected but still it fails.
✘ Expected: [ 4.2, -35.8, -2.8, 23.2, 11.2 ]
Actual: [ 4.2, -35.8, -2.8, 23.2, 11.2 ]
The random test having 1804289383 value is wrong. It expects value of 283 but has actual of 336. You can verify it here. http://www.nitrxgen.net/collatz/1804289383/
Can somebody help me. I'm having serious problem with this kata. I don't know when i'm supposed to return -1 and when the answer. Because the answer exists in every case. I'm doing it in c++.
c++ translation kumited.
Have a look at it.
https://www.codewars.com/kumite/579dd00abb99441f04000001
Does it mean that the translation is not properly published.
O I've already joined that. Can u please approve the pattern1 translation. Or is it having some problem.
C++ translation kumitted
kindly approve it so that c++ geeks can give it a try.
Loading more items...