Ad
  • Custom User Avatar

    Okay, I'm new to Codewars, so please don't come for me if I an doing something wrong in my post. Just tell me and I'll adjust. I am having a problem with this Kata. I pass all the tests except the one "must accept many values". I cannot find my problem. I read through some previous Q and A and noticed that I was, in fact, altering the original array and I changed that, but still having the same problem. I don't know how to see the test case that I am failing. Is it okay to paste code here if I mark it as spoiler? Can anyone help? Let me know and I'll send my code.

  • Default User Avatar

    C++: please don't put function declaration in test cases - user can't change types of arguments.

  • Default User Avatar

    expected: java.util.Arrays$ArrayList<[]> but was: java.util.ImmutableCollections$List12<[]>
    this is what i get as an error. Can someone please help?

  • Custom User Avatar

    Logs in R are unusable:

    Test Failed
    	number(a) not equal to sol(a).
    	Modes: list, character
    
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Hello, I think it would be convenient to add an example case with some repeated character. Initially, I thought that [a, b, c] = [1: a, 2: b, 3: c] meant that 'a' would always be worth 1, that 'b' would always be worth 2, etc... I would add an 'a' at the end so that 'a' is worth 4. And so it is clear that each letter has a different value. I'm maybe stupid and in the description, it is understood that each letter has a different number, but well.