Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I found my error! Read the comment from creme332: The description must be improved.
The description must be improved. I found my error! Read the comment from creme332.
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?
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.
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