A069800
Submit
Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
Problem
Sort the natural numbers by digit sum. Tiebreak on numerical value, lowest first. First 100 terms
Options
exec is denied
rejudge feature is enabled
now post-mortem time, all source codes will be revealed
Sample input:_
*NOTHING*
Sample output:
1
2
11
3
12
21
111
4
13
22
31
112
121
211
1111
5
14
23
32
41
113
122
131
212
221
311
1112
1121
1211
2111
11111
6
15
24
33
42
51
114
123
132
141
213
222
231
312
321
411
1113
1122
1131
1212
1221
1311
2112
2121
2211
3111
11112
11121
11211
12111
21111
111111
7
16
25
34
43
52
61
115
124
133
142
151
214
223
232
241
313
322
331
412
421
511
1114
1123
1132
1141
1213
1222
1231
1312
1321
1411
2113
2122
2131
2212
2221
Ranking
Rank | User | Size | Time | Date | Statistics |
---|
1 | rotary-o | 51 | 0.3051 | 2022/09/05 21:16:50 | 0B / 27B / 23B |
2 | Sisyphus | 51 | 0.3274 | 2022/09/05 22:01:20 | 0B / 27B / 23B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 56 | 1.3360 | 2022/09/09 15:53:01 | 0B / 28B / 28B |
2 | teebee | 56 | 1.4648 | 2022/09/11 04:41:12 | 0B / 26B / 30B |
3 | Sisyphus | 64 | 2.1087 | 2022/09/09 12:50:12 | 0B / 34B / 28B |
4 | teebee (tails) | 55 | 2.3376 | 2022/09/19 16:06:14 | 0B / 26B / 29B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | xnor | 81 | 2.4840 | 2022/09/10 13:38:45 | 0B / 46B / 26B |
2 | lynn | 82 | 1.8098 | 2022/09/08 21:31:16 | 0B / 50B / 22B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 114 | 0.1129 | 2022/09/19 09:34:44 | 0B / 65B / 47B |
2 | rotary-o | 116 | 0.1109 | 2022/09/19 10:40:57 | 0B / 67B / 47B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | Fleur | 77 | 0.8478 | 2022/11/09 16:09:48 | 0B / 37B / 40B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 115 | 0.0205 | 2022/09/13 15:07:54 | 0B / 37B / 66B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | Fleur | 60 | 1.3715 | 2022/09/09 09:38:34 | 0B / 29B / 28B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 120 | 1.3971 | 2022/09/16 13:27:58 | 0B / 53B / 55B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 14 | 1.9874 | 2022/09/05 15:39:36 | 4B / 2B / 8B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 11 | 2.0023 | 2022/09/05 16:05:31 | 8B / 3B / 0B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | Nibbles | tails | 11 | 10000 |
2 | gs2 | tails | 14 | 7857 |
3 | Burlesque | Hendrik | 32 | 3437 |
4 | Ruby2 | rotary-o | 51 | 2156 |
5 | Perl | teebee (tails) | 55 | 2000 |
6 | Scala | rotary-o | 56 | 1964 |
7 | Ruby | rotary-o(Sisyphus) | 59 | 1864 |
8 | Bash | Fleur | 60 | 1833 |
9 | AWK | Fleur | 77 | 1428 |
10 | Python | xnor | 81 | 1358 |
11 | C | rotary-o(tails) | 90 | 1222 |
12 | Java | teebee | 114 | 964 |
13 | sed | tails | 115 | 956 |
14 | Bash (builtins) | tails | 120 | 916 |
15 | Common LISP | pull-stops | 321 | 342 |
16 | Lazy-K | tails | 783 | 140 |
return to the top page