Counting Adventure 10

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

Make a binary adder like this.
Input is the number of bits it uses max.

As in, for X bits it outputs (from smallest to biggest) all the combinations you can do with these bits.
. = 0
# = 1

Options

exec is denied

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

Sample input:_

2

Sample output:

..
.#
#.
##

Sample input:_

3

Sample output:

...
..#
.#.
.##
#..
#.#
##.
###

Sample input:_

4

Sample output:

....
...#
..#.
..##
.#..
.#.#
.##.
.###
#...
#..#
#.#.
#.##
##..
##.#
###.
####

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1ksk400.00022009/12/19 18:33:330B / 12B / 27B
2leonid420.00032009/12/18 04:10:320B / ?B / ?B
3eban520.00172009/12/17 17:05:350B / 24B / 26B
4hide24540.00032009/12/17 11:34:050B / 22B / 31B
5murky-satyr540.00192009/12/17 16:56:530B / 25B / 28B
6kaki540.00042009/12/22 13:46:560B / 22B / 32B
7uru550.00192009/12/19 19:02:320B / 26B / 28B
8hallvabo570.00192009/12/17 20:10:130B / 26B / 30B
9kurimura590.00172009/12/18 23:27:220B / 27B / 31B

Perl _

RankUserSizeTimeDateStatistics
1tybalt89260.08062009/12/17 10:52:130B / ?B / ?B
2leonid260.00182009/12/18 04:55:080B / ?B / ?B
3nai260.00182009/12/19 23:20:160B / 10B / 15B
4yibe260.08632009/12/23 21:46:240B / 10B / 15B
5shinh350.00162009/12/17 03:29:180B / 12B / 21B

Python _

RankUserSizeTimeDateStatistics
1hallvabo710.01382009/12/17 11:32:420B / 33B / 33B
2primo710.01312009/12/21 23:55:250B / 37B / 29B

PHP _

RankUserSizeTimeDateStatistics
1o-cn710.02462010/01/04 14:16:142B / 34B / 33B

Scheme _

RankUserSizeTimeDateStatistics
1kaki(xsd)790.07252012/12/08 04:24:460B / 31B / 42B
2kaki900.08322012/12/08 04:20:500B / 53B / 33B
3xsd920.04662009/12/24 01:16:010B / 36B / 45B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima960.07352009/12/21 17:11:470B / 50B / 40B

Clojure _

RankUserSizeTimeDateStatistics
1murky-satyr945.33792010/05/31 10:47:590B / 55B / 31B

LilyPond _

RankUserSizeTimeDateStatistics
1KirarinSnow1072.28982009/12/17 02:59:450B / 51B / 50B

Io _

RankUserSizeTimeDateStatistics
1pooq1180.49072011/01/27 11:18:110B / 71B / 43B

JavaScript _

RankUserSizeTimeDateStatistics
1nn710.00232009/12/21 22:54:420B / 34B / 37B
2murky-satyr720.00232009/12/18 02:26:280B / 34B / 38B

REXX _

RankUserSizeTimeDateStatistics
1teebee(pooq)690.05492012/04/12 09:12:130B / 44B / 17B
2pooq730.04682012/04/11 21:51:290B / 44B / 21B

BASIC _

RankUserSizeTimeDateStatistics
1*yuko*740.00162009/12/17 14:33:570B / 47B / 22B

J _

RankUserSizeTimeDateStatistics
1pooq220.05692009/12/17 11:16:390B / 7B / 15B
2I., S.210.10652011/01/28 12:49:420B / 5B / 16B
3medialuna410.06062014/08/23 22:57:080B / ?B / ?B

K _

RankUserSizeTimeDateStatistics
1teebee280.05182012/07/04 08:09:140B / 8B / 20B

C _

RankUserSizeTimeDateStatistics
1not(rand)680.00032009/12/19 17:51:290B / 34B / 34B
251b(rand)720.00032009/12/19 17:00:450B / 32B / 40B
3inaniwa(rand)740.00032009/12/17 21:28:540B / 37B / 37B
4not750.00092009/12/19 11:08:190B / 39B / 36B
5inaniwa800.00092009/12/17 18:03:240B / 43B / 37B
651b800.00082009/12/19 16:47:400B / 38B / 42B
7not650.00032010/04/30 01:45:230B / 34B / 31B
8inaniwa780.00092009/12/26 11:29:330B / 42B / 36B

D _

RankUserSizeTimeDateStatistics
151b1040.00172009/12/19 20:39:190B / 59B / 42B

OCaml _

RankUserSizeTimeDateStatistics
1xsd720.30482009/12/23 08:47:120B / 36B / 33B

Haskell _

RankUserSizeTimeDateStatistics
1notogawa630.00492009/12/17 19:58:050B / ?B / ?B
2rst76640.00172009/12/17 01:09:550B / 35B / 25B
3Lost_dog640.00172009/12/17 01:13:360B / 35B / 25B

Pascal _

RankUserSizeTimeDateStatistics
1uru1160.00102009/12/17 23:23:440B / 74B / 31B
2*yuko*1140.00232011/07/27 23:59:120B / 70B / 30B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*700.00112009/12/17 19:56:550B / 40B / 30B

COBOL _

RankUserSizeTimeDateStatistics
1*yuko*(LF)2740.00102011/07/28 00:42:130B / 118B / 113B

Maxima _

RankUserSizeTimeDateStatistics
1pooq950.29052009/12/17 00:36:380B / 48B / 46B
2pooq930.29402010/01/24 23:15:010B / 45B / 47B

Octave _

RankUserSizeTimeDateStatistics
1pooq400.72612011/10/23 09:14:320B / 22B / 18B
2inaniwa571.29072011/03/24 16:16:340B / 35B / 21B

AWK _

RankUserSizeTimeDateStatistics
1nn590.00112009/12/18 01:21:190B / 24B / 34B

sed _

RankUserSizeTimeDateStatistics
1shinh430.00122009/12/17 03:50:170B / 17B / 20B
2KirarinSnow650.00142009/12/17 03:16:490B / 16B / 41B
3tails (shinh)410.05142012/04/11 23:08:070B / 18B / 17B

Bash _

RankUserSizeTimeDateStatistics
1eban530.09072009/12/17 10:12:490B / 26B / 21B

dc _

RankUserSizeTimeDateStatistics
1tails380.03182012/04/12 02:25:550B / 29B / 9B

Postscript _

RankUserSizeTimeDateStatistics
1ySas570.24492009/12/20 01:02:0421B / 18B / 18B
2yshl(bin)580.24022009/12/20 02:20:1726B / 20B / 12B
3yshl1050.23912009/12/20 02:11:540B / 73B / 18B

R _

RankUserSizeTimeDateStatistics
1pooq930.50082012/12/07 22:41:140B / 42B / 46B

Befunge _

RankUserSizeTimeDateStatistics
1hess950.00152009/12/19 00:25:232B / 30B / 57B

GolfScript _

RankUserSizeTimeDateStatistics
1irori230.10972009/12/20 18:04:020B / 1B / 22B

gs2 _

RankUserSizeTimeDateStatistics
1whio70.31872017/03/25 01:54:532B / 2B / 3B

FlogScript _

RankUserSizeTimeDateStatistics
1milieu250.14092012/04/11 20:28:050B / ?B / ?B

Unlambda _

RankUserSizeTimeDateStatistics
1irori1950.00102009/12/20 17:41:070B / 93B / 102B

Universal Lambda _

RankUserSizeTimeDateStatistics
1hinoe340.20912009/12/18 05:18:4821B / 4B / 8B

z80 _

RankUserSizeTimeDateStatistics
1*yuko*340.17492011/07/27 23:41:0519B / 7B / 7B

Vim _

RankUserSizeTimeDateStatistics
1pla230.07252009/12/17 02:31:214B / 14B / 5B
2nn230.06832009/12/18 18:42:274B / 14B / 5B

goruby _

RankUserSizeTimeDateStatistics
1leonid310.08362009/12/18 04:59:030B / ?B / ?B
2uru380.08932009/12/19 18:46:330B / 16B / 19B
3murky-satyr420.09072009/12/17 16:46:010B / 16B / 26B
4murky-satyr300.08642010/01/04 18:16:480B / 9B / 19B

Groovy _

RankUserSizeTimeDateStatistics
1nn713.54922009/12/21 22:37:320B / 38B / 32B
2murky-satyr733.52942009/12/21 19:48:240B / 38B / 35B

Language Ranking_

RankLangUserSizeScore
1gs2whio710000
2JI., S.213333
3Vimpla233043
4GolfScriptirori233043
5FlogScriptmilieu252800
6Perltybalt89262692
7Kteebee282500
8gorubymurky-satyr302333
9Universal Lambdahinoe342058
10z80*yuko*342058
11dctails381842
12Rubyksk401750
13Octavepooq401750
14sedtails (shinh)411707
15Basheban531320
16PostscriptySas571228
17AWKnn591186
18Haskellnotogawa631111
19Cnot651076
20REXXteebee(pooq)691014
21Fortran*yuko*701000
22Pythonhallvabo71985
23Groovynn71985
24JavaScriptnn71985
25PHPo-cn71985
26OCamlxsd72972
27BASIC*yuko*74945
28Schemekaki(xsd)79886
29Maximapooq93752
30Rpooq93752
31Clojuremurky-satyr94744
32Befungehess95736
33Common LISPkozima96729
34D51b104673
35LilyPondKirarinSnow107654
36Pascal*yuko*114614
37Iopooq118593
38Unlambdairori195358
39COBOL*yuko*(LF)274255

return top