Program
{
forward ( 1 );
right;
while ( free_forward )
if ( wall_left )
put;
}
else
left;
back ( 1 );
Объяснение:
картинки