Ad
  • Custom User Avatar

    We already talked about the way to fix it here, but they are marked as spoilers.

    Try reading up on the max method and how it works with different data types.

  • Custom User Avatar

    hey, i have some problem with this test case too, .max just return 6 every time until you remove it or change, help please

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

    I am the author of the Ruby version and I think I don't get your question correctly: I checked and both sample tests cases and the actual submission cases correctly expect 542; what is the issue you are encountering, exactly?