27c3_Generate C

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

Generate some C ;)

This is a Chaos Codegolf Challenge: If you are attending the 27th Chaos Community Congress, you can win some bottles of Mate ;). Just enter "27c3" as the beginning of your name and come to get your price on day 2 (28th) and 4 (30th). See the wiki for more information: http://v.gd/27c3golf

Options

exec is denied

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

Sample input:_

3

Sample output:

   ##  ##  ##
 #   #   #
#   #   #
#   #   #
#   #   #
 #   #   #
   ##  ##  ##

Sample input:_

27

Sample output:

   ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##
 #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #
#   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #
#   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #
#   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #
 #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #   #
   ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##  ##

Sample input:_

1

Sample output:

   ##
 #
#
#
#
 #
   ##

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid570.04322010/12/29 22:53:430B / 17B / 31B
2yvl610.04602010/12/28 06:47:010B / 21B / 32B
3shinh610.04482010/12/29 06:52:220B / 21B / 32B
4ksk610.04172010/12/29 22:32:590B / 15B / 38B
5J-_-L610.05132010/12/30 08:35:490B / 22B / 31B
627c3haxley620.04832010/12/28 07:32:280B / ?B / ?B
727c3620.04672010/12/28 09:11:260B / ?B / ?B
8uru620.04472010/12/28 14:01:440B / 21B / 33B
927c3/J-_-L650.05102010/12/30 07:42:490B / 22B / 35B
10[MAD]mosen720.04702010/12/28 11:34:410B / 28B / 34B
11[MAD]mosen&nivoc720.04652010/12/28 11:37:070B / 28B / 35B
12[mad]mosen&nivoc760.04462010/12/28 11:10:574B / 28B / 33B
13 jchillerup800.04442010/12/28 04:53:092B / ?B / ?B
1427c3haxley_round810.04652010/12/28 04:35:210B / 34B / 38B
1527c3_xero820.04572010/12/29 09:28:280B / 28B / 41B
16_840.04842010/12/28 09:25:030B / 36B / 36B
1727c3_moonglum870.04552010/12/28 21:14:000B / 24B / 49B
18merry_x_mas1270.04422010/12/28 06:56:236B / 53B / 52B
1927c3.darkc690.07352010/12/30 23:47:270B / 19B / 41B

Perl _

RankUserSizeTimeDateStatistics
1ySas500.02682010/12/30 03:22:200B / 9B / 31B
2teebee500.01202010/12/30 04:53:400B / 8B / 36B
3test1560.00442010/12/28 23:44:380B / 10B / 38B
4Gothmog570.00532010/12/28 20:38:300B / ?B / ?B
5tybalt89600.00612010/12/30 00:16:540B / ?B / ?B
627c3.darkc650.06572010/12/30 22:53:460B / 19B / 35B
7 jchillerup670.00362010/12/28 23:39:070B / 15B / 41B
8dcutter (in Berlin but not 27c3)670.00392010/12/29 01:02:040B / 17B / 43B
927c3_avian670.02472010/12/30 11:46:340B / ?B / ?B
10ps710.03392010/12/29 03:24:150B / ?B / ?B
11zagon840.01572010/12/29 01:09:510B / 17B / 56B
1227c3maxi940.00432010/12/29 06:15:590B / ?B / ?B
13keidii1020.03362010/12/30 22:12:300B / 30B / 61B
1427c3_arw1080.02362010/12/30 11:42:550B / 26B / 67B
15epoch3340.06412011/06/12 21:29:4322B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1twobit670.07972010/12/28 05:41:460B / 29B / 30B
2rattle680.08862010/12/30 08:33:490B / 22B / 38B
3hallvabo690.08282010/12/28 07:20:580B / 22B / 35B
427c3.darkc700.45382010/12/30 20:28:510B / 24B / 37B
5tzwenn710.08282010/12/28 05:39:250B / 23B / 36B
6recursive720.08192010/12/29 07:12:330B / 22B / 38B
727c3fooker730.08202010/12/29 23:22:210B / 25B / 38B
827c3rumpsteak730.08202010/12/29 23:44:320B / 25B / 38B
927c3-albert-py4740.05952010/12/28 21:24:280B / ?B / ?B
10garbos740.08142010/12/29 02:21:050B / ?B / ?B
1127c3inkOne780.09312010/12/30 00:28:010B / 29B / 37B
1227c3-noya810.09872010/12/29 00:25:360B / 29B / 39B
13rumpsteak850.07762010/12/29 23:17:070B / ?B / ?B
1427c313abylon890.08542010/12/30 21:57:150B / ?B / ?B
15fooker960.08232010/12/29 10:36:450B / 37B / 46B
16Noya990.08282010/12/28 04:46:290B / 43B / 41B
1727c3rabozacherl1040.08082010/12/30 15:38:000B / ?B / ?B
18inkOne1120.09262010/12/29 23:00:010B / 50B / 52B
1927c3-albert-py81260.08282010/12/29 03:22:490B / ?B / ?B
2027c3-albert-py61430.08652010/12/29 00:10:460B / ?B / ?B
21TAX1700.08382010/12/29 09:41:156B / 83B / 72B
22TAX21700.08312010/12/29 10:29:206B / 83B / 72B
23Satan680.10232014/03/20 07:17:470B / ?B / ?B

PHP _

RankUserSizeTimeDateStatistics
1o-cn910.09382010/12/29 16:21:0812B / 32B / 44B
227c3.darkc930.08962010/12/30 00:42:400B / 34B / 48B
327c3-backtick950.10002010/12/29 23:53:080B / ?B / ?B
4garbos1030.09412010/12/30 06:05:540B / 35B / 57B
5MartinF1080.09192010/12/30 07:57:030B / ?B / ?B
627c3maxi1100.09632010/12/29 04:34:580B / ?B / ?B
727c3rabozacherl1290.09072010/12/30 15:38:090B / ?B / ?B
827c3.born1360.09522010/12/29 05:08:441B / 47B / 78B
9_2030.09442010/12/30 08:13:592B / 68B / 118B
10MatinF2030.09572010/12/30 08:48:312B / 68B / 118B
11o-cn830.11052010/12/31 14:54:049B / 29B / 35B
12Endres830.08842011/01/09 20:09:309B / ?B / ?B
13o-cn(27c3.darkc)880.11012010/12/31 09:33:389B / 34B / 40B

Common LISP _

RankUserSizeTimeDateStatistics
1youz870.15652010/12/30 22:21:070B / 22B / 53B
2pooq1160.15082010/12/30 17:14:010B / 31B / 58B

Arc _

RankUserSizeTimeDateStatistics
1youz836.04322010/12/30 23:09:580B / 23B / 44B
2pooq866.03772010/12/30 00:25:180B / 28B / 41B

Io _

RankUserSizeTimeDateStatistics
1pooq1330.51262010/12/30 11:23:340B / 74B / 46B

JavaScript _

RankUserSizeTimeDateStatistics
1nn860.01992010/12/28 23:44:400B / 33B / 47B
227c3.darkc990.05332010/12/30 00:35:210B / 36B / 54B
3naderman.27c31150.00692010/12/29 08:14:110B / 45B / 59B
4exi.27c31170.00602010/12/29 08:15:130B / 46B / 67B
5miri.27c31290.02242010/12/29 06:58:320B / 44B / 73B

Lua _

RankUserSizeTimeDateStatistics
1pooq990.00432010/12/29 23:35:420B / 38B / 55B
2twobit1000.01262010/12/30 07:39:330B / 48B / 43B
3yamaya920.00212011/01/07 01:20:120B / 39B / 49B

Tcl _

RankUserSizeTimeDateStatistics
1pooq1430.04302010/12/30 15:42:390B / 73B / 36B

Xtal _

RankUserSizeTimeDateStatistics
1pooq950.19932010/12/30 01:29:150B / 33B / 49B

Prolog _

RankUserSizeTimeDateStatistics
1pooq1230.28362010/12/30 08:33:180B / 43B / 66B
2pooq1110.27972012/03/05 10:45:110B / 36B / 61B

Forth _

RankUserSizeTimeDateStatistics
1zzo381240.07002011/05/13 03:28:450B / 57B / 27B

BASIC _

RankUserSizeTimeDateStatistics
1*yuko*970.02682010/12/30 13:25:430B / 48B / 38B
2pooq1000.00362010/12/29 22:45:400B / 31B / 49B

J _

RankUserSizeTimeDateStatistics
1I., S.540.12072010/12/28 13:40:470B / 18B / 32B
2pooq620.13432010/12/29 00:06:480B / 15B / 44B

C _

RankUserSizeTimeDateStatistics
1nn930.00172010/12/28 16:06:485B / 43B / 45B
2nai980.00192010/12/28 11:37:058B / 41B / 49B
327c3-backtick1210.02422010/12/30 21:50:411B / ?B / ?B
4twobit1280.00172010/12/28 08:09:107B / 60B / 57B
5raimund_the_rookie1280.01272010/12/30 20:50:050B / ?B / ?B
627c3-allemo1320.00182010/12/29 19:20:290B / 48B / 74B
727c3.darkc1390.00192010/12/30 00:00:510B / ?B / ?B
827c3-Raim1510.00182010/12/29 21:17:190B / 68B / 75B
927c3-ypnos1590.00182010/12/29 21:27:090B / 71B / 69B
10fraggle1720.04192010/12/30 23:16:310B / 69B / 91B
1127c3rabozacherl1920.01482010/12/30 14:05:190B / ?B / ?B
12keidii1920.03142010/12/30 19:01:180B / 79B / 95B
13the_user2200.00192010/12/28 11:42:400B / 106B / 82B
1427c3-Mullet1380.03252010/12/31 00:26:457B / 59B / 71B
15Ro0mquy & Ps0ke1860.03512010/12/31 00:01:300B / 83B / 95B

C++ _

RankUserSizeTimeDateStatistics
1nn1110.02652010/12/30 16:47:205B / 55B / 49B
227c3-backtick1360.03552010/12/30 21:49:161B / ?B / ?B
327c3.darkc1380.03762010/12/30 19:58:580B / 67B / 63B
427c3-allemo1440.02912010/12/29 18:56:010B / 62B / 72B
527c3rabozacherl1750.03252010/12/30 15:38:210B / ?B / ?B

OCaml _

RankUserSizeTimeDateStatistics
1ksk1190.22522010/12/29 21:40:260B / 48B / 57B
2garbos1910.26532010/12/29 08:02:270B / ?B / ?B

Haskell _

RankUserSizeTimeDateStatistics
1notogawa990.00342010/12/29 21:42:550B / 37B / 45B
2koyama411030.00352010/12/30 01:02:260B / 43B / 53B

Java _

RankUserSizeTimeDateStatistics
1teebee1740.39452010/12/30 23:21:160B / 80B / 83B
2teebee1600.40032010/12/31 01:33:010B / 72B / 77B

Pascal _

RankUserSizeTimeDateStatistics
1*yuko*1340.00222010/12/28 12:49:360B / 83B / 34B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*900.00212010/12/28 11:41:110B / 48B / 38B
2*yuko*870.03922011/11/26 23:53:140B / 45B / 37B

Maxima _

RankUserSizeTimeDateStatistics
1pooq1120.40652010/12/30 17:07:280B / 28B / 63B

REBOL _

RankUserSizeTimeDateStatistics
1pooq1110.12652010/12/30 11:00:590B / 58B / 30B

AWK _

RankUserSizeTimeDateStatistics
1exi.27c31170.00212010/12/29 10:54:510B / 46B / 42B
2yamaya740.01022011/01/08 00:23:480B / 26B / 37B

Bash _

RankUserSizeTimeDateStatistics
1errnosys1520.11102010/12/30 00:02:180B / 75B / 37B
2yamaya880.04442011/01/07 01:21:090B / 29B / 42B

Zsh _

RankUserSizeTimeDateStatistics
1exi.27c31560.03572010/12/29 10:34:390B / 64B / 56B

R _

RankUserSizeTimeDateStatistics
1pooq990.92982010/12/30 02:45:360B / 36B / 53B

Brainfuck _

RankUserSizeTimeDateStatistics
1narb (non-generic input routine)1850.00582010/12/30 14:08:550B / 0B / 185B
2narb2070.01832010/12/30 14:09:580B / 0B / 207B
327c3-thammi7050.00652010/12/30 10:23:070B / ?B / ?B
4TAXTIM19620.03762010/12/30 23:41:170B / ?B / ?B
5TAXTIM10140.02772010/12/30 23:47:030B / ?B / ?B

GolfScript _

RankUserSizeTimeDateStatistics
1narb360.16412010/12/28 15:47:000B / ?B / ?B
2twobit380.16682010/12/29 03:10:427B / 4B / 23B
3yvl410.16182010/12/28 07:41:230B / 7B / 31B
4narb (sym)410.15762010/12/28 16:21:340B / 0B / 34B
5nooodl470.16462010/12/28 05:38:180B / ?B / ?B

gs2 _

RankUserSizeTimeDateStatistics
1whio230.23742017/06/28 04:12:2515B / 5B / 1B

FlogScript _

RankUserSizeTimeDateStatistics
1milieu320.14242010/12/28 12:06:330B / ?B / ?B

Lazy-K _

RankUserSizeTimeDateStatistics
1the_user91540.12352010/12/28 11:15:430B / 4577B / 4576B

z80 _

RankUserSizeTimeDateStatistics
1*yuko*600.75202010/12/30 13:01:5439B / 12B / 6B

Vim _

RankUserSizeTimeDateStatistics
1nn360.11012010/12/28 14:16:554B / 18B / 8B

Groovy _

RankUserSizeTimeDateStatistics
1nn806.33222010/12/28 23:53:100B / 31B / 36B
2teebee(nn)793.29662011/10/22 18:32:210B / 31B / 36B

Scala _

RankUserSizeTimeDateStatistics
1murky-satyr8610.93272011/03/08 22:18:140B / 31B / 44B
2pooq9011.25242011/02/25 12:59:520B / 34B / 49B

Language Ranking_

RankLangUserSizeScore
1gs2whio2310000
2FlogScriptmilieu327187
3Vimnn366388
4GolfScriptnarb366388
5PerlySas504600
6JI., S.544259
7Rubyleonid574035
8z80*yuko*603833
9Pythontwobit673432
10AWKyamaya743108
11Groovyteebee(nn)792911
12Arcyouz832771
13PHPo-cn832771
14JavaScriptnn862674
15Scalamurky-satyr862674
16Common LISPyouz872643
17Fortran*yuko*872643
18Bashyamaya882613
19Luayamaya922500
20Cnn932473
21Xtalpooq952421
22BASIC*yuko*972371
23Haskellnotogawa992323
24Rpooq992323
25REBOLpooq1112072
26C++nn1112072
27Prologpooq1112072
28Maximapooq1122053
29OCamlksk1191932
30Forthzzo381241854
31Iopooq1331729
32Pascal*yuko*1341716
33Tclpooq1431608
34Zshexi.27c31561474
35Javateebee1601437
36Brainfucknarb (non-generic input routine)1851243
37Lazy-Kthe_user915425

return top