Excess3

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

Convert decimal to excess-3.
http://en.wikipedia.org/wiki/Excess-3
--not

Options

exec is denied

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

Sample input:_

1
2
3
4
5
6
7
8
9
10

Sample output:

0100
0101
0110
0111
1000
1001
1010
1011
1100
01000011

Sample input:_

3
14
15
92
65
35
89
79
32
38
46
26
43

Sample output:

0110
01000111
01001000
11000101
10011000
01101000
10111100
10101100
01100101
01101011
01111001
01011001
01110110

Sample input:_

1
1
2
3
5
8
13
21
34
55
89
144
233
377
610
987
1597
2584
4181
6765
10946
17711
28657
46368
75025
121393
196418
317811
514229
832040
1346269
2178309
3524578
5702887
9227465
14930352
24157817
39088169

Sample output:

0100
0100
0101
0110
1000
1011
01000110
01010100
01100111
10001000
10111100
010001110111
010101100110
011010101010
100101000011
110010111010
0100100011001010
0101100010110111
0111010010110100
1001101010011000
01000011110001111001
01001010101001000100
01011011100110001010
01111001011010011011
10101000001101011000
010001010100011011000110
010011001001011101001011
011001001010101101000100
100001000111010101011100
101101100101001101110011
0100011001111001010110011100
0101010010101011011000111100
0110100001010111100010101011
1000101000110101101110111010
1100010101011010011110011000
01000111110001100011011010000101
01010111010010001010101101001010
01101100001110111011010010011100

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1yvl320.01862011/07/16 01:26:040B / 13B / 18B
2leonid340.01662011/07/14 14:21:080B / 17B / 16B
3uru360.01742011/07/16 22:57:000B / 18B / 17B
4tj420.01802011/07/24 23:39:310B / 16B / 26B

Perl _

RankUserSizeTimeDateStatistics
1yibe350.00432011/07/11 03:46:240B / 18B / 15B
2teebee350.00452011/07/11 03:59:420B / 18B / 15B
3NearO350.00412011/07/12 08:53:230B / 19B / 14B
4Isilkor350.00412011/07/12 09:47:460B / 18B / 15B
5Terje K350.00422011/07/13 20:30:520B / 19B / 14B
6tails350.00432011/07/19 14:16:520B / 19B / 14B
7Hem360.00422011/07/12 21:03:591B / 19B / 14B
8Hem350.00432011/07/25 02:35:590B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1leonid690.07342011/07/20 19:55:000B / 41B / 22B
2twobit690.07332011/07/20 23:33:180B / 41B / 24B
3hallvabo690.07592011/07/21 01:16:340B / 41B / 22B
4MatthewWilkes1550.06162011/07/13 18:35:120B / 84B / 56B

PHP _

RankUserSizeTimeDateStatistics
1xulapp930.08162011/07/25 00:59:496B / 45B / 42B
2yohei2112950.08292011/07/19 20:24:250B / ?B / ?B
3o-cn640.09592011/07/25 11:42:200B / ?B / ?B
4xulapp840.08542011/07/25 02:37:526B / 38B / 40B

Scheme _

RankUserSizeTimeDateStatistics
1youz630.10652011/07/12 12:55:230B / 32B / 26B
2murky-satyr640.10672011/07/13 00:30:100B / 36B / 24B
3kaki640.10622011/07/20 02:10:560B / 36B / 24B
4kaki(youz)610.08492013/03/25 06:31:580B / 29B / 29B

Common LISP _

RankUserSizeTimeDateStatistics
1youz700.55352011/07/11 10:27:380B / 36B / 32B

Arc _

RankUserSizeTimeDateStatistics
1youz625.96112011/07/12 08:58:540B / 36B / 22B
2murky-satyr625.94352011/07/13 00:18:510B / 36B / 22B

Clojure _

RankUserSizeTimeDateStatistics
1murky-satyr765.70852011/07/12 00:24:080B / 42B / 30B
2youz765.36132011/07/12 17:23:560B / 47B / 27B

Io _

RankUserSizeTimeDateStatistics
1pooq750.47972011/07/11 22:17:530B / 50B / 21B

JavaScript _

RankUserSizeTimeDateStatistics
1xulapp670.00962011/07/24 18:53:580B / 34B / 33B
2murky-satyr700.01412011/07/11 10:18:090B / 33B / 35B
3nn710.02902011/07/11 22:50:010B / 35B / 36B

Lua _

RankUserSizeTimeDateStatistics
1twobit1130.00622011/07/23 03:49:230B / 67B / 37B

Xtal _

RankUserSizeTimeDateStatistics
1pooq910.07912011/07/11 21:50:230B / 49B / 40B

Prolog _

RankUserSizeTimeDateStatistics
1pooq880.07942011/07/12 02:50:140B / 48B / 40B
2teebee(pooq)720.12082012/03/06 05:03:030B / 39B / 33B
3pooq760.25592012/03/05 19:21:010B / 41B / 35B

BASIC _

RankUserSizeTimeDateStatistics
1*yuko*510.00412011/07/12 01:10:220B / 28B / 20B
2Carlos Gutierrez550.00392011/07/11 12:47:570B / 32B / 19B
3pooq570.00402011/07/11 15:59:210B / 33B / 19B

Perl6 _

RankUserSizeTimeDateStatistics
1murky-satyr419.62362011/07/11 03:10:520B / 25B / 14B

J _

RankUserSizeTimeDateStatistics
1pooq340.08282011/07/11 05:14:560B / 11B / 23B
2I., S.340.09782011/07/11 21:51:400B / 13B / 21B

C _

RankUserSizeTimeDateStatistics
1nn650.00312011/07/13 11:57:170B / 35B / 30B
2hinoe650.00342011/07/23 22:22:200B / 35B / 30B
3inaniwa710.00272011/07/11 07:52:360B / 38B / 33B
4teebee710.00262011/07/11 09:08:440B / 39B / 32B
5not750.00272011/07/22 00:55:590B / 42B / 33B
6hos830.00242011/07/11 08:55:370B / 43B / 40B
7saru830.00292011/07/12 00:10:340B / 43B / 40B
8kou860.00212011/07/11 10:17:080B / 48B / 38B

C++ _

RankUserSizeTimeDateStatistics
1nn830.01492011/07/13 11:57:490B / 47B / 34B
2Fadis1120.00232011/07/20 03:33:500B / 67B / 40B

Haskell _

RankUserSizeTimeDateStatistics
1notogawa650.00382011/07/17 00:51:150B / 29B / 35B
2Icewing720.00712011/07/25 01:01:190B / 36B / 31B
3NearO930.00782011/07/12 06:50:310B / 45B / 47B
4feuermonster1080.00792011/07/12 07:11:030B / 79B / 27B

Java _

RankUserSizeTimeDateStatistics
1teebee1250.40822011/07/11 05:22:030B / 73B / 48B

Pascal _

RankUserSizeTimeDateStatistics
1*yuko*1220.00382011/07/12 22:43:550B / 86B / 24B
2uru1220.00372011/07/17 00:16:550B / 85B / 25B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*730.00282011/07/11 19:06:430B / 43B / 29B
2*yuko*700.04502012/11/08 00:40:210B / 40B / 29B

COBOL _

RankUserSizeTimeDateStatistics
1*yuko*3030.00332011/07/16 13:44:290B / 220B / 46B

Maxima _

RankUserSizeTimeDateStatistics
1pooq840.56982011/07/11 05:46:540B / 44B / 38B

sed _

RankUserSizeTimeDateStatistics
1tails1160.00332011/07/21 06:33:580B / 73B / 33B
2nn1000.00382011/08/03 00:08:060B / 37B / 55B

dc _

RankUserSizeTimeDateStatistics
1tails430.02182011/07/21 04:13:000B / 30B / 13B

R _

RankUserSizeTimeDateStatistics
1pooq970.53122012/12/09 05:27:120B / 57B / 37B

GolfScript _

RankUserSizeTimeDateStatistics
1twobit180.15602011/07/21 22:44:120B / 8B / 8B
2tails180.16392011/07/22 03:05:310B / 8B / 10B
3nn190.17012011/07/21 12:25:470B / 9B / 9B
4twobit170.15952011/07/25 05:27:480B / 8B / 8B

FlogScript _

RankUserSizeTimeDateStatistics
1milieu130.35082011/07/13 00:27:270B / ?B / ?B
2zzo38150.39292011/07/13 06:19:570B / 5B / 10B

z80 _

RankUserSizeTimeDateStatistics
1*yuko*240.99342011/07/12 17:51:5616B / 4B / 2B

goruby _

RankUserSizeTimeDateStatistics
1leonid290.15362011/07/11 04:17:260B / 10B / 18B
2murky-satyr300.15872011/07/11 03:37:210B / 10B / 19B

Groovy _

RankUserSizeTimeDateStatistics
1murky-satyr536.37532011/07/12 23:36:310B / 36B / 16B
2nn536.35882011/07/13 00:29:220B / 36B / 16B

Scala _

RankUserSizeTimeDateStatistics
1murky-satyr6422.13042011/07/11 10:22:280B / 42B / 20B
2twobit6821.10652011/07/13 02:47:120B / 53B / 14B

Logo _

RankUserSizeTimeDateStatistics
1teebee580.07112011/07/11 06:10:230B / 36B / 15B

Language Ranking_

RankLangUserSizeScore
1FlogScriptmilieu1310000
2GolfScripttwobit177647
3z80*yuko*245416
4gorubyleonid294482
5Rubyyvl324062
6Jpooq343823
7Perlyibe353714
8Perl6murky-satyr413170
9dctails433023
10BASIC*yuko*512549
11Groovymurky-satyr532452
12Logoteebee582241
13Schemekaki(youz)612131
14Arcyouz622096
15Scalamurky-satyr642031
16PHPo-cn642031
17Cnn652000
18Haskellnotogawa652000
19JavaScriptxulapp671940
20Pythonleonid691884
21Common LISPyouz701857
22Fortran*yuko*701857
23Prologteebee(pooq)721805
24Iopooq751733
25Clojuremurky-satyr761710
26C++nn831566
27Maximapooq841547
28Xtalpooq911428
29Rpooq971340
30sednn1001300
31Luatwobit1131150
32Pascal*yuko*1221065
33Javateebee1251040
34COBOL*yuko*303429

return top