Ad
  • Default User Avatar

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

  • Custom User Avatar

    If only one passes I would say, you're using global vars, why don't you post your code using proper markdown and marking your post as having spoiler content so we can say for sure what's the problem?

  • Default User Avatar

    Im encountering a weird error, all my tests pass if i run them individually (i comment out the rest and do them one by one). However if I run them all they all fail.. super weird. anyone have any thoughts?

  • Default User Avatar

    @Voile ... no this isn't his "codes problem" its yours. Why dont you do a type check before doing a sort? You are the one with bad practice .. fix yourself fool

  • Default User Avatar

    you dont understand what codewars is about, its a coding challenge.. not a damn riddle. make it clear in the damn description or dont make one at all

  • Default User Avatar

    your probably doing a comparison wrong. its >7 not =7

  • Default User Avatar

    poorly written instructions i have the same problem as
    @yk2kus

  • Default User Avatar
    me: 86ms Passed: 3 Failed: 1 Test Results: Basic tests Log [45, 12] [55, 21] 55 [55, 21] [19, -2] [104, 20] 104 [104, 20] ✔ Test Passed

    Log
    [3, 12]
    [55, 1]
    [91, -2]
    [54, 23]
    ✔ Test Passed

    Log
    [59, 12]
    59 [59, 12]
    [55, -1]
    [12, -2]
    [12, 12]
    ✔ Test Passed

    Log
    [74, 10]
    74 [74, 10]
    [55, 6]
    [12, -2]
    [68, 7]
    68 [68, 7]
    ✘ ['Senior', 'Open', 'Open', 'Senior'] should equal ['Senior', 'Open', 'Open', 'Open']

    whats up with the last part of the test? did you guys have to do this as well?
    I dont understand the extra number????