ШТ
Size: a a a
ШТ
МА
T
МК
AS
LO
КС
КС
КС
i = 1
j = 20
while i < j do
i++
end
IB
i = 1
j = 20
while i < j do
print(i)
i=i+1
end
T
i = 1
j = 20
while i < j do
i++
end
КС
function find_start(map, height, width)
local res = coord;
while map[res.y][res.x] ~= 'I' and res.y < height do
res.x = 1;
while map[res.y][res.x] ~= 'I' and res.x < width do
res.x = res.x + 1;
end
res.y = res.y + 1;
end
if res.y == height then
error("File has no start");
end
return res;
end
КС
КС
T