Ad
  • Default User Avatar

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

  • Default User Avatar

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

  • Default User Avatar

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

  • Default User Avatar

    I added your text... for final clarity:-) Thanks for the feedback!

  • Default User Avatar

    This makes it more clear! I think my confusion stemmed from the idea of monopoly currency being mentioned that isn't compatible with fractions.

    For final clarity for anyone confused like me:
    Add all of the fractional values on an n by n sized board and print the answer as a simplified fraction.

    This problem is suddenly more interesting to me now. Thank you for the clarification.

  • Default User Avatar

    It's not an issue! Rather a question!-)
    The sum of the numbers on the chessboard is 1/2 + 1/3 + ..., not the sum of the numerators or of the denominators. Here a number is a rational. Do you understand? If not, ask again.

  • Default User Avatar

    I've started looking at this one, but I'm having trouble understanding what is being asked.

    I've setup a function that will calculate the sum of all of the denominators and all the numerators for an arbitrary n. When I expand to the n = 8 example, the test is not passing. I assume I'm just not understanding what we're supposed to calculate. When you say:

    "When all numbers are on the chessboard each in turn we toss a coin. The one who get "head" wins and the other gives him, in dollars, the sum of the numbers on the chessboard"

    which numbers do you want summed?

    Thanks for the help in advance.