Expand number ranges

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:


Expand them to a non inclusive list of numbers.

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.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 5.0 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9 6.0 6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.8 6.9 7.0 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 8.5 8.6 8.7 8.8 8.9 9.0 9.1 9.2 9.3 9.4 9.5 9.6 9.7 9.8 9.9 10.0 10.1 10.2 10.3 10.4 10.5 10.6 10.7 10.8 10.9 11.0 11.1 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 
2 3 4 5 6 7 8 9 10 11 
0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8 4.0 4.2 4.4 4.6 4.8 5.0 5.2 5.4 5.6 5.8 6.0 6.2 6.4 6.6 6.8 7.0 7.2 7.4 7.6 7.8 
10 
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 
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.4 2.6 2.8 3.0 3.2 3.4 3.6 3.8 4.0 4.2 4.4 4.6 4.8 
9.3 9.6 9.9 10.2 10.5 10.8 
13 14 15 16 17 18 19 

Ranking

Perl _

RankUserSizeTimeDateStatistics
1teebee710.01872012/05/06 22:44:250B / 15B / 54B
2macik830.01162012/05/05 06:53:050B / ?B / ?B
3nfouille1040.01162012/05/04 19:27:351B / ?B / ?B

PHP _

RankUserSizeTimeDateStatistics
1clock990.03942012/05/05 10:58:4615B / 40B / 44B

Scheme _

RankUserSizeTimeDateStatistics
1kaki1480.08452012/05/07 04:07:220B / 69B / 71B
2kaki1460.02412013/03/25 05:38:080B / 65B / 75B

JavaScript _

RankUserSizeTimeDateStatistics
1clock940.03102012/05/05 11:13:220B / 45B / 47B
2nn(inconsistent output?)1010.02972012/05/05 00:14:190B / 49B / 50B
3_940.04842012/05/08 21:24:390B / ?B / ?B

REXX _

RankUserSizeTimeDateStatistics
1pooq860.02732012/05/05 08:46:530B / 54B / 15B

BASIC _

RankUserSizeTimeDateStatistics
1pooq960.10152012/05/05 01:11:090B / 57B / 28B

J _

RankUserSizeTimeDateStatistics
1I., S.920.10312012/05/05 05:43:150B / 34B / 52B
2I., S.810.03862012/05/19 21:49:010B / 27B / 47B

C _

RankUserSizeTimeDateStatistics
1ush1200.01102012/05/06 15:48:530B / 57B / 60B
2smkt1260.01142012/05/06 12:24:090B / 63B / 58B
3amat1270.01652012/05/06 11:52:040B / 58B / 64B

D _

RankUserSizeTimeDateStatistics
1macik1380.01222012/05/05 06:26:080B / ?B / ?B

Groovy _

RankUserSizeTimeDateStatistics
1nn1142.54222012/05/19 12:46:580B / 61B / 52B

Language Ranking_

RankLangUserSizeScore
1Perlteebee7110000
2JI., S.818765
3REXXpooq868255
4JavaScriptclock947553
5BASICpooq967395
6PHPclock997171
7Groovynn1146228
8Cush1205916
9Dmacik1385144
10Schemekaki1464863

return top