FRACTRAN 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

Fractran with missing value

Options

exec is denied

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

Sample input:_

1 5 1 4 1 3 1 2
360
50

Sample output:

360
72
18
6
2
1

Sample input:_

91 66 11 13 1 33 85 11 57 119 17 19 11 17 1 3
3168
50

Sample output:

3168
4368
3696
5096
4312
33320
15960
14280
6840
6120
3960
5460
4620
6370
5390
41650
19950
17850
8550
7650
4950
6825
5775
175

Sample input:_

17 91 78 85 19 51 23 38 29 33 77 29 95 23 77 19 1 17 11 13 13 11 15 14 15 2 55 1
2
200

Sample output:

2
15
825
725
1925
2275
425
390
330
290
770
910
170
156
132
116
308
364
68
4
30
225
12375
10875
28875
25375
67375
79625
14875
13650
2550
2340
1980
1740
4620
4060
10780
12740
2380
2184
408
152
92
380
230
950
575
2375
9625
11375
2125
1950
1650
1450
3850
4550
850
780
660
580
1540
1820
340
312
264
232
616
728
136
8
60
450
3375
185625
163125
433125
380625
1010625
888125
2358125
2786875
520625
477750
89250
81900
15300
14040
11880
10440
27720
24360
64680
56840
150920
178360
33320
30576
5712
2128
1288
5320
3220
13300
8050
33250
20125
83125
336875
398125
74375
68250
12750
11700
9900
8700
23100
20300
53900
63700
11900
10920
2040
1872
1584
1392
3696
3248
8624
10192
1904
112
120
900
6750
50625
2784375
2446875
6496875
5709375
15159375
13321875
35371875
31084375
82534375
97540625
18221875
16721250
3123750
2866500
535500
491400
91800
84240
71280
62640
166320
146160
388080
341040
905520
795760
2112880
2497040
466480
428064
79968
29792
18032
74480
45080
186200
112700
465500
281750
1163750
704375
2909375
11790625
13934375
2603125
2388750
446250
409500
76500
70200
59400
52200
138600
121800
323400
284200
754600
891800
166600
152880
28560
26208
4896
1824
1104
4560

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid810.08182011/04/24 18:22:271B / 41B / 32B

Perl _

RankUserSizeTimeDateStatistics
1tails770.28972011/04/25 05:26:400B / 28B / 46B
2teebee770.03292011/04/25 05:58:370B / 28B / 46B
3teebee(tails)780.02352011/04/24 09:32:270B / 29B / 47B

Python _

RankUserSizeTimeDateStatistics
1leonid990.15472011/04/24 18:23:570B / 60B / 35B
2recursive1110.18492011/04/21 00:30:550B / 64B / 39B
3hallvabo1270.07782011/04/12 11:43:500B / 74B / 41B

Scheme _

RankUserSizeTimeDateStatistics
1youz1240.11772011/04/25 00:29:280B / 55B / 62B
2kaki(youz)1210.06862013/03/25 06:51:320B / 50B / 67B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima1360.20242011/04/25 22:53:270B / 85B / 47B
2youz1360.16652011/04/25 23:36:030B / 87B / 44B

Arc _

RankUserSizeTimeDateStatistics
1youz866.05762011/04/20 20:23:590B / 46B / 31B

JavaScript _

RankUserSizeTimeDateStatistics
1murky-satyr870.01532011/04/13 01:08:240B / 43B / 43B
2nn980.17412011/04/16 00:49:330B / 51B / 47B

J _

RankUserSizeTimeDateStatistics
1pooq760.16062011/04/24 14:25:360B / 18B / 57B
2I., S.(pooq)620.09772011/06/09 22:41:120B / 18B / 43B
3I., S.720.13712011/06/09 20:53:070B / 26B / 44B

C _

RankUserSizeTimeDateStatistics
1nn1710.00252011/04/12 23:52:330B / 81B / 89B

OCaml _

RankUserSizeTimeDateStatistics
1m.ukai1970.14832011/04/14 13:13:420B / 107B / 75B

AWK _

RankUserSizeTimeDateStatistics
1hemflit1280.00472011/04/14 04:57:350B / 64B / 63B
2test 3 has 201 lines instead of 2001280.00472011/04/14 05:06:240B / 64B / 63B

goruby _

RankUserSizeTimeDateStatistics
1leonid640.15322011/04/25 16:04:030B / 29B / 30B
2murky-satyr700.31222011/04/13 18:58:180B / 32B / 31B

Groovy _

RankUserSizeTimeDateStatistics
1murky-satyr1306.92012011/04/13 01:12:020B / 79B / 43B

Language Ranking_

RankLangUserSizeScore
1JI., S.(pooq)6210000
2gorubyleonid649687
3Perltails778051
4Rubyleonid817654
5Arcyouz867209
6JavaScriptmurky-satyr877126
7Pythonleonid996262
8Schemekaki(youz)1215123
9AWKhemflit1284843
10Groovymurky-satyr1304769
11Common LISPkozima1364558
12Cnn1713625
13OCamlm.ukai1973147

return top