===== PascalABC.NET =====
= 1 =
begin
var a, b: integer;
var x, z: real;
Write('Введите a, b, x, z: ');
Read(a, b, x, z);
var k := 1.0;
for var d := 1 to b do
begin
var c := 0.0;
for var s := 1 to a do
c += (d * d + x) / (s ** (3 / 2) + z);
k *= c
end;
Println('К =', k)
end.
= 2 =
begin
var b, n: integer;
var x, z: real;
Write('Введите b, n, x, z: ');
Read(b, n, x, z);
var g := 0.0;
for var c := 1 to b do
begin
var p := 1.0;
for var a := 1 to n do
p *= (a * a * a + z) / (c * c + x);
g += p
end;
Println('G =', g)
end.
82014 - 2614 + 45 = 79445
79445(10) = 10011011001010101(2)
Кол-во единиц: 9.
Javascript:var м=[],ч;while(true){ч=prompt();if(ч==0)break;else м.push(prompt());}alert(Math.min.apply(null,м)+" "+Math.max.apply(null,м));
1 =3,4*x+y
2 =(x+y)*z
3 =0,8*x+0,9*y-x*y
4 =(x+z)*y+0,1*z
5 =(x-z)*z+y*x
6 =(15*x^2-(7/12)*y)/(18*y+x^2)
7 =(40*y^3+(4/9)*x)/(6*x^2-18*x*y)
8 =(30*(x^3-(5/6)*y))/(5*(x^3-6*y))