27c3_Generate C by

<?$r=fgets(STDIN);$p='for($i=0;$i<$r;$i++){$o.=$i==0?"   ##":"  ##";}';eval($p);for($e=0;$e<5;$e++){ $o.='\x0d
';for($f=0;$f<$r;$f++){$o.=$e==0||$e==4?' #  ':'#   ';}$o=rtrim($o);}$o.='\x0d
'; eval($p);echo$o;

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page