Ad
  • Custom User Avatar

    Thanks for your post!

  • Custom User Avatar
  • Custom User Avatar

    Hi. Apologies for the delay in replying- I have updated the tests so now the random inputs are displayed if you get the wrong answer. Please have another try and let me know. A few other people have been having a similar issue, I believe it is due to a misunderstanding in the description, but it is strange that it doesn't affect the 'big number' random tests.

    Thanks!

  • Custom User Avatar

    I won't give the correct answer but your flaw is in return pair<long long, long long> {candidates[0], candidates[1]};
    Correct that and it will work fine. Please! Tell me when you succeed! (and don't forget to upvote my post:-)

  • Custom User Avatar

    Did you see my answer at your previous post (below)?

  • Custom User Avatar

    Unfortunately, I have no experience with Java kata on CodeWars, so can't help. @jhoffner, could you?

  • Custom User Avatar

    Well, it was quite a long time ago, but I suppose the reason for that is this phrase in the kata description, inherited from the previous kata: "if you have trouble discerning if the particular sequence of 1's is a dot or a dash, assume it's a dot".