Ad
  • Default User Avatar

    This is a beautiful solution.

  • Default User Avatar

    Shouldn't it be in all the languages?
    "Task: Given an integral number of watermelons w (1 ≤ w ≤ 100; 1 ≤ w ), check whether Pete and Billy can divide the melons so that each of them gets an even amount."
    In the test cases, it only verifies up to 100.

  • Default User Avatar

    In the instructions they give (1 <= w < 100). Isn't there a problem with the test cases? There is no comparison for anything higher than 100.