fork(3) download
  1. #!perl -nl
  2. for$l(-$_..$_){$t=/_/?join'',map'/_'x($%=rand
  3. 1+($-=y!!!c/2)).'/\\'.'_\\'x($--$%),split/\/\\/,$_,-1:__
  4. x$_;$l>0&&$t!~s!^.(\\.*/).$!$1!?redo:print$"x abs$l-.5,$_=$t}
Success #stdin #stdout 0s 6000KB
stdin
3
3
3
3
stdout
   ______
  /_/_/_/\
 /_/_/\_\/\
/_/_/\/_/\/\
\_\_\/_/\/\/
 \_\_\_\/\/
  \_\_\_\/
   ______
  /_/\_\_\
 /_/\/_/_/\
/\_\/_/_/\/\
\/\_\_\_\/\/
 \/_/_/_/\/
  \_\_\_\/
   ______
  /_/_/\_\
 /_/\_\/\_\
/_/\/\_\/_/\
\_\/\/_/\_\/
 \_\/\_\/_/
  \_\/_/_/
   ______
  /_/_/_/\
 /_/\_\_\/\
/_/\/\_\_\/\
\_\/\/_/_/\/
 \_\/\_\_\/
  \_\/_/_/