Ad
  • Default User Avatar

    I found my error! Read the comment from creme332: The description must be improved.

  • Default User Avatar

    The description must be improved. I found my error! Read the comment from creme332.

  • Default User Avatar

    I am writing a program and I have doubts whether I understood the condition correctly? Perhaps this is because English is not my native language, and I know it poorly.
    Problems arise in sorting in alphabetical ordering.
    All textbooks and the Internet say that it is 90
    ninety and 180 - one hundred and eighty. The English alphabet is abcdefghijklmnopqrstuvwxyz. "Ninety" when sorting in alphabetical ordering will be earlier than "one hundred and eighty". Then it turns out that 90 should be before 180. Where is the error?

  • Default User Avatar

    As far as I know, there is no library in "C" that converts numbers into words. Is there such a library?

    And it seems to me that the example given in the instructions has an error:
    "56 65 74 100 99 68 86 180 90" ordered by numbers weights becomes:
    "100 180 90 56 65 74 68 86 99" Should be "100 90 180 56 74 65 86 68 99". That's how Excel sorted for me.

  • Default User Avatar

    It has error for board
    board5 = [[0,2,2],
    [0,2,2],
    [2,0,1]]
    for board
    board4 = [[2, 1, 2],
    [2, 2, 1],
    [1, 2, 2]]
    it work