Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- / /;for$h(1..$`){for$w(1..$`){if($h*($w+$h)==$`){for$l(1..$h){if($l*($w+$l)==$'){for(0..$h-1){print$"x$_."\\".($_<$h-1?$_==$h-$l-1?"~":$":"_")x($w+($h-$_-1)*2)."/
- "}exit}}}}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement