К=1 L=0 M=1 N=1
к=1 L=1 M=0 N=1
к=0 L=1 M=0 N=0
4) 12
2*16^4+0*16^3+4*16^2+7*16^1+8*16^0=132216
#include <bits/stdc++.h>
using namespace std;
int main() {
long long a, b;
cin >> a >> b;
long long r = 1;
if (a > b) r = -1;
long long x = a;
while (x != b) {
cout << x << endl;
x += r;
}
cout << x << endl;
return 0;
}
var
a: array [1..5, 1..5] of byte;
min: array [1..5] of byte;
i, j: byte;
begin
for i := 1 to 5 do min[i] := 100;
for i := 1 to 5 do
for j := 1 to 5 do
begin
a[i, j] := random(0, 99);
if (min[i] > a[i, j]) then min[i] := a[i, j];
end;
for i := 1 to 5 do
begin
for j := 1 to 5 do
write(a[i, j]:2, ' ');
writeln('- ', min[i]);
end;
<span>end.</span>
Очимточки в корзине
новерно