题面
Modify quicksort
, sort by the number of digits for integers descending. If many integers have identical digits, sort them by their values ascending.
Write a program to enter some integers, to call quicksort
, and to print.
样例
输入
5 1 10 100 2 20
输出
100 10 20 1 2