#描述#
有一些整数,它的结构是:第一行为一个整数N,表示后面有N个整数需要排序输出,先按长度排,如长度一样则按大小排,若遇到N等于零,则运行结束。
#格式#
##输入格式##
##输出格式##
#样例1#
##样例输入1##
3
123
12
3333
2
1000000000000000
1
0
##样例输出1##
12
123
3333
1
1000000000000000
#限制#
1000ms
32768KB
#提示#
#来源#
By signing up a OPS universal account, you can submit code and join discussions in all online judging services provided by us.