|  | 
|  | 
| back to board | d Can drunk King make the first and the last moves in the same direction?Re: d King cannot do that because the move to the corner and the move from that corner cannot be the same direction.Re: d if "NO COMMENTS" why you write this?information - Zero
Re: d It's really easy!!!var n,m:real;
 begin
 readln(m,n);
 writeln((m*n-m-n-1+sqrt(2)*(n+m+1)):0:12);
 end.
 Pascal forever!!!
Re: d FFFFUUUU~. It's not Pascal, it's just Math!!1Re: d Stop posting your code!!Re: d how did you get to the formula?
 m*n-m-n-1+sqrt(2)*(n+m+1)
 | 
 | 
|