1044 按1的个数排序


Submit solution

Points: 100
Time limit: 1.0s
Memory limit: 32M

Problem types
Allowed languages
C, C++, Java, Python

Description

有一些01字串,将其按1的个数的多少的顺序进行输出。

Sample

Input

10011111
00001101
1010101
1
0
1100

Output

0
1
1100
00001101
1010101
10011111

Comments

There are no comments at the moment.