Напишите описание алгоритма решения задач from random import randint
n, m = 4, 5 #map(int,input().split())
a = [[randint(1,9) for j in range(m)] for i in range(n)]
for row in a:
print(*row)
print()
min_col = a[0].copy()
for i in range(1, n):
for j in range(m):
if a[i][j] < min_col[j]:
min_col[j] = a[i][j]
print(*min_col)
res = min_col[0]
for j in range(1, m):
if res < min_col[j]:
res = min_col[j]
print(res)
MAX_SIZE = 10;
var
a: array[1..MAX_SIZE] of integer;
i, size: integer;
procedure delete_odd_elements();
var i, j: integer;
begin
i := 1;
repeat
if odd(a[i]) then
begin
dec(size);
for j := i to size do
a[j] := a[j + 1]
end
else inc(i);
until i > size;
end;
begin
writeln('Исходный массив: ');
size := MAX_SIZE;
for i := 1 to size do
begin
a[i] := random(100);
write(a[i] : 3);
end;
delete_odd_elements;
writeln;
writeln('Полученный массив: ');
for i := 1 to size do
write(a[i] : 3);
end.