Advertisement
yepp

Untitled

Nov 10th, 2013
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. #include <cstdio>
  2. #include <cmath>
  3. #define l(i,a,f) for(int i=a;i<f;++i)
  4. int main()
  5. {
  6. char m[97][71];
  7. l(i,0,6887)m[i%97][i%71]=' ';
  8. l(i,1,54)l(j,i<7?1:ceil(.36*i-1.28),(i>47?40:ceil(.36*i+21.86)))l(k,0,3)m[j-1+k*29][62-i]='#';
  9. l(i,-10,11)l(j,9-ceil(sqrt(112.89-i*i)-2),10)l(k,0,3)m[28+i+k*29][j]=m[10+i+k*29][70-j]='#';
  10. l(i,0,97){int e=71;while(m[i][--e]<'#');l(j,0,e+1)printf("%c",m[i][j]);printf("\n");}
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement