Ad
  • Custom User Avatar

    Maybe some trailing space? Read this and if that doesn't help, try posting your code following the directions there so we can see your code.

  • Default User Avatar

    Then I don't get this error:

    Expected: equal to Max, John and Mark like this
    Actual: Max, John and Mark like this

  • Custom User Avatar

    That's part of the testing suite, it can't be removed.

    Expected: equal to Jacob and Alex like this
                       ************************
    Actual: Jacob and Alex likes this
            *************************
    

    You should read it like that

  • Default User Avatar

    C++: Test cases start with "equal ... ". Per instructions, this should not be there.

  • Custom User Avatar

    @hobovsky While true, once you submit a passing solution on CW, you are automatically directed to the solutions page so there's really no question there.

    EDIT: ok, maybe what you meant is that it's done by force of habit?

  • Custom User Avatar

    @doc one thing could be that on some other competitive programming sites, users cannot see each others solutions, so they just show off posting them in comments.

  • Custom User Avatar

    Maybe it's just me, but it seems like more frequent cases of new users posting their solution to the Discourse section. What is the point of that? Your solution shows up in the solutions section. That is where the exchange of knowledge happens. People can see your solution and you see others. You can comment on solutions there.

    This Discourse area is for discourse about the kata, not for showcasing solutions.

  • Custom User Avatar

    I'm new here, so I still don't really know the rules, but thanks.
    What do you get by submitting other people's solutions? I'm trying to learn and exchange knowledge around here. Again thank you for explain me

  • Default User Avatar

    Other people who haven't completed it in javascript, but in another language can submit it as their own solution, so that's why it's forbidden.

  • Custom User Avatar
  • Custom User Avatar

    Please don't post solutions in Discourse.

  • Custom User Avatar

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