27c3_Generate C by 27c3-allemo

#include<iostream>
main(){int n,i;for(std::cin>>n,i=7*n;i--;)std::cout<<(n-i%n-1|i/n%5>1?"":" ")<<(i/n%6?i%n?"#   ":"#\n":i%n?"  ##":"  ##\n");}

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

download

return to the top page