"15225", у меня вывело это) Поставь, если нужно, пробелы, когда выводишь c1, c2, c3 и с4. Тогда "1 52 2 5")
Program pr2;
uses crt;
var
m,n,i,j,k,l:integer;
mas: array[1..99,1..99] of integer;
masb: array [1..99] of integer;
begin
clrscr;
write('vvedite m');
readln(m);
write('vvedite n');
readln(n);
writeln('vvedite massiv MxN')
;for i:=1 to m do
for j:=1 to n do
begin
write('mas[',i,',',j,']= ');
readln(mas[i,j]);
end;
for i:=1 to m do
begin
k:=mas[i,1];
l:=mas[i,1];
for j:=1 to n do
begin
if k < mas[i,j] then k:=mas[i,j];
if l > mas[i,j] then l:=mas[i,j];
end;
masb[i]:=k-l;
end;
for i:=1 to m do
begin
for j:=1 to n do
write(mas[i,j],' ');
writeln('result = ',masb[i]);
end;
readln(i)
end.
7) И ("and"(Pascal) / "&&"(C++))
8) 10
9) 2
10) 21
11) 12
12) 32
Ответ:
stones = int(input())
while stones > 0:
take = int(input())
stones -= take
print(stones)
Объяснение:
Просто скопируй, у меня работает(как и написано в твоём тексте).
Алфавит 64 = 2^6 - т.е. 6 бит каждый символ
v = 12 * 16 * 52 * 6 = 59904 бит / 8 = 7488 байт / 1024 = 7,3125 Кбайт