fork download
  1. #include <stdio.h>
  2.  
  3. int a(x)
  4. int x;{return(x<0?-x:x);}
  5.  
  6. int main(void) {
  7. int x,y;
  8. for(y=0;y<19;y++){
  9. for(x=0;x<19;x++)
  10. putchar(35-3*(a(x-9)+a(y-9)<9));
  11. putchar(10);
  12. }
  13. }
  14.  
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
###################
######### #########
########   ########
#######     #######
######       ######
#####         #####
####           ####
###             ###
##               ##
#                 #
##               ##
###             ###
####           ####
#####         #####
######       ######
#######     #######
########   ########
######### #########
###################