count up digits

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

Count up to the given number digit-by-digit from the right, starting at all zeroes.

Options

exec is denied

now post-mortem time, all source codes will be revealed

Sample input:_

12345

Sample output:

00000
00001
00002
00003
00004
00005
00015
00025
00035
00045
00145
00245
00345
01345
02345
12345

Sample input:_

53038351834958309

Sample output:

00000000000000000
00000000000000001
00000000000000002
00000000000000003
00000000000000004
00000000000000005
00000000000000006
00000000000000007
00000000000000008
00000000000000009
00000000000000109
00000000000000209
00000000000000309
00000000000001309
00000000000002309
00000000000003309
00000000000004309
00000000000005309
00000000000006309
00000000000007309
00000000000008309
00000000000018309
00000000000028309
00000000000038309
00000000000048309
00000000000058309
00000000000158309
00000000000258309
00000000000358309
00000000000458309
00000000000558309
00000000000658309
00000000000758309
00000000000858309
00000000000958309
00000000001958309
00000000002958309
00000000003958309
00000000004958309
00000000014958309
00000000024958309
00000000034958309
00000000134958309
00000000234958309
00000000334958309
00000000434958309
00000000534958309
00000000634958309
00000000734958309
00000000834958309
00000001834958309
00000011834958309
00000021834958309
00000031834958309
00000041834958309
00000051834958309
00000151834958309
00000251834958309
00000351834958309
00001351834958309
00002351834958309
00003351834958309
00004351834958309
00005351834958309
00006351834958309
00007351834958309
00008351834958309
00018351834958309
00028351834958309
00038351834958309
01038351834958309
02038351834958309
03038351834958309
13038351834958309
23038351834958309
33038351834958309
43038351834958309
53038351834958309

Sample input:_

333000333000101010

Sample output:

000000000000000000
000000000000000010
000000000000001010
000000000000101010
000000001000101010
000000002000101010
000000003000101010
000000013000101010
000000023000101010
000000033000101010
000000133000101010
000000233000101010
000000333000101010
001000333000101010
002000333000101010
003000333000101010
013000333000101010
023000333000101010
033000333000101010
133000333000101010
233000333000101010
333000333000101010

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1Histocrat540.03562014/01/23 23:44:530B / 21B / 29B
2jpl560.03622014/01/23 23:29:100B / ?B / ?B
3eban720.03582014/01/14 17:35:290B / 32B / 37B
4jpl (Histocrat)530.03762014/01/27 23:20:520B / ?B / ?B

Perl _

RankUserSizeTimeDateStatistics
1brx380.04342014/01/12 05:39:410B / 12B / 25B
2teebee410.03732014/01/12 03:49:040B / 13B / 26B
3BioFALSE500.03332014/01/12 08:07:010B / 19B / 31B
4whio500.03882014/01/25 15:08:270B / 15B / 34B
5jonathan camacho830.03282014/01/12 22:09:480B / 37B / 44B

Python _

RankUserSizeTimeDateStatistics
1twobit820.09662014/01/24 04:40:190B / 45B / 29B
2hallvabo870.10362014/01/23 09:57:000B / 44B / 39B
3rolf890.09282014/01/24 05:23:150B / 51B / 31B

JavaScript _

RankUserSizeTimeDateStatistics
1teebee760.03872014/01/17 08:47:120B / 45B / 31B
2clock760.04082014/01/25 21:19:590B / 45B / 30B
3Shmiddty820.03932014/01/14 07:29:010B / 42B / 38B
4_nderscore870.05342014/01/17 00:42:070B / 43B / 42B

Lua _

RankUserSizeTimeDateStatistics
1clock970.03282014/01/25 21:31:340B / 59B / 31B
2twobit990.03282014/01/25 22:50:210B / 60B / 33B

J _

RankUserSizeTimeDateStatistics
1I., S.460.06202014/01/13 17:46:510B / 12B / 34B

C _

RankUserSizeTimeDateStatistics
1twobit760.03202014/01/24 20:07:210B / 40B / 36B
2twobit (long long)1080.03252014/01/24 05:07:480B / 58B / 48B
3apprehensivebob1390.03192014/01/25 08:31:510B / ?B / ?B
4_2790.03212014/01/25 08:19:570B / ?B / ?B

Haskell _

RankUserSizeTimeDateStatistics
1henkma680.04152014/01/22 21:19:330B / 40B / 24B
2ho710.03292014/02/06 21:57:000B / ?B / ?B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs760.03222014/01/24 15:48:440B / 0B / 76B

GolfScript _

RankUserSizeTimeDateStatistics
1twobit400.08332014/01/23 10:09:210B / 6B / 34B
2jonathan camacho710.06642014/01/12 20:56:570B / 20B / 51B

FlogScript _

RankUserSizeTimeDateStatistics
1jonathan camacho610.18672014/01/12 21:40:060B / 19B / 39B

Vim _

RankUserSizeTimeDateStatistics
1udioica300.07842016/12/03 15:13:552B / 14B / 12B

Language Ranking_

RankLangUserSizeScore
1Vimudioica3010000
2Perlbrx387894
3GolfScripttwobit407500
4JI., S.466521
5Rubyjpl (Histocrat)535660
6FlogScriptjonathan camacho614918
7Haskellhenkma684411
8JavaScriptteebee763947
9Brainfuckmitchs763947
10Ctwobit763947
11Pythontwobit823658
12Luaclock973092

return top