Ad
  • Default User Avatar

    comp([2,3],[4,9],1).
    comp([2,3],[4,9],0).
    Both can't be true.

    comp([2,3],[4,9])
    comp([2,3],[4,9])
    

    These are not the original arrays that are given in the tests you mention.
    I am sorry but your code is wrong somewhere. These tests are the same in all languages and you can see at the top of the page how many people passed the kata.
    BTW I see that you are new at CW but don't post issues too fast:-) Cheers!