Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
sub p{print"@_ "}sub g{($x)=@_;map{$_[$_]*(1-(4*$x>>$_&2))}1..3}p g$_,(1)x355,55,55 for 0..7;map{@v=(g$_,1.61889,.61834,0)x2;p@v[$_..$_+2]for 0..2}0..3