Ad
  • Default User Avatar

    There exist many comments amounting to the same message as yours.
    They are almost all about an incorrect observation. You're going to get an identical answer/reference to existing answers unless you add more information so that it is no longer the same comment as those others.

    If you provide a way to reproduce your observation (your code), others can point out the problem. Better for everyone.

  • Default User Avatar

    I am looking on log that is above my code.
    And yes, I've read comments for more than a minute and spent two hours of thinking and coding, so, please, keep your assumptions about my time away.
    This was not helpful at all.
    Thanks anyways for replying.

  • Custom User Avatar

    That's because you're reading the logs incorrectly. Take 1 minute and have a look at hundred other comments with similar questions.

  • Default User Avatar

    I don't get it..
    Input: a = {2,2,3}, b = {4,9,9}. b is obviously not a squared.
    Expected: true.....

    While my last version was checking if all elements in b are squares of some number in a, this failed another similar test.

    I don't get the point of this exersise.

  • Default User Avatar

    Print the input.

  • Custom User Avatar

    Read this: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution#print-input
    Also reading the post (and the replies) below yours will help you.

  • Custom User Avatar

    hello I'm new here, I'm wondering how would I know the variables in the instance that I'm failing because in the basic test and random test I past it all except one in the basic test I can't think in what instance I'm failing