A069800

Submit

Your name:
File:
Open code-statistics:

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

Ruby _

RankUserSizeTimeDateStatistics
1Sisyphus611.13902022/09/05 21:38:100B / 29B / 31B
2rotary-o610.77402022/09/05 21:53:540B / 30B / 30B
3rotary-o(Sisyphus)592.27332022/09/19 12:16:210B / 28B / 30B

Ruby2 _

RankUserSizeTimeDateStatistics
1rotary-o510.30512022/09/05 21:16:500B / 27B / 23B
2Sisyphus510.32742022/09/05 22:01:200B / 27B / 23B

Perl _

RankUserSizeTimeDateStatistics
1tails561.33602022/09/09 15:53:010B / 28B / 28B
2teebee561.46482022/09/11 04:41:120B / 26B / 30B
3Sisyphus642.10872022/09/09 12:50:120B / 34B / 28B
4teebee (tails)552.33762022/09/19 16:06:140B / 26B / 29B

Python _

RankUserSizeTimeDateStatistics
1xnor812.48402022/09/10 13:38:450B / 46B / 26B
2lynn821.80982022/09/08 21:31:160B / 50B / 22B

Common LISP _

RankUserSizeTimeDateStatistics
1pull-stops3211.22822022/09/12 13:44:150B / ?B / ?B

C _

RankUserSizeTimeDateStatistics
1rotary-o910.03902022/09/09 06:33:192B / 42B / 47B
2tails910.07942022/09/09 17:39:340B / 46B / 45B
3rotary-o(tails)900.03872022/09/19 12:38:042B / 42B / 46B

Java _

RankUserSizeTimeDateStatistics
1teebee1140.11292022/09/19 09:34:440B / 65B / 47B
2rotary-o1160.11092022/09/19 10:40:570B / 67B / 47B

sed _

RankUserSizeTimeDateStatistics
1tails1150.02052022/09/13 15:07:540B / 37B / 66B

Bash _

RankUserSizeTimeDateStatistics
1Fleur601.37152022/09/09 09:38:340B / 29B / 28B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails1201.39712022/09/16 13:27:580B / 53B / 55B

gs2 _

RankUserSizeTimeDateStatistics
1tails141.98742022/09/05 15:39:364B / 2B / 8B

Nibbles _

RankUserSizeTimeDateStatistics
1tails112.00232022/09/05 16:05:318B / 3B / 0B

Burlesque _

RankUserSizeTimeDateStatistics
1Hendrik322.29432022/09/06 03:22:320B / 17B / 14B

Lazy-K _

RankUserSizeTimeDateStatistics
1tails7830.02012022/09/16 14:37:460B / 425B / 358B
2tails (source)12840.02292022/09/19 16:23:160B / 542B / 457B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o567.32452022/09/05 22:21:590B / 39B / 13B

Language Ranking_

RankLangUserSizeScore
1Nibblestails1110000
2gs2tails147857
3BurlesqueHendrik323437
4Ruby2rotary-o512156
5Perlteebee (tails)552000
6Scalarotary-o561964
7Rubyrotary-o(Sisyphus)591864
8BashFleur601833
9Pythonxnor811358
10Crotary-o(tails)901222
11Javateebee114964
12sedtails115956
13Bash (builtins)tails120916
14Common LISPpull-stops321342
15Lazy-Ktails783140

return to the top page