Factoradic Decoder

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

Factoradic decoder
en.wikipedia.org/wiki/Factorial_number_system

Options

exec is denied

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

Sample input:_

0
10
100
110
200
210
1000
1010
1100
1110
1200
1210
2000
2010
2100
2110
2200
2210
3000
3010
3100
3110
3200
3210
10000

Sample output:

0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

Sample input:_

36013200
9243502200
20342100
1233100
50533200
550103110
30030210
0
16225341100
28743031100
36331200
162113110
200
12350501100
410200

Sample output:

19486
3369496
10550
1052
25894
226941
15197
0
5900864
10465280
19882
72165
4
4501328
508

Sample input:_

5234543000
201200
100
120110
21550112010
6843240000
12332100
152203110
4223000
10611531000
140000
20141140210
40675041210
27633040200
2510000
210
11110
101000
26032000
1210
42001110
5641332200
31111100
5454221000
3142200
75821340200
25002000
2110
1505321200
10625520210
210542010
643110210
4131110
4343000
23615410210
32010
40110
341000
110
4122200
20200
23200
321200
7236133000
10
10440430200
301523000
13010
19103033000
1010
1110
53021210
2033003000
2401110
202200
4512100
300100
12010
556331010
9633410200
473100100
11010
30022010
5030031210
1243100
51510110
206331010
10010
86663422210
3155342200
41611333100
32000
2541100
4163341000
2100
2874442210
3011412200
26243100
4301000
102043000
6102200
21401110
121210
6203010
1240100
3110
74240200
325122000
1402010
10200
800123000
2421011000
60460110000
9156500110
200340010
39760521110
123000
310210
23210220210
1000

Sample output:

1913754
250
2
171
7847437
2522496
6926
67221
3186
3877158
216
7319021
14796107
10057060
2064
5
33
126
14484
11
21609
2077648
15992
2004054
2392
27549820
13692
15
568498
3885053
86389
264389
3081
3354
8597309
85
99
462
3
3064
52
70
418
2640450
1
3810796
122346
43
6937290
7
9
27419
743058
1929
256
3518
362
37
231559
3525628
198842
31
15181
1829603
1076
26547
85399
25
31482545
1158232
15126212
84
2144
1524702
14
1087073
1094920
14756
3246
41874
4456
11289
179
4579
1058
21
38500
134820
1213
28
322746
897870
21964464
3336363
81097
14465457
186
389
8432213
6

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1uru570.06982011/08/28 23:04:390B / 27B / 25B
2yvl570.03722011/08/28 23:36:460B / 26B / 23B
3clock600.03572011/09/03 17:06:211B / ?B / ?B
4aglias620.03432011/08/21 17:48:100B / 32B / 24B
5leonid (clock)480.05462011/09/05 02:16:380B / 21B / 24B
6clock560.05132011/09/05 02:06:281B / ?B / ?B

Perl _

RankUserSizeTimeDateStatistics
1tybalt89420.00712011/09/03 13:07:010B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1leonid700.19302011/09/03 22:17:090B / 40B / 29B
2hallvabo700.18112011/09/03 22:20:260B / 40B / 29B

Scheme _

RankUserSizeTimeDateStatistics
1kaki940.19422011/09/01 11:37:470B / 45B / 39B
2cddddr960.18492011/08/22 06:45:450B / 46B / 35B
3kaki910.13772013/03/25 06:27:350B / 41B / 43B

Io _

RankUserSizeTimeDateStatistics
1pooq1000.49792011/08/23 17:18:130B / 69B / 25B

JavaScript _

RankUserSizeTimeDateStatistics
1nn630.04162011/08/25 08:49:380B / 33B / 30B

BASIC _

RankUserSizeTimeDateStatistics
1*yuko*810.00992011/08/30 01:40:050B / 45B / 34B
2pooq970.00752011/08/23 16:41:380B / 54B / 39B

J _

RankUserSizeTimeDateStatistics
1pooq400.14242011/08/21 02:41:230B / 10B / 30B

K _

RankUserSizeTimeDateStatistics
1teebee250.02932014/09/13 20:46:590B / 7B / 18B

Jelly _

RankUserSizeTimeDateStatistics
1Erik the Outgolfer60.72212021/04/08 06:31:005B / 1B / 0B

C _

RankUserSizeTimeDateStatistics
1hinoe790.00232011/09/01 18:57:530B / 42B / 37B
2nn820.00252011/09/02 12:27:400B / 46B / 36B
3anta840.00242011/08/27 22:03:380B / 48B / 35B
4inaniwa860.00252011/08/21 20:38:020B / 47B / 39B
5aglias1010.00242011/08/21 03:19:190B / 54B / 45B
6cddddr1040.00262011/08/22 06:38:530B / 56B / 46B

Haskell _

RankUserSizeTimeDateStatistics
1rst76650.02242011/08/24 23:50:060B / 37B / 22B
2notogawa650.00882011/08/25 00:20:350B / 38B / 21B
3henkma650.00872011/08/27 11:34:260B / 37B / 22B

Pascal _

RankUserSizeTimeDateStatistics
1uru1110.00312011/08/28 22:09:570B / 78B / 23B
2*yuko*1110.00292011/08/30 01:42:270B / 78B / 21B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*930.00322011/08/29 18:46:250B / 58B / 33B
2*yuko*880.04162011/12/04 04:22:010B / 53B / 32B

COBOL _

RankUserSizeTimeDateStatistics
1*yuko*3390.01432011/08/30 02:48:190B / 238B / 47B

Maxima _

RankUserSizeTimeDateStatistics
1pooq1030.60222011/08/21 04:51:390B / 60B / 42B

R _

RankUserSizeTimeDateStatistics
1pooq1190.91402011/08/22 21:17:290B / 69B / 48B
2pooq1180.44762012/10/25 18:04:290B / 70B / 46B

Groovy _

RankUserSizeTimeDateStatistics
1nn726.69982011/08/21 11:24:220B / 45B / 25B

Language Ranking_

RankLangUserSizeScore
1JellyErik the Outgolfer610000
2Kteebee252400
3Jpooq401500
4Perltybalt89421428
5Rubyleonid (clock)481250
6JavaScriptnn63952
7Haskellrst7665923
8Pythonleonid70857
9Groovynn72833
10Chinoe79759
11BASIC*yuko*81740
12Fortran*yuko*88681
13Schemekaki91659
14Iopooq100600
15Maximapooq103582
16Pascaluru111540
17Rpooq118508
18COBOL*yuko*339176

return to the top page