electronic dice

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 from the decimal die roll to the visible configuration of pips (dots) on the die's face.

Options

exec is denied

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

Sample input:_

1
2
3
4
5
6

Sample output:

0 0 0
0 1 0
0 0 0

0 0 1
0 0 0
1 0 0

1 0 0
0 1 0
0 0 1

1 0 1
0 0 0
1 0 1

1 0 1
0 1 0
1 0 1

1 0 1
1 0 1
1 0 1

Sample input:_

1
1
2
5
2
3
3
6
4
6
6
3
3
4
6
3
3
2
4
2
3
5
4
3
3

Sample output:

0 0 0
0 1 0
0 0 0

0 0 0
0 1 0
0 0 0

0 0 1
0 0 0
1 0 0

1 0 1
0 1 0
1 0 1

0 0 1
0 0 0
1 0 0

1 0 0
0 1 0
0 0 1

1 0 0
0 1 0
0 0 1

1 0 1
1 0 1
1 0 1

1 0 1
0 0 0
1 0 1

1 0 1
1 0 1
1 0 1

1 0 1
1 0 1
1 0 1

1 0 0
0 1 0
0 0 1

1 0 0
0 1 0
0 0 1

1 0 1
0 0 0
1 0 1

1 0 1
1 0 1
1 0 1

1 0 0
0 1 0
0 0 1

1 0 0
0 1 0
0 0 1

0 0 1
0 0 0
1 0 0

1 0 1
0 0 0
1 0 1

0 0 1
0 0 0
1 0 0

1 0 0
0 1 0
0 0 1

1 0 1
0 1 0
1 0 1

1 0 1
0 0 0
1 0 1

1 0 0
0 1 0
0 0 1

1 0 0
0 1 0
0 0 1

Sample input:_

6
1
5
1
6
6
5
2
2
4
4
2
4
3
1
3
5
3
3
3
3
6
2
3
1
2
1
1
3
6
2
5
2
3
2
3
5
6
4
4
3
5
6
3
1
4
4
2
3
5
6
3
5
1
3
2
6
4
5
1
3
6
2
5
1
6
6
3
2
1
5
4
6
2
4

Sample output:

1 0 1
1 0 1
1 0 1

0 0 0
0 1 0
0 0 0

1 0 1
0 1 0
1 0 1

0 0 0
0 1 0
0 0 0

1 0 1
1 0 1
1 0 1

1 0 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0 1
0 0 0
1 0 0

1 0 1
0 1 0
1 0 1

0 0 0
0 1 0
0 0 0

1 0 1
1 0 1
1 0 1

1 0 1
1 0 1
1 0 1

1 0 0
0 1 0
0 0 1

0 0 1
0 0 0
1 0 0

0 0 0
0 1 0
0 0 0

1 0 1
0 1 0
1 0 1

1 0 1
0 0 0
1 0 1

1 0 1
1 0 1
1 0 1

0 0 1
0 0 0
1 0 0

1 0 1
0 0 0
1 0 1

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1yvl600.06802010/11/21 22:56:592B / 18B / 28B
2ksk620.06292010/11/22 23:58:086B / 23B / 28B
3leonid720.07602010/11/20 02:14:380B / 38B / 26B
4uru810.00612010/11/17 19:48:020B / 36B / 40B
5eban810.00742010/11/19 16:39:480B / 36B / 40B
6shinh910.00942010/11/18 00:42:465B / 38B / 42B

Perl _

RankUserSizeTimeDateStatistics
1tybalt89670.13242010/11/19 01:11:420B / ?B / ?B
2dcutter840.00362010/11/17 18:59:000B / 30B / 54B
3Mithran890.03412010/11/23 23:31:500B / 43B / 39B
4tails (yvl)550.04032016/04/27 10:51:282B / 21B / 22B

Python _

RankUserSizeTimeDateStatistics
1leonid740.05782010/11/19 09:09:250B / 36B / 34B
2recursive740.10022010/11/20 03:39:560B / 38B / 33B
3hallvabo820.09022010/11/19 00:35:072B / 45B / 33B
4martian830.02852010/11/18 09:20:270B / ?B / ?B
5kotauchi1180.09762010/11/20 14:56:495B / 74B / 19B
6blackneyed3460.09072010/11/21 18:12:4420B / ?B / ?B
7recursive (leonid)720.09742010/11/25 02:01:560B / 37B / 32B

PHP _

RankUserSizeTimeDateStatistics
1o-cn900.11582010/12/13 18:41:575B / 36B / 43B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima1180.56702010/11/18 14:38:360B / 52B / 41B
2youz1010.27562010/12/10 17:25:470B / 60B / 36B

Arc _

RankUserSizeTimeDateStatistics
1youz1036.03312010/12/10 16:28:250B / 48B / 35B

Clojure _

RankUserSizeTimeDateStatistics
1youz1165.63882010/12/10 17:34:220B / 58B / 37B
2uochan1355.58262010/11/25 21:01:100B / ?B / ?B

JavaScript _

RankUserSizeTimeDateStatistics
1nn750.00482010/11/17 22:55:570B / 41B / 34B
2idealmachine860.00492010/11/17 09:16:140B / 46B / 40B
3ETHproductions780.05342016/04/27 01:05:030B / 42B / 36B

Lua _

RankUserSizeTimeDateStatistics
1AndoDaan1790.03412014/08/15 08:37:010B / 86B / 70B

BASIC _

RankUserSizeTimeDateStatistics
1Carlos Gutierrez690.02942010/11/23 07:47:010B / 35B / 28B
2idealmachine1000.00712010/11/17 20:56:370B / ?B / ?B

J _

RankUserSizeTimeDateStatistics
1I., S.590.06002010/11/17 17:45:350B / 35B / 20B
2pooq(I.,S.)520.14452010/12/20 20:57:540B / 26B / 24B
3I., S.530.13322010/12/20 19:46:230B / 27B / 24B
4pooq540.13782010/12/17 23:57:110B / 28B / 23B

C _

RankUserSizeTimeDateStatistics
1inaniwa900.03672010/11/20 16:57:082B / 39B / 48B
2nn920.00122010/11/18 13:28:360B / 47B / 39B
3chocobi1090.00122010/11/19 01:53:060B / 52B / 51B
4csanders1100.00112010/11/19 06:05:330B / 52B / 52B
5idealmachine1140.00122010/11/18 10:19:510B / ?B / ?B
6kou1150.00122010/11/18 11:41:330B / 54B / 59B
7fill1410.00122010/11/17 17:28:560B / 66B / 69B

OCaml _

RankUserSizeTimeDateStatistics
1ksk1230.13852010/11/21 15:23:530B / 71B / 42B
2m.ukai1270.09332010/11/19 19:20:200B / 63B / 50B

Haskell _

RankUserSizeTimeDateStatistics
1notogawa970.03432010/11/21 12:23:450B / ?B / ?B
2henkma1010.04962010/11/21 11:49:480B / 60B / 31B
3hirose1100.04422010/11/24 04:53:480B / 59B / 48B
4koyama411240.00402010/11/18 00:38:090B / 68B / 47B

Java _

RankUserSizeTimeDateStatistics
1hallvabo1840.61612010/11/18 07:02:042B / 101B / 75B

Pascal _

RankUserSizeTimeDateStatistics
1*yuko*1270.00222010/11/19 19:58:110B / 82B / 27B
2*yuko*1260.01482014/03/02 11:45:180B / 80B / 28B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*790.00182010/11/17 22:00:210B / 49B / 29B
2*yuko*770.08302011/11/26 10:09:520B / 47B / 29B

C# _

RankUserSizeTimeDateStatistics
1darefilz3460.18142010/11/18 04:45:450B / 205B / 99B
2Hendrik3090.20952013/11/21 18:20:550B / 174B / 76B

Asymptote _

RankUserSizeTimeDateStatistics
1chocobi1531.53112010/11/18 00:21:590B / 72B / 69B

AWK _

RankUserSizeTimeDateStatistics
1yamaya760.01722010/11/19 17:29:360B / 36B / 34B
2yamaya550.04802010/12/01 00:08:250B / 29B / 22B

sed _

RankUserSizeTimeDateStatistics
1emoken1160.02632010/11/21 12:48:370B / 77B / 29B
2tails810.03822016/04/26 16:13:130B / 39B / 34B
3tails (emoken)1070.03232016/04/26 15:10:020B / 59B / 38B

Bash _

RankUserSizeTimeDateStatistics
1yamaya780.24322010/11/18 21:59:470B / 48B / 19B
2eban1041.43762010/11/17 17:45:390B / 56B / 30B
3yamaya690.10302010/12/01 00:08:000B / 26B / 39B

Zsh _

RankUserSizeTimeDateStatistics
1eban1020.86842010/11/18 14:36:370B / 52B / 33B
2eban990.74832013/11/20 11:51:160B / 52B / 33B

wake _

RankUserSizeTimeDateStatistics
1idealmachine1830.01262010/11/17 11:12:550B / ?B / ?B

R _

RankUserSizeTimeDateStatistics
1seichung1470.55882010/11/18 23:22:550B / 71B / 76B

GolfScript _

RankUserSizeTimeDateStatistics
1leonid370.11852010/11/19 09:28:350B / 9B / 25B
2nn370.12412010/11/19 17:10:270B / 9B / 27B
3nooodl570.13552010/11/18 03:44:400B / ?B / ?B

FlogScript _

RankUserSizeTimeDateStatistics
1milieu340.54452010/11/23 07:11:340B / ?B / ?B
2milieu330.55002010/11/25 01:10:313B / ?B / ?B

z80 _

RankUserSizeTimeDateStatistics
1*yuko*381.28632010/11/19 10:48:2524B / 7B / 3B

Vim _

RankUserSizeTimeDateStatistics
1pla670.56012010/11/24 02:33:557B / 33B / 23B
2nn690.20902010/11/18 12:37:292B / 26B / 39B
3pla(nn)650.92122010/11/26 08:12:237B / 32B / 22B

Groovy _

RankUserSizeTimeDateStatistics
1nn953.65442010/11/19 10:19:380B / 49B / 36B
2nn946.52102010/11/27 16:58:050B / 45B / 45B

Language Ranking_

RankLangUserSizeScore
1FlogScriptmilieu3310000
2GolfScriptleonid378918
3z80*yuko*388684
4Jpooq(I.,S.)526346
5AWKyamaya556000
6Perltails (yvl)556000
7Rubyyvl605500
8Vimpla(nn)655076
9BASICCarlos Gutierrez694782
10Bashyamaya694782
11Pythonrecursive (leonid)724583
12JavaScriptnn754400
13Fortran*yuko*774285
14sedtails814074
15Cinaniwa903666
16PHPo-cn903666
17Groovynn943510
18Haskellnotogawa973402
19Zsheban993333
20Common LISPyouz1013267
21Arcyouz1033203
22Clojureyouz1162844
23OCamlksk1232682
24Pascal*yuko*1262619
25Rseichung1472244
26Asymptotechocobi1532156
27LuaAndoDaan1791843
28wakeidealmachine1831803
29Javahallvabo1841793
30C#Hendrik3091067

return top