Tatuhenka3
24.11.2021 22:44

Определи причины по которым нельзя использовать интернет вещей​

Нажмите на рекламу ниже и сразу увидите ответ
Популярные вопросы:
Ответ:
Bartova2006
11.05.2022 12:35
1)
const n=10;
var a:array[1..n] of integer;
i,min,s:integer;
begin
for i:=1 to n do
begin
a[i]:=random(81)+10;
write(a[i]:4);
end;
writeln;
min:=a[1];
for i:=1 to n do
begin
if a[i]<min then min:=a[i];
s:=s+a[i];
end;
writeln('min = ',min);
writeln('s = ',s);
end.

Пример:
 54 58 67 78 58 79 54 78 44 60
min = 44
s = 630

2)
const n=9; m=6;
var a:array[1..n,1..m] of integer;
i,j:integer;
begin
for i:=1 to n do
for j:=1 to m do a[i,j]:=i;
for i:=1 to n do
begin
for j:=1 to m do write(a[i,j]);
writeln;
end;
end.

Результат: 
111111
222222
333333
444444
555555
666666
777777
888888
999999 
0,0(0 оценок)
Ответ:
Максим111136322
03.06.2021 11:58

x, y = map(float, input().split())

# f - формула

f1 = f2 = f3 = f4 = False

F1 = (x-4)*(x-4) + (y-4)*(y-4)

F2 = x*x + (y-3)*(y-3)

F3 = (x-3)*(x-3)+y*y

if (x * x + y * y <= 25) and (x * x + y * y >= 9):

f1 = True

if ((x * x + y * y <= 25) and (y > x + 5)) or ((x * x + y * y <= 25) and (y < x - 5)) \

or ((x * x + y * y <= 25) and ((x > 0 and y > 0) or (x < 0 and y < 0))):

f2 = True

if F1 == 9 or F2 == 9 or F3 == 9 or ((F1 <= 9 and F2 > 9 and F3 > 9) or (F2 <= 9 and F1 > 9 and F3 > 9) or (F3 <= 9 and F1 > 9 and F2 > 9)):

f3 = True

if (x * x + (y - 3) * (y - 3) <= 16) and (y <= 2 or y >= 5):

f4 = True

print("1:", f1)

print("2:", f2)

print("3:", f3)

print("4:", f4)

0,0(0 оценок)
Полный доступ
Позволит учиться лучше и быстрее. Неограниченный доступ к базе и ответам от экспертов и ai-bota Оформи подписку
logo
Начни делиться знаниями
Вход Регистрация
Что ты хочешь узнать?
Спроси ai-бота