Expand number ranges FIXED

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

Given number ranges in this format:
From To Increment

Expand them to a space separated list of numbers (lower inclusive, upper non-inclusive). Integers should be displayed without a trailing decimal.

Options

exec is denied

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

Sample input:_

1 12 .1
1 12 1
0 8 .2
9 11 1
20 99 1
100 300 5
2 5 .2
9 11 .3
12 20 1

Sample output:

1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 4 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 5 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9 6 6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.8 6.9 7 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 7.9 8 8.1 8.2 8.3 8.4 8.5 8.6 8.7 8.8 8.9 9 9.1 9.2 9.3 9.4 9.5 9.6 9.7 9.8 9.9 10 10.1 10.2 10.3 10.4 10.5 10.6 10.7 10.8 10.9 11 11.1 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9
1 2 3 4 5 6 7 8 9 10 11
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 2.2 2.4 2.6 2.8 3 3.2 3.4 3.6 3.8 4 4.2 4.4 4.6 4.8 5 5.2 5.4 5.6 5.8 6 6.2 6.4 6.6 6.8 7 7.2 7.4 7.6 7.8
9 10
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
100 105 110 115 120 125 130 135 140 145 150 155 160 165 170 175 180 185 190 195 200 205 210 215 220 225 230 235 240 245 250 255 260 265 270 275 280 285 290 295
2 2.2 2.4 2.6 2.8 3 3.2 3.4 3.6 3.8 4 4.2 4.4 4.6 4.8
9 9.3 9.6 9.9 10.2 10.5 10.8
12 13 14 15 16 17 18 19

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1yvl630.02192012/05/08 21:10:590B / 25B / 34B
2leonid630.01952012/05/12 06:02:180B / 26B / 34B
3clock630.01482012/05/15 01:55:330B / 23B / 36B

Perl _

RankUserSizeTimeDateStatistics
1tybalt89490.10052012/05/06 04:05:270B / ?B / ?B
2teebee490.03932012/05/06 18:14:480B / 13B / 34B
3nfouille490.03342012/05/09 20:21:300B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1hallvabo830.02292012/05/05 22:59:410B / 51B / 25B
2leonid830.02012012/05/06 00:42:470B / 51B / 25B
3twobit830.02752012/05/14 17:13:240B / 51B / 25B
4clock830.02122012/05/18 00:57:260B / 51B / 25B
5z830.03772012/05/28 11:17:520B / 51B / 25B

PHP _

RankUserSizeTimeDateStatistics
1teebee750.07742012/05/07 11:37:448B / 34B / 32B
2clock750.03742012/05/07 21:52:068B / 34B / 32B

JavaScript _

RankUserSizeTimeDateStatistics
1clock890.03012012/05/15 21:42:160B / 47B / 40B

Lua _

RankUserSizeTimeDateStatistics
1yamaya820.07872012/05/11 12:02:050B / 45B / 31B
2Hendrik830.01642012/05/15 04:16:160B / 47B / 29B
3twobit830.02402012/05/15 14:43:540B / 47B / 29B
4pooq840.07322012/05/12 12:53:440B / 49B / 30B

REXX _

RankUserSizeTimeDateStatistics
1teebee590.01642012/05/08 06:20:020B / 36B / 6B
2pooq950.01312012/05/05 22:18:420B / 57B / 19B

PARI/GP _

RankUserSizeTimeDateStatistics
1clock1370.01752012/05/17 23:42:450B / 70B / 67B

BASIC _

RankUserSizeTimeDateStatistics
1pooq590.01252012/05/05 20:29:290B / 40B / 11B
2teebee(pooq)580.24532012/05/19 20:56:110B / 39B / 11B

J _

RankUserSizeTimeDateStatistics
1I., S.590.05512012/05/10 19:53:010B / 27B / 31B
2I., S.(pooq(Triangle Inequality))550.07652012/05/19 20:39:470B / 17B / 35B

K _

RankUserSizeTimeDateStatistics
1twobit470.01692012/05/15 15:51:140B / 12B / 34B
2teebee(twobit)390.01302012/08/04 00:17:290B / 12B / 27B

C _

RankUserSizeTimeDateStatistics
1ush1100.01132012/05/06 15:21:520B / 57B / 52B

D _

RankUserSizeTimeDateStatistics
1macik1310.01192012/05/19 17:22:210B / ?B / ?B

Euphoria _

RankUserSizeTimeDateStatistics
1clock1740.02562012/05/18 01:10:000B / 113B / 48B

AWK _

RankUserSizeTimeDateStatistics
1teebee370.02322012/05/15 05:10:270B / 15B / 21B
2lvogel520.02022012/05/15 03:54:571B / 22B / 29B

dc _

RankUserSizeTimeDateStatistics
1lvogel710.02372012/05/15 03:54:390B / 52B / 19B

GolfScript _

RankUserSizeTimeDateStatistics
1clock680.11592012/05/19 18:27:030B / 19B / 48B

Groovy _

RankUserSizeTimeDateStatistics
1nn1031.34612012/05/19 14:46:530B / 54B / 47B
2clock1041.37002012/05/19 13:50:170B / 60B / 44B

Language Ranking_

RankLangUserSizeScore
1AWKteebee3710000
2Kteebee(twobit)399487
3Perltybalt89497551
4JI., S.(pooq(Triangle Inequality))556727
5BASICteebee(pooq)586379
6REXXteebee596271
7Rubyyvl635873
8GolfScriptclock685441
9dclvogel715211
10PHPteebee754933
11Luayamaya824512
12Pythonhallvabo834457
13JavaScriptclock894157
14Groovynn1033592
15Cush1103363
16Dmacik1312824
17PARI/GPclock1372700
18Euphoriaclock1742126

return top