hopping number

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

print integers n, where 12 <= n <= 123456789, and all pairs of consecutive digits in n have the same positive difference between them (e.g. 2468 but not 2469).

Options

exec is denied

rejudge feature is enabled

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

Sample input:_

*NOTHING*

Sample output:

12
13
14
15
16
17
18
23
24
25
26
27
28
29
34
35
36
37
38
39
45
46
47
48
49
56
57
58
59
67
68
69
78
79
89
123
135
147
159
234
246
258
345
357
369
456
468
567
579
678
789
1234
1357
2345
2468
3456
3579
4567
5678
6789
12345
13579
23456
34567
45678
56789
123456
234567
345678
456789
1234567
2345678
3456789
12345678
23456789
123456789

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1Histocrat610.01102017/07/08 06:53:080B / 32B / 27B
2rotary-o620.01162017/07/16 14:00:500B / 35B / 24B
3xsot690.01282017/07/15 15:57:080B / 39B / 26B

Ruby2 _

RankUserSizeTimeDateStatistics
1Histocrat610.09002017/07/08 06:55:070B / 32B / 27B
2rotary-o620.08122017/07/16 14:00:390B / 35B / 24B

Perl _

RankUserSizeTimeDateStatistics
1tails740.00012017/07/03 18:38:010B / 29B / 44B

Python _

RankUserSizeTimeDateStatistics
1xnor810.05482017/07/04 15:59:440B / 47B / 33B
2xsot970.03022017/07/03 12:53:000B / 58B / 30B
3rolf1200.02792017/07/04 21:35:470B / 63B / 31B
4no 19?3400.02932017/07/11 00:28:050B / 259B / 6B

Haskell _

RankUserSizeTimeDateStatistics
1cojna780.01652017/07/07 01:27:140B / 41B / 35B
2henkma780.01842017/07/14 04:57:410B / 42B / 34B
3dianne780.01672017/07/16 19:19:420B / 41B / 35B

C# _

RankUserSizeTimeDateStatistics
1recursive1570.04572017/07/08 09:04:230B / 93B / 60B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails850.54882017/07/04 12:10:170B / 30B / 50B

R _

RankUserSizeTimeDateStatistics
1ludo750.14222017/07/16 20:57:100B / 42B / 27B

GolfScript _

RankUserSizeTimeDateStatistics
1tails390.15192017/07/04 05:55:120B / 19B / 20B

gs2 _

RankUserSizeTimeDateStatistics
1tails190.09132017/07/04 09:45:536B / 4B / 8B
2mitchs190.13682017/07/16 19:59:3511B / 4B / 4B
3whio220.12702017/07/06 23:21:2212B / 3B / 6B

Scala _

RankUserSizeTimeDateStatistics
1cojna793.21332017/07/08 00:21:540B / 40B / 31B
2rotary-o875.42022017/07/16 03:32:580B / 50B / 28B

Language Ranking_

RankLangUserSizeScore
1gs2tails1910000
2GolfScripttails394871
3RubyHistocrat613114
4Ruby2Histocrat613114
5Perltails742567
6Rludo752533
7Haskellcojna782435
8Scalacojna792405
9Pythonxnor812345
10Bash (builtins)tails852235
11C#recursive1571210

return top