Multifactorials

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

Multifactorials


Factorial - Wikipedia, the free encyclopedia
http://en.wikipedia.org/wiki/Factorial

Options

exec is denied

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

Sample input:_

27!!!!!!!!!!!!!!!!!!!!!
21!!!!!!!!!!!!!!!
13!!!!!!!!!
50!!!!!!!!!!!!!!!!
38!!!!!!!
18!!!!!!!!!!!
16!!!!!!!!!!!!!!!
33!!!!!
18!!!!!
15!!!!!
8!!
33!!!!!!!!!!!!!!
20!!!!!!!!!!!!!!!
38!!!!!!
21!!!!!!!!!!!!!!!!!!
42!!!!!!!!!!
36!!!!!!!!!!!!!!!!!!!!
50!!!!!!!!!!!!!
21!!!!!!!!!!!!!!!!!!
4!!
31!!!!!!!!!!!!!!!!!!!!
17!!!!!!!!!!!
38!!!!!!!!
24!!!!!!!
16!!!!!!!
19!!!!!!!!!!!!!!!
9!!
21!!!!!!!!!!!!!!
5!!!
9!!!!!!!!!
34!!!!!!!!!!!!!!!!!!!!!
28!!!!!!!!!!!!!!
14!!
9!!!!
5!!!!
20!!!!!!!!!!!!!!!
21!!!!
41!!!!!!!!
19!!!!!!
27!!!!!!!!!!!!!!!!!!
43!!!!!!!!!!!!!!!!!!!
44!!!!!!!!!!!!
47!!!!!!!!!!!!
11!!!!!
5!!!!
16!!!!
17!!!!!
17!!!!!
19!!!!!!!!!!!!
21!!!!!!!!!!!!!!!!!!!
30!!!!!!
17!!!!
12!!!!!!!!
32!!!!!!!!!!
47!!!!!!!!!!!!!!!!!!!
17!!!!!!!!!
42!!!!!!!!!!!!!!!!!!!
41!!!!!!!!!!!!!!!!!
10!!
12!!!!!
44!!!!!!!
25!!!!!!!!!!!!!!!!!
33!!!!!!!!!!!
12!!!!!!!!!!!!
26!!!!!
40!!!!!!!!!!!!!!
9!!!!
16!!!!!!!!!!!!
17!!!!!!!!!!!!!!
30!!!!!!!!!!!!!!!!!!!
40!!!!!!!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49!!!!!!!!
28!!!!!!!!!!!
44!!!!!!!!!!!!!
40!!!!!!!!!!!!!!!
44!!!!!!!!!
22!!!!!!!!!!!!
23!!!!!!!!!!
18!!!!!!!!
29!!!!!!
19!!!
17!!!!!!
39!!!!!!!!!!!!!!!!
33!!!!!!!!!!!!!!!!!
30!!!!!!!!!!!!!!
36!!!!!!!!!!!!!!!!!!
44!!!!!!!!!!!
21!!!!!!!!!!!
15!!!!!!
47!!!!!!!!!
21!!!!
21!!!!!!!!!!!!!!!!!!
11!!!!!
45!!!!!!!!!!!!!!!
30!!!!!!!
40!!!!!!!!!!!!!!!!!!!!
16!!!!!!!!!!!!!!
24!!!!!!!!!!!!
16!!!!!!!!!!!!!
45!!!!!!!!
32!!!!!!!!!
26!!!!!!!!!!!!!!!!!!!!

Sample output:

162
126
52
61200
14418720
126
16
119351232
5616
750
384
3135
100
141639680
63
709632
576
488400
63
8
341
102
2106720
12240
288
76
945
147
10
9
442
392
645120
45
5
100
208845
5175225
1729
243
5160
225280
416185
66
5
6144
2856
2856
133
42
933120
9945
48
16896
11844
136
3864
6888
3840
168
323516160
200
7986
12
576576
12480
45
64
51
330
10000
820
42
880
65
30
935
654729075
10752
15
20250
58715280
544
13920
54286848
318240
750
162
40
348
72
16965
54
126225
18
105
32
196
288
114
74865
308
12760
24
384
129168
750
90
15000
280
3932160
85536
32
105
60
13
39
1344
1995
15000
429
820
65625
115
5
722
25478145
10
75
14
42120
360
8
96342400
65
10752
312
29601
4715
64
504
1696464
945
4188800
10395
11880
190
64
280
665280
22400
4
8424
253586025
2856
122760
10000
5445440
220
897
360
623645
1106560
935
6279
528
960
648
351384
210
405
22789360
208845
63
66
20250
198720
800
32
288
48
65909025
51520
156

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid440.02102011/12/31 15:38:340B / 23B / 20B
2yvl440.01802011/12/31 17:01:560B / 23B / 20B
3clock450.01622012/01/08 16:27:450B / 20B / 23B
4jingoro450.01992012/01/10 14:01:400B / 20B / 23B
5kaki450.04282012/01/11 03:17:190B / 20B / 23B
6uru480.01672011/12/30 15:26:250B / 23B / 23B
7shinh530.02902012/01/05 14:20:080B / 29B / 19B
8Zauberer550.03502011/12/31 16:31:140B / 24B / 27B
9bk1e690.02132011/12/30 11:30:500B / 38B / 25B

Perl _

RankUserSizeTimeDateStatistics
1teebee430.02122011/12/30 07:42:560B / 16B / 25B
2tybalt89430.03512012/01/01 06:48:470B / ?B / ?B
3sharkey440.01602012/01/12 14:36:210B / 15B / 27B
4nai470.02212011/12/30 17:45:310B / 13B / 32B
5Hem480.01732012/01/05 22:12:540B / 16B / 30B
6shlomif480.03162012/01/07 22:03:390B / ?B / ?B
7MG550.01542011/12/31 06:11:380B / 19B / 33B
8addps4cat580.02782012/01/03 18:13:340B / 20B / 36B

Python _

RankUserSizeTimeDateStatistics
1leonid830.04102011/12/31 15:26:150B / 45B / 36B
2Hendrik830.19742012/01/07 17:49:510B / 45B / 36B
3primo860.04632011/12/31 22:42:470B / 53B / 31B
4recursive860.02472012/01/07 05:16:220B / 53B / 31B
5yourcelf860.03262012/01/12 10:55:060B / 47B / 30B
6hallvabo870.03112011/12/30 07:46:270B / 50B / 35B
7_1100.02582012/01/07 05:07:244B / 53B / 28B

PHP _

RankUserSizeTimeDateStatistics
1primo (phpgolf.org)760.02942012/01/08 16:06:273B / 35B / 38B
2o-cn780.02642012/01/04 17:49:054B / 37B / 36B
3clock790.03542012/01/04 17:56:214B / 38B / 36B

Scheme _

RankUserSizeTimeDateStatistics
1kaki1070.26262011/12/31 01:09:370B / 61B / 42B
2dico_leque1130.03562012/01/13 03:01:210B / 55B / 55B
3kaki1060.06352013/03/25 06:03:550B / 58B / 45B

Io _

RankUserSizeTimeDateStatistics
1pooq880.17942011/12/30 16:04:470B / 62B / 22B

JavaScript _

RankUserSizeTimeDateStatistics
1nn720.01942012/01/11 00:16:580B / 42B / 30B
2clock740.02182012/01/10 22:52:460B / 42B / 32B
3Hendrik820.33722012/01/04 15:24:300B / 45B / 37B

Lua _

RankUserSizeTimeDateStatistics
1pooq670.04892011/12/30 16:27:390B / 41B / 21B
2Hendrik670.01442012/01/02 06:43:430B / 41B / 20B

Xtal _

RankUserSizeTimeDateStatistics
1teebee820.03272011/12/31 06:45:340B / 46B / 35B
2pooq860.04492011/12/30 19:37:520B / 48B / 37B

REXX _

RankUserSizeTimeDateStatistics
1teebee(pooq)860.01402012/04/16 01:37:480B / 54B / 18B
2pooq880.02312012/04/15 06:32:310B / 54B / 20B

BASIC _

RankUserSizeTimeDateStatistics
1pooq920.13482011/12/30 20:39:390B / 58B / 22B

J _

RankUserSizeTimeDateStatistics
1I., S.470.04012011/12/30 21:11:480B / 10B / 37B
2I., S.450.08692012/01/16 21:40:100B / 8B / 36B

C _

RankUserSizeTimeDateStatistics
1nai850.01352011/12/30 18:36:390B / 45B / 40B
2inaniwa850.01552011/12/30 20:55:300B / 45B / 40B
3nn850.01342011/12/31 13:00:210B / 45B / 40B
4eha850.01462012/01/01 04:45:140B / 45B / 40B

Haskell _

RankUserSizeTimeDateStatistics
1henkma670.08782012/01/02 18:35:590B / 44B / 21B
2notogawa670.02082012/01/02 22:05:340B / 44B / 21B
3rst76670.01862012/01/02 22:11:440B / 44B / 21B
4koyama41670.02202012/01/04 13:12:300B / 44B / 21B
5Hendrik800.04182012/01/09 02:22:250B / 51B / 25B

Java _

RankUserSizeTimeDateStatistics
1teebee1600.07482012/01/05 00:38:470B / 93B / 63B
2hakusui1660.08522011/12/31 10:06:040B / 90B / 72B

Pascal _

RankUserSizeTimeDateStatistics
1uru1110.01382011/12/30 14:52:570B / 78B / 27B

Maxima _

RankUserSizeTimeDateStatistics
1pooq1280.24522011/12/30 18:57:090B / 75B / 53B

REBOL _

RankUserSizeTimeDateStatistics
1pooq860.02722011/12/30 22:54:070B / 50B / 21B

Befunge _

RankUserSizeTimeDateStatistics
1kaki580.05222012/01/05 06:36:470B / 17B / 34B

GolfScript _

RankUserSizeTimeDateStatistics
1clock230.16712012/01/04 10:53:010B / 2B / 21B
2nai250.11662011/12/31 02:00:200B / 3B / 22B
3tails320.14832011/12/30 19:47:490B / 6B / 26B

FlogScript _

RankUserSizeTimeDateStatistics
1milieu130.84442012/01/02 17:45:090B / 2B / 11B
2nai140.44582012/01/03 00:35:560B / 2B / 12B

Vim _

RankUserSizeTimeDateStatistics
1clock520.10952012/01/03 13:44:062B / 25B / 23B
2nn610.54062011/12/31 23:03:475B / 29B / 23B

goruby _

RankUserSizeTimeDateStatistics
1leonid350.03272011/12/31 15:40:270B / 15B / 19B
2kaki350.29092012/01/11 03:19:310B / 14B / 20B

Groovy _

RankUserSizeTimeDateStatistics
1hakusui831.08362011/12/30 12:50:590B / 48B / 33B
2nn841.20352011/12/31 16:33:160B / 53B / 27B
3hakusui823.54612012/01/13 07:38:420B / 49B / 31B

Language Ranking_

RankLangUserSizeScore
1FlogScriptmilieu1310000
2GolfScriptclock235652
3gorubyleonid353714
4Perlteebee433023
5Rubyleonid442954
6JI., S.452888
7Vimclock522500
8Befungekaki582241
9Luapooq671940
10Haskellhenkma671940
11JavaScriptnn721805
12PHPprimo (phpgolf.org)761710
13Xtalteebee821585
14Groovyhakusui821585
15Pythonleonid831566
16Cnai851529
17REBOLpooq861511
18REXXteebee(pooq)861511
19Iopooq881477
20BASICpooq921413
21Schemekaki1061226
22Pascaluru1111171
23Maximapooq1281015
24Javateebee160812

return top