1 char*M
,A
,Z
,E
=40,J
[40],T
[40];main(C
){for(*J
=A
=scanf(M
="%d",&C
);
3 [E
]= E
) printf("._"); for(;(A
-=Z
=!Z
) || (printf("\n|"
5 ) ; Z
|| printf (M
))M
[Z
]=Z
[A
-(E
=A
[J
-Z
])&&!C
7 |6<<27<rand()||!C
&!Z
?J
[T
[E
]=T
[A
]]=E
,J
[T
[A
]=A
-Z
]=A
,"_.":" |"];}