uses Robot;
begin
Task('cif3');
while FreeFromRight do
right;
if WallFromUp and WallFromDown then paint
end
end.
Объяснение:
картинки