
Богданович
7 год назад
Дана квадратная матрица А(n× n). Найти минимальный элемент в заштрихованной части. Помогите пожалуйста срочно нужно!

ОТВЕТЫ

Адрианович
Jul 11, 2019
Input n
dim a(n,n)
for i=1 to n
for j=1 to n
a(i,j)=int(rnd*100-50)
next j
next i
min=a(1,n)
p=n
for i=2 to n
for j=1 to n
if jgt;p then
if a(i,j)lt;min then min=a(i,j)
end if
next j
p=p-1
next i
print min
dim a(n,n)
for i=1 to n
for j=1 to n
a(i,j)=int(rnd*100-50)
next j
next i
min=a(1,n)
p=n
for i=2 to n
for j=1 to n
if jgt;p then
if a(i,j)lt;min then min=a(i,j)
end if
next j
p=p-1
next i
print min
80