Training winter - sorted (sort ordering, ordering structure) and function cmp

Each topic has a hyperlink, click to jump to the title screen! ! !

nefu 1481 who took the test the first k name - sort

Here Insert Picture Description

nefu 1482 odd sequence monocytogenes

Here Insert Picture Description

nefu 1483 results sorted

Note that when the same results sorted according to the name of the case, because the type bool, so the determination should be a return statement, and what condition it is arranged in what order.
Here Insert Picture Description

nefu 1659 do not need to sort 1

Here Insert Picture Description

nefu 1650 unnecessary ordering 2

Using the sort ordering time out, should barrels row.
Here Insert Picture Description

nefu 554 old monk guide member

This problem does not explicitly explain the meaning of problems, multiple sets of input data should be entered.
Here Insert Picture Description

nefu 556 forgetful old monk

Here Insert Picture Description

nefu 873 Joking Three Kingdoms

Note moderation! Original title is in accordance with b%, a%, c%.

nefu 874 Meet in Morocco

This problem can be combined with switch-case statement
Here Insert Picture Description

nefu 1297 structure ordering a title

Here Insert Picture Description

Published 11 original articles · won praise 12 · views 562

Guess you like

Origin blog.csdn.net/SSnTi/article/details/104168480