fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. /* 219 = filled block, 32 = space */
  5. char floor[6][10] = {
  6. {35, 35, 35, 35, 35, 35, 35, 35, 35, '\n'},
  7. {35, 32, 32, 32, 32, 32, 32, 32, 35, '\n'},
  8. {35, 32, 32, 32, 32, 32, 32, 32, 35, '\n'},
  9. {35, 32, 32, 32, 32, 32, 32, 32, 35, '\n'},
  10. {35, 35, 35, 35, 35, 35, 35, 35, 35, '\n'}};
  11. int i,j;
  12. for(i = 0; i<6; i++)
  13. for(j = 0; j<10; j++)
  14. printf("%c", floor[i][j]);
  15. return 0;
  16. }
Success #stdin #stdout 0s 1832KB
stdin
Standard input is empty
stdout
#########
#       #
#       #
#       #
#########