Write a program that reads a sequence of lists of numbers, and prints each list sorted in decreasing order.
Input consists of a sequence of lists of numbers, each one composed of a natural followed by integer numbers.
Your program must print each line sorted in decreasing order, with the numbers separated by a space.
Use the procedure |sort()| from the library |<algorithm>|.
Author: Unknown
Translator: Carlos Molina
Generation: 2026-01-25T10:25:15.405Z
© Jutge.org, 2006–2026.
https://jutge.org