Path: utzoo!utgpu!cs.utexas.edu!uunet!decwrl!amdcad!pyramid!flash From: flash@pyrtech.pyramid.com (Dean "Flash" Fashbaugh) Newsgroups: alt.sources Subject: Re: VI SOLVES MAZE (and lies about it) Message-ID: <141293@pyramid.pyramid.com> Date: 16 Jan 91 15:24:53 GMT Sender: daemon@pyramid.pyramid.com Reply-To: flash@pyrtech.pyramid.com (Dean "Flash" Fashbaugh) Organization: Pyramid Technology Corp., Mountain View, CA Lines: 31 In article <44914@mips.mips.COM> jc@mips.COM (J.C. Webber III) writes: > >Wouldn't compile for me either. Complained about srand and drand I think. Here's what I get: ================================================================= % cat maze.c char*M,A,Z,E=40,J[40],T[40];main(C){for(*J=A=scanf(M="%d",&C); -- E; J[ E] =T [E ]= E) printf("._"); for(;(A-=Z=!Z) || (printf("\n|" ) , A = 39 ,C -- ) ; Z || printf (M )) M[Z]=Z[A-(E =A[J-Z]) &&!C & A == T[ A] |6<<27