code "from math import log, e, cos def f2(n, a): r1 = 0 for c in range(1, n + 1): r1 += log(c ** 3, e) ** 5 r2 = 0 for i in range(1, a + 1): r2 += cos(i) - i ** 5 - 1 return r1 - r2 def main(n, a): return f2(n, a)" "def main(n, a): result = 0 def f1(x, y): return 4 * x ** 3 - y - 82 * x ** 2 def f2(x): return x ** 6 - (0.5 + 39 * x ** 3 + x ** 2) ** 3 - 19 * x ** 5 for c in range(1, a + 1): for j in range(1, n + 1): result += f1(c, j) for c in range(1, n + 1): result -= f2(c) return result" "import math def main(b, n, a, m, p): first_sum = 0 for j in range(1, b + 1): first = (61 * j - 91) ** 2 - 67 * math.log(57 + j ** 3 / 26 + j ** 2, 10) ** 4 first_sum += first second_sum = 0 for i in range(1, m + 1): for j in range(1, a + 1): for k in range(1, n + 1): second = 16 * (0.02 - p ** 2 / 4 - k) ** 6 + 86 + (i - j ** 2 - 65) ** 3 / 55 second_sum += second return first_sum - second_sum" "def main(n, a, b): sum1 = 0 for k in range(1, b + 1): sum2 = 0 for i in range(1, a + 1): t = 1 for j in range(1, n + 1): t *= 44 * i ** 5 + (3 * j * j + 1 + 33 * k) ** 6 + int(i ** 3) ** 3 sum2 += t sum1 += sum2 return sum1" "from math import log def main(n, m, z): sum = 0 for c in range(1, m + 1): for i in range(1, n + 1): sum += 5 * log(i) ** 6 + z ** 4 + 29 * c ** 2 for j in range(1, n + 1): sum += 20 * j ** 6 - 27 * (2 * j ** 3 - 89 - j) ** 2 return sum" "import math def main(m, n, a): result = 0 for i in range(1, a + 1): for j in range(1, n + 1): for k in range(1, m + 1): result += 2 * math.log(i) - (0.02 - k ** 2 - j) ** 7 / 27 - 24 * (21 * j) ** 4 return result" "import math def main(m, b, x): result = 0 for i in range(1, m + 1): result += 38 * math.tan(99 * i ** 3) ** 3 + 1 + 68 * (0.01 - i ** 2 - i ** 3) for c in range(1, b + 1): result -= (c ** (1 / 2)) ** 7 - 47 * (62 - 3 * x) return result" "import math def main(b, a, m): ans = 0 for j in range(1, m + 1): for k in range(1, a + 1): for i in range(1, b + 1): ans += k ** 5 + 8 * math.atan(4 * i ** 2 + 39 + j) ** 6 + 97 * j - 65 return ans" "import math def main(a, m, n, x): final = 0 for j in range(1, n + 1): for c in range(1, m + 1): for i in range(1, a + 1): final += 87 + 98 - 60 * j + 48 * (c / 14 + 77 * x ** 2 + i ** 3 / 63) ** 5 return final" "import math def main(n, a, m, y): ans = 0 for i in range(1, m + 1): mult = 1 for j in range(1, a + 1): temp = 0 for c in range(1, n + 1): temp = temp + (j - y ** 3) ** 2 / 4 temp = temp - math.sin(1 + 16 * c + 44 * i ** 3) ** 5 mult = mult * temp ans = ans + mult return ans" "import math def main(n, a, m): res1 = 0 res2 = 0 for i in range(1, a + 1): for c in range(1, n + 1): temp = (c ** 3 + i / 8) ** 7 temp2 = temp / 46 res1 += temp2 for c in range(1, m + 1): for k in range(1, a + 1): temp = 80 * math.atan(k) - c ** 5 res2 += temp return res1 + res2" "import math def main(m, a, b, p): result = 0 for k in range(1, b + 1): mult = 0 for j in range(1, a + 1): temp = 1 for i in range(1, m + 1): temp = temp * (66 * (k ** 2 - 69 - p) ** 6 + j ** 2 / 79 + i ** 5) mult = mult + temp result = result + mult return result" "import math def main(b, a, n): ans = 0 for j in range(1, n + 1): for i in range(1, a + 1): mult = 1 for k in range(1, b + 1): mult *= 23 * (24 * j ** 2 + 39 * k) ** 2 + 1 + 62 * (86 - 26 * i) ans += mult return ans" "import math def main(b, a, n): ans = 0 for j in range(1, n + 1): for i in range(1, a + 1): mult = 1 for k in range(1, b + 1): mult *= 23 * (24 * j ** 2 + 39 * k) ** 2 + 1 + 62 * (86 - 26 * i) ans += mult return ans" "import math def main(b, a, n): ans = 0 for j in range(1, n + 1): for i in range(1, a + 1): mult = 1 for k in range(1, b + 1): mult *= 23 * (24 * j ** 2 + 39 * k) ** 2 + 1 + 62 * (86 - 26 * i) ans += mult return ans" "def main(b, a, m): sum1 = 0 for k in range(1, m + 1): sum2 = 0 for j in range(1, a + 1): sum3 = 0 for c in range(1, b + 1): subsum1 = (j / 75 - c ** 3 - 5) ** 4 subsum2 = -29 * k ** 12 - (56 + 16 * c) ** 5 sum3 += subsum1 + subsum2 sum2 += sum3 sum1 += sum2 return sum1" "def main(b, a, n): r = 0.0 for j in range(1, n + 1): for c in range(1, a + 1): for i in range(1, b + 1): r += (j ** 3 - j / 69 - i ** 2) ** 6 - c ** 3 - 92 * j ** 2 return r" "def main(a, m, n, y): res = 0 for c in range(1, m + 1): for j in range(1, a + 1): for k in range(1, n + 1): res += k ** 7 - y ** 6 - 45 * (c ** 2 - j ** 3) return res" "from math import pow, sin, cos, log2 def f(m, n, p): result = 0.0 for j in range(1, n + 1): for c in range(1, m + 1): a = pow(sin(pow(c, 3) + pow(j, 2) + p), 6) b = pow(cos(p), 2) c = pow(log2(c), 5) / 61 result += a - b - c return result def main(m, n, p): return f(m, n, p)" "def main(m, x, a, b): from math import log2 (sum1, sum2) = (0, 0) for k in range(1, m + 1): sum1 += 4 * (1 + 55 * x) - abs(63 - k) ** 6 - x ** 5 for k in range(1, m + 1): for j in range(1, b + 1): for i in range(1, a + 1): sum2 += 91 * log2(i) ** 7 sum2 += 53 * (79 * j * j + 68 * k ** 3) ** 4 return sum1 + sum2" "def main(m, a): res = 0 for i in range(1, a + 1): for k in range(1, m + 1): res += 56 * (99 + i ** 3 + k) ** 4 - (k / 53 + k ** 3 / 31) ** 5 return res" "import math def main(n: int, x: float, m: int) -> float: arg1 = 0 arg2 = 0 for i in range(1, n + 1): i3 = i ** 3 x2 = x ** 2 arg1 += 94 * (97 + 44 * i3) ** 5 - (72 * x * x2 - x2 / 82 - 1) ** 2 for j in range(1, m + 1): arg2 += 82 * math.atan(82 * j ** 2 + i3) ** 2 return arg1 - arg2" "def main(a, m, b): result = 0 for i in range(1, b + 1): s = 0 for j in range(1, m + 1): p = 1 for c in range(1, a + 1): p *= c ** 14 + (j ** 2 - 11 * c ** 3 - 79 * i) ** 6 + j ** 3 / 28 s += p result += s return result" "import math def main(m, a, b): sum = 0 for c in range(1, b + 1): for k in range(1, a + 1): for i in range(1, m + 1): sum += 97 * i - math.log10(c) ** 7 / 53 - 8 * k ** 5 return sum" "import math as Math def main(n, b, m): result = 0 for j in range(1, m + 1): for c in range(1, b + 1): for k in range(1, n + 1): tempResult = c / 21 + 58 * k ** 2 + j ** 3 / 83 result += 63 * tempResult ** 2 + j ** 3 return result" "import math def main(n, b, m): res1 = 0 res2 = 0 for c in range(1, b + 1): for k in range(1, n + 1): res1 += 90 * (94 * k ** 3 + 1 + c) ** 2 for c in range(1, n + 1): for j in range(1, m + 1): res2 += math.log(97 * j ** 2) ** 7 - (c + 82 * j ** 2) ** 2 / 55 - 65 return res1 + res2" "import math def main(a: int, n: int, m: int, p: float) -> float: ans = 0 for j in range(1, m + 1): for k in range(1, n + 1): for c in range(1, a + 1): ans += math.pow(math.pow(p, 2) / 99 + c + 80, 6) - math.pow(j, 5) - k return ans" "from math import sin def main(n, a, m): f = 0 for k in range(1, m + 1): f1 = 1 for c in range(1, a + 1): f2 = 0 for j in range(1, n + 1): f2 += sin(1 + c ** 3 / 25 + k ** 2 / 20) ** 3 - 1 - (1 - k - j ** 2) ** 7 f1 *= f2 f += f1 return f" "import math def main(b, m, n, z): f = 0 for c in range(1, n + 1): f1 = 1 for i in range(1, m + 1): f2 = 0 for j in range(1, b + 1): f2 += (j - 79 * z ** 3 - 74) ** 5 + 57 * c ** 2 + i f1 *= f2 f += f1 return f" "def main(a, n, m): s = 0 for k in range(1, m + 1): for j in range(1, n + 1): for c in range(1, a + 1): s = s + k ** 3 + c / 16 - 97 * k ** 7 - j ** 5 return s" "import math def main1(m, x, n, p): s = 0 for c in range(1, m + 1): s = s + math.log2(c) ** 6 + math.log10(c ** 3 + 7 * x) ** 2 + 45 * math.log(x) ** 7 return s def main2(m, x, n, p): s = 0 for j in range(1, n + 1): s = s + 47 * j ** 5 - (1 - p ** 2) ** 2 / 24 return s def main(m, x, n, p): return main1(m, x, n, p) - main2(m, x, n, p)" "def main(m, n, a, p): number = 0 number1 = 1 for c in range(1, a + 1): for j in range(1, n + 1): for k in range(1, m + 1): number += 48 * j ** 2 - 86 * (95 * c ** 2 - 95 * k ** 3 - p) ** 6 number1 *= number number = 0 return number1" "def main(a, y, n): result = 0 for j in range(1, a + 1): result += j ** 7 / 73 + (69 * y ** 2 - 61 * y ** 3) ** 2 for k in range(1, n + 1): for c in range(1, a + 1): result += (23 * c - 1 - k ** 2) ** 4 / 86 - (k - 93 * k ** 2) ** 6 return result" "from math import * def main(n, b, a): f = 0 for i in range(1, a + 1): for k in range(1, b + 1): for j in range(1, n + 1): f += log(j) ** 5 - 75 * i ** 4 - 66 * k ** 7 return f" "from math import tan, sin def main(b, x, m): sum1 = 0 sum2 = 0 sum3 = 0 for c in range(1, b + 1): sum1 = sum1 + (15 * c ** 3 + x ** 2 + c / 97) ** 5 + 63 * tan(c) for i in range(1, m + 1): for k in range(1, b + 1): z = sin(78 * k - 49) ** 7 / 37 sum3 = sum3 + i ** 6 - 12 * (57 * i ** 2 + i) ** 5 - z sum2 = sum2 + sum3 sum3 = 0 return sum1 + sum2" "def main(a, x, b): res1 = 0 res2 = 0 for j in range(1, a + 1): res1 += 60 * j ** 6 + x ** 2 / 5 for j in range(1, b + 1): for c in range(1, a + 1): res2 += c ** 2 + 87 * (44 * j ** 2 + 1) ** 7 + 28 * c ** 4 return res1 - res2" "from math import ceil def main(n, m, b, a): res1 = 0 res2 = 0 for c in range(1, m + 1): for i in range(1, n + 1): res1 += c ** 3 - (c + 39 * i ** 3) - 84 * c ** 5 for j in range(1, m + 1): for i in range(1, a + 1): for c in range(1, b + 1): res2 += 11 * (60 * i ** 3 + j ** 2) ** 3 - ceil(c) ** 7 / 92 return res1 - res2" "from math import * def main(n, m, b): p = 0 f = 0 for j in range(1, m + 1): for c in range(1, n + 1): p += 42 * c ** 5 + 4 * j ** 7 + abs(c) ** 6 for j in range(1, m + 1): for k in range(1, b + 1): f += log10(63 * j ** 3 + 0.02 + 55 * k ** 2) ** 5 return p - f" "import math def main(m, a): f1 = 0 for c in range(1, m + 1): f1 += (30 + 97 * c ** 3) ** 7 f2 = 0 f3 = 0 for k in range(1, a + 1): for j in range(1, m + 1): f3 += 69 * k ** 4 + math.fabs(j) ** 5 f2 += f3 f = f1 - f2 return f" "from math import sin, cos, log10, sqrt, floor, ceil def main(a, b, n, p): summ = 0 for i in range(1, n + 1): for c in range(1, b + 1): for j in range(1, a + 1): res1 = (40 * i ** 3 - c ** 2) ** 6 res2 = cos(0.11 + j) ** 7 - (50 * p) ** 5 / 64 summ = summ + res1 - res2 j += 1 c += 1 i += 1 return summ" "from math import cos, exp from itertools import product def main(n, m, b, x): f = 0 for (i, k) in product(range(1, b + 1), range(1, m + 1)): f += sum([(c + 1 + 99 * k ** 2) ** 7 - 75 * cos(i) ** 4 - 95 * exp(x) ** 5 for c in range(1, n + 1)]) return f" "from math import tan def main(a, y): res1 = 0 res2 = 0 for i in range(1, a + 1): res1 += 19 * tan(40 * y) ** 3 - i ** 2 - i ** 6 for j in range(1, a + 1): res2 += j ** 6 - 63 * (j ** 2 + 75 * j) ** 7 - 54 return res1 - res2" "from math import atan def main(m, b, n, a, p): re1 = 1 sum1 = 0 sum21 = 0 sum22 = 0 sum2 = 0 for i in range(1, b + 1): for c in range(1, m + 1): re1 *= round(i) ** 2 + 25 * c ** 3 sum1 += re1 re1 = 1 for c in range(1, a + 1): for k in range(1, b + 1): for i in range(1, n + 1): sum21 += 74 * atan(c) ** 4 - 61 * i ** 6 - (1 + 81 * k ** 3 + 87 * p) ** 2 sum22 += sum21 sum21 = 0 sum2 += sum22 sum22 = 0 return sum1 + sum2" "import math def main(m, a, y): f = 0 for i in range(1, a + 1): for c in range(1, m + 1): f += math.floor(y ** 4) + (1 - 42 * c ** 2 - c ** 3) ** 6 + 43 * (94 * i ** 2) ** 3 return f" "import math def main(b, y): sum = 0 for k in range(1, b + 1): res1 = 85 * (40 * y ** 3 + 64 * k ** 2 + 87 * y) ** 6 res2 = math.sqrt(0.01 - 85 * y) ** 5 sum += res1 - res2 return sum" "from math import log def main(a, y): res = 0 for i in range(1, a + 1): res += i + 89 * log(i) ** 6 res2 = 1 for i in range(1, a + 1): res2 *= i ** 3 - y return res + res2" "import math def f(b, n, y): s = 0 for j in range(1, n + 1): for i in range(1, b + 1): s1 = y ** 4 + math.atan(j) ** 5 s2 = (63 * i ** 2 + 1 + 19 * j) ** 3 s += s1 + s2 return s def main(b, n, y): return f(b, n, y)" "def main(b, m, a): summ3 = 0 for k in range(1, a + 1): summ2 = 1 for c in range(1, m + 1): summ1 = 0 for j in range(1, b + 1): summ1 += 21 * (73 * k + 1 + 45 * c ** 3) ** 6 + j ** 5 summ2 *= summ1 summ3 += summ2 return summ3" "import math def main(m, b, n): S = 0 S1 = 0 for i in range(1, n + 1): for k in range(1, b + 1): S += pow(i, 3) + pow(67 * k * k, 2) + pow(k, 5) for j in range(1, m + 1): S1 += 7 * pow(j, 15) S += S1 return S" "import math def main(n, z, b, m): x = 0 y = 0 for i in range(1, n + 1): x += math.cos(i) + 16 * math.sin(16 * z ** 3) ** 2 + z ** 6 for c in range(1, m + 1): for k in range(1, b + 1): y += k ** 6 + (52 * c + c ** 3 / 21) ** 3 return x - y" "def main(m, b, a): res = 1 for k in range(1, a + 1): res_sum2 = 0 for j in range(1, b + 1): res_sum1 = 0 for i in range(1, m + 1): res_sum1 += 85 * (k / 85 + 1) ** 6 + j ** 4 + i ** 5 res_sum2 += res_sum1 res *= res_sum2 return res" "import math def main(n, z): a1 = 0 a2 = 0 for j in range(1, n + 1): a1 += j ** 9 / 4 + math.log(j, 10) ** 6 + z ** 5 for i in range(1, n + 1): a2 += math.sin(73 - 77 * i ** 2 - 14 * z) ** 4 / 15 + 57 * (72 * i ** 2) ** 3 return a1 + a2" "def main(a, m, b): ans = 0 for c in range(1, b + 1): for j in range(1, m + 1): tmp = 1 for k in range(1, a + 1): tmp *= 1 + (c - 38 * k ** 2 - j ** 3) ** 4 + j ** 7 ans += tmp return ans" "from math import sqrt, tan def main(m, a, n, z): res = 0 for i in range(1, n + 1): for c in range(1, a + 1): for k in range(1, m + 1): res += sqrt(16 * c ** 2 + z + i ** 3 / 36) - tan(k) ** 2 return res" "def main(m, b, y, a): res1 = 0 for i in range(1, b + 1): for k in range(1, m + 1): res1 += 1 - 94 * (1 + 95 * y + i ** 3) ** 2 - float(k ** 2) res2 = 0 for c in range(1, a + 1): for j in range(1, b + 1): res2 += float(c ** 3 / 64 - 15 * j) ** 6 / 15 - 14 * j - (40 * j ** 3) ** 5 res_total = res1 - res2 return res_total" "from math import atan, sin, log10, log2, floor def cal(a, m): res = 0 for c in range(1, m + 1): for j in range(1, a + 1): res = res + 1 - 97 * sin(29 * j - 83 - 89 * c * c) - (c // 1) ** 3 return res def main(a, m): return cal(a, m)" "def main(m, a, y, n, b): pr_i = 1 for i in range(1, a + 1): sum_j = 0 for j in range(1, m + 1): sum_j += 79 * i ** 5 + (j ** 3 / 73) ** 6 + (1 - y) ** 3 pr_i *= sum_j sum_i = 0 for i in range(1, a + 1): sum_j = 0 for j in range(1, b + 1): sum_c = 0 for c in range(1, n + 1): sum_c += (j ** 3 + 2 * c ** 2 + 78 * i) ** 4 + 1 sum_j += sum_c sum_i += sum_j return pr_i + sum_i" "from math import sin def main(n, p, a, b): rez_1 = 0 rez_2 = 0 for c in range(1, n + 1): rez_1 = 70 * p + abs(c ** 2 + p) ** 2 + rez_1 for k in range(1, b + 1): for i in range(1, a + 1): rez_2_1 = 35 * (k ** 2 - 1 - k ** 3) ** 7 rez_2_2 = sin(91 * k ** 3) + (i ** 2 + 77) ** 2 rez_2 = rez_2_1 + rez_2_2 + rez_2 return rez_1 - rez_2" "def main(a: int, m: int, x: float, b: int) -> float: sum1 = 0 for k in range(1, m + 1): for i in range(1, a + 1): sum1 += 20 * (k ** 2 - 27 * x - 60) ** 5 - i ** 2 / 48 sum2 = 0 for i in range(1, b + 1): sum2 = i ** 4 return sum1 - sum2" "from math import log2 def main(a, m): for j in range(1, m + 1): for k in range(1, a + 1): res1 = 63 * j ** 9 - log2(k) ** 6 res2 = 84 * (20 * k ** 2 + k ** 3 + 1) ** 5 if k == 1: f = res1 - res2 else: f = f * (res1 - res2) if j == 1: r = f else: r = r + f return r" "from math import log def main(n, z, b): res1 = 0 res2 = 0 for i in range(1, n + 1): res1 = res1 + (log(z) ** 4 / 71 - (60 - i - i ** 2) ** 6 / 11 - i ** 2) for c in range(1, b + 1): res2 = res2 + c ** 6 return res1 - res2" "from math import log def main(n, z, b): res1 = 0 res2 = 0 for i in range(1, n + 1): res1 = res1 + (log(z) ** 4 / 71 - (60 - i - i ** 2) ** 6 / 11 - i ** 2) for c in range(1, b + 1): res2 = res2 + c ** 6 return res1 - res2" "from math import log10, log2, sqrt, exp, tan def main(b, a, m): res = 0 for c in range(1, m + 1): for k in range(1, a + 1): for j in range(1, b + 1): res = res + ((c + 92 * j ** 2) ** 6 + 1 + (66 + 40 * k ** 2 + j ** 3) ** 2) return res" "def main(b, a, x): mul = 1 for j in range(1, a + 1): for c in range(1, b + 1): res1 = 79 * (c ** 2 - x ** 3) res2 = 30 * abs(34 * j + c ** 3 + x ** 2) ** 5 res = res1 - res2 mul = mul * res return mul" "from math import sin def main(m, y, a): res1 = res2 = 0 for k in range(1, m + 1): res1 += 70 * (k - 87 * y ** 3 - 49 * k ** 2) ** 2 - 49 * sin(k) ** 6 for c in range(1, a + 1): res2 += c ** 9 / 93 return res1 + res2" "from math import sin def main(b, m, n): res = 0 for j in range(1, n + 1): for k in range(1, m + 1): for c in range(1, b + 1): res += 88 * j + 94 * k ** 6 + (j ** 3 + 45 * c) ** 2 return res" "import math def main(x, m): S = 0 for i in range(1, x + 1): S += 10 * i for i in range(1, m + 1): S -= abs(i) ** 2 - i ** 5 - 0.01 return S" "def main(b, m, y, a, n, z): res = 0 for k in range(1, m + 1): for j in range(1, b + 1): res += 57 * (y ** 2 + 1 + 25 * j ** 3) ** 5 - 49 * k ** 2 for i in range(1, b + 1): for j in range(1, n + 1): for k in range(1, a + 1): res -= (z ** 2 - k - i ** 3) ** 4 / 86 - 43 * j ** 5 return res" "import math def main(b, m, a): x = 0 y1 = 0 y2 = 1 for j in range(1, b + 1): x += 31 * math.atan(j) + (1 + 13 * j ** 2 + 17 * j ** 3) ** 3 for i in range(1, a + 1): for c in range(1, m + 1): for j in range(1, b + 1): y1 += 99 * c + 48 * math.tan(c) ** 4 + 83 * (i ** 3 + 14 + 89 * j ** 2) ** 7 y2 *= y1 y1 = 0 return x + y2" "def main(b, n): sum = 0 for c in range(1, n + 1): for j in range(1, b + 1): sum += (1 - 14 * c ** 3 - 32 * j) ** 4 / 10 - 76 * c ** 5 - 1 return sum" "from math import ceil, floor def main(n, a, m): res = 0 for c in range(1, m + 1): res2 = 1 for i in range(1, a + 1): res1 = 0 for k in range(1, n + 1): res1 += 14 * ceil(i ** 3 + 41 * c + i ** 2) ** 4 + floor(k) ** 3 res2 *= res1 res += res2 return res" "from math import log, sin def main(b, n, p, m, a): (res1, res2) = (0, 0) for j in range(1, n + 1): res11 = 0 for c in range(1, b + 1): res11 += log(j) ** 4 + c / 48 + 20 + 75 * p ** 4 res1 += res11 for k in range(1, a + 1): f = 1 for i in range(1, m + 1): res22 = 0 for c in range(1, b + 1): res22 += 2 * sin(c) ** 6 - 69 * i ** 7 - (80 * k ** 3) ** 5 f *= res22 res2 += f return res1 - res2" "def main(n, z, m): res = 0 for c in range(1, n + 1): res1 = 79 * (c ** 3 - 44 * z ** 2 - z / 16) res = res + res1 for i in range(1, m + 1): res1 = (57 * i ** 3) ** 4 res = res + res1 return res" "def main(a, b, m, p): rez = 0 for j in range(1, m + 1): for k in range(1, b + 1): for i in range(1, a + 1): rez = rez + (i + 93 * p ** 3 + 81 * j ** 2) ** 5 +94 * (k ** 3 + 1) ** 2 + 0.08 return rez" "from math import sqrt, exp, floor, atan, cos, log def main(m, n, x): j = 1 i = 1 result = 0 while j <= n: while i <= m: temp = pow(atan(x / 31 - 78 * j ** 2), 2) result += 40 * i ** 2 + 63 * j ** 3 - 11 * temp i += 1 j += 1 i = 1 return result" "import math def main(m, b, n, x): s = 0 for i in range(1, b + 1): for j in range(1, m + 1): s += 54 * j ** 4 - 34 * abs(1 - i ** 2 - j) ** 6 for i in range(1, n + 1): for j in range(1, m + 1): for k in range(1, b + 1): s += 64 - math.log(60 + 6 * x) ** 5 - 74 * (77 * j - i ** 3 - k ** 2) ** 4 return s" "def main(a, m, n): res = 0 for k in range(1, n + 1): s = 0 for c in range(1, m + 1): f = 0 for i in range(1, a + 1): f += pow(i, 18) + 1 - 36 * k - pow(c, 3) + 83 * pow(i, 4) s += f res += s return res" "from math import * def main(m, b): sum_1 = 0 sum_2 = 0 for k in range(1, b + 1): for j in range(1, m + 1): a = pow(log(k), 6) b = pow(floor(pow(j, 2) / 2 + 41 * pow(k, 3) + 0.09), 2) sum_1 += 39 - a - b return sum_1" "def main(n, m, b, a): f = 0 for c in range(1, b + 1): for i in range(1, m + 1): for j in range(1, n + 1): f += c ** 21 + j ** 2 + i ** 5 f1 = 0 f2 = 1 for k in range(1, m + 1): for s in range(1, a + 1): f1 += 15 * k ** 2 + 48 * k + s ** 3 / 12 f2 *= f1 f1 = 0 return f - f2" "import math def main(b, y, m, a, p): sum1 = 0 for j in range(1, b + 1): sum1 += (97 * y) ** 2 - (63 * y - 1) ** 3 - math.log(j, 2) ** 5 sum2 = 0 for j in range(1, a + 1): for k in range(1, m + 1): sum2 += j ** 5 / 55 + 76 * k ** 3 + 77 * p ** 7 return sum1 - sum2" "from math import * def main(a, n, b, y): s = 0 for j in range(1, b + 1): for i in range(1, n + 1): for k in range(1, a + 1): s += i / 41 - k ** 3 - 23 * (y ** 2 + 1 + 79 * j ** 3) ** 5 return s" "import math def main(b, a): result = 0 for j in range(1, b + 1): left = math.atan(j ** 3 - j ** 2) ** 4 / 51.0 right = 21.0 * math.atan(j) ** 7 result += left + right for i in range(1, a + 1): result += 1 + i ** 6 + i ** 3 return result" "from math import log2, floor def main(b, y, m, n): arg1 = 0 for i in range(1, b + 1): arg1 = arg1 + 7 * (15 * i ** 3 - i ** 2 - 17 * y) arg2 = 0 for i in range(1, m + 1): for k in range(1, b + 1): for c in range(1, n + 1): arg2 = arg2 + (c ** 2 - 61 * i - 59 * k ** 3) ** 2 return arg1 - arg2" "def main(n, m, b): ans = 0 for k in range(1, b + 1): for i in range(1, m + 1): for j in range(1, n + 1): ans += 24 * i ** 5 + 26 * (67 * j ** 3 + 31 + 59 * k) ** 6 + k ** 4 return ans" "def main(b, a, z): result = 0 for j in range(1, a + 1): for k in range(1, b + 1): result += 1 - 20 * j ** 3 - (k ** 2 + k ** 3 + 75 * z) ** 6 return result" "def main(m, b, a, y): rez = 0 for k in range(1, a + 1): for i in range(1, b + 1): for j in range(1, m + 1): rez += 51 * y - (k ** 3 - j ** 2 - i) ** 4 return rez" "def main(m, b, x): result = 1 resultF = 0 for i in range(1, b + 1): for k in range(1, m + 1): result *= 1 - (79 * i ** 3 - 75 - x) ** 7 - (x - 78 * k ** 3) ** 6 resultF += result result = 1 return resultF" "import math def main(a, m, n): sum_1 = 0 for c in range(1, n + 1): sum_2 = 0 for i in range(1, m + 1): sum_3 = 0 for k in range(1, a + 1): sum_3 += 82 - 29 * pow(c, 4) - pow(math.log(1 + 21 * pow(i, 2) + k, math.e), 5) sum_2 += sum_3 sum_1 += sum_2 return sum_1" "def main(m, a, n, z): res = 0 for c in range(1, n + 1): for i in range(1, a + 1): for j in range(1, m + 1): res += 76 * (z - i ** 3 - j ** 2 / 77) ** 6 - 40 * c ** 2 return res" "import math def main(n, m, b): c = 1 j = 1 k = 1 s3 = 0 s2 = 0 s1 = 0 while c <= b: while k <= m: while j <= n: aa = 44 * (59 * j + math.pow(k, 3) + 1) bb = math.pow(c, 7) cc = 8 * math.pow(95 * math.pow(j, 3), 3) s3 = s3 + aa - bb - cc j = j + 1 s2 = s2 + s3 k = k + 1 s1 = s1 + s2 c = c + 1 return s1" "def main(a, m, b): ans = 0 for k in range(1, b + 1): for j in range(1, m + 1): for c in range(1, a + 1): ans += (12 * c - j ** 3 - 99) ** 7 - 39 - 70 * (98 * k + c ** 2) ** 5 return float('{:.2e}'.format(ans))" "import math def main(b, n, m, a, p): res1 = 0 for j in range(1, b + 1): res1 += math.sin(j) ** 5 res2 = 0 for c in range(1, a + 1): for i in range(1, m + 1): for j in range(1, n + 1): r = math.log(1 + i ** 2 + p ** 3, 10) ** 3 res2 += 66 * j ** 4 + 44 * r + 72 * abs(c) ** 7 res = res1 + res2 return res" "def main(m, z, b, n): summafir = 0 summasec = 0 for j in range(1, m + 1): summafir += (1 - 34 * z ** 2 - 16 * j ** 3) ** 7 + 72 * j ** 3 for k in range(1, n + 1): for c in range(1, b + 1): summasec += k ** 4 - 8 * (1 - c ** 3) ** 7 - 18 * k ** 6 summa = summafir + summasec return summa" "import math def main(n, b, x): a1 = 0 for c in range(1, n + 1): a1 += 66 * (79 * c ** 2) ** 4 + math.sin(98 * c) ** 3 / 43 a2 = 0 for k in range(1, b + 1): prod = 1 for i in range(1, n + 1): prod *= k - (15 * i ** 3) ** 6 - 3 * x ** 5 a2 += prod return float('{:.2e}'.format(a1 - a2))" "import math def main(a, n, b): summ = 0 for c in range(1, a + 1): summ = c ** 7 - 43 * c ** 3 summ1 = 1 for i in range(1, b + 1): summ2 = 0 for k in range(1, a + 1): summ3 = 0 for j in range(1, n + 1): summ3 += 83 * (0.02 + j) ** 3 - i ** 7 / 73 - 75 * math.ceil(k - 1) ** 6 summ2 += summ3 summ1 *= summ2 return summ + summ1" "def main(m, a, b, x): result = 0 for j in range(1, b + 1): for i in range(1, a + 1): for c in range(1, m + 1): first_term = (13 * c ** 3) ** 4 / 28 second_term = (46 * x + 27 * i ** 2) ** 7 third_term = 21 * j result += first_term - second_term - third_term return result" "import math def main(m, a, n, y): answer = 0 for c in range(1, n + 1): for j in range(1, a + 1): for i in range(1, m + 1): answer += 15 * (28 * j + 86 * i ** 3) ** 2 - (math.log(c) ** 3 - y ** 18) return answer" "import math def main(m, b, a, p): a1 = 0 for j in range(1, b + 1): prod = 0 for k in range(1, m + 1): prod += 43 * (83 * j ** 2 - 37 - 46 * j) ** 7 - math.fabs(k) a1 += prod a2 = 0 for j in range(1, a + 1): a2 += 13 * (20 + 83 * p) ** 7 + 20 * j ** 12 return float('{:.2e}'.format(a1 - a2))" "def main(b, n, m, z): sum = 0 for j in range(1, m + 1): for i in range(1, n + 1): for c in range(1, b + 1): x = (j ** 3 - 16 * i ** 2 - 87) / 2 - 67 * z ** 4 - abs(c) ** 7 sum += x return sum" "import math def main(b, n, m, z): a1 = 0 for i in range(1, m + 1): for j in range(1, n + 1): for k in range(1, b + 1): a1 += math.fabs(z) ** 7 + (i ** 3 - j - 43 * k ** 2) ** 4 / 79 + (93 * j) ** 6 return a1" "def main(n, a, b, p): res = 0 for k in range(1, b + 1): for c in range(1, a + 1): for i in range(1, n + 1): res += 46 * (73 + 56 * i ** 3 + p ** 2 / 98) ** 2 + c ** 5 + k return res" "def main(n, a, b, p): res = 0 for k in range(1, b + 1): for c in range(1, a + 1): for i in range(1, n + 1): res += 46 * (73 + 56 * i ** 3 + p ** 2 / 98) ** 2 + c ** 5 + k return res" "import math def main(m, a, b): a1 = 0 for k in range(1, m + 1): a1 += 46 * math.fabs(k) a2 = 0 for k in range(1, m + 1): for i in range(1, b + 1): for j in range(1, a + 1): a2 += 11 * math.fabs(62 * i ** 3) ** 2 - 1 - 8 * math.log(89 * j + k ** 3, 2) ** 5 return a1 + a2" "import math def main(m, n, a, z): f = 0 for j in range(1, a + 1): b = 0 for c in range(1, n + 1): d = 0 for i in range(1, m + 1): d += pow(0.02 + pow(c, 2) + 88 * i, 5) d -= 25 * pow(z, 3) - 47 * pow(math.tan(34 * pow(j, 2)), 6) b += d f += b return f" "import math def main(m, n, a, b): one = 0 for i in range(1, n + 1): for j in range(1, m + 1): one += 7 * (0.01 - j ** 3 / 89 - i ** 2) ** 5 two = 0 for j in range(1, b + 1): for i in range(1, m + 1): for k in range(1, a + 1): three = 13 * math.sqrt(56 * j - j ** 2) ** 5 four = (i ** 2 / 39 + 1 + k ** 3) ** 6 - 78 two += three - four return one + two" "import math def main(a, b, n): result = 1 for c in range(1, n + 1): result1 = 0 for j in range(1, b + 1): result2 = 0 for k in range(1, a + 1): term1 = math.tan(j) ** 3 term2 = (c - k ** 2 - 73) ** 7 term3 = (99 * c ** 2) ** 5 / 22 local = term1 - term2 - term3 result2 += local result1 += result2 result *= result1 return result" "import math def main(a, b, z): res1 = 0 res2 = 0 for i in range(1, b + 1): for k in range(1, a + 1): res1 += (72 * i - k ** 3 - 21) ** 3 + k ** 5 for c in range(1, a + 1): res2 += 18 * (35 - 3 * c ** 2 - 98 * z) ** 7 return res1 - res2" "import math def main(a, y, n, p): mul = 1 sum = 0 for k in range(1, a + 1): mul *= 66 * k ** 3 / 76 + y ** 5 / 68 for i in range(1, n + 1): for j in range(1, a + 1): sum += 11 * math.sin(i ** 3 + 91 + 61 * j ** 2) ** 5 + 12 * p ** 9 return mul + sum" "def main(n, b, m, p): ans = 0 for c in range(1, m + 1): for i in range(1, b + 1): for j in range(1, n + 1): ans += (40 * p ** 2) ** 4 - int(i ** 3 + j + 19 * c ** 2) ** 7 return float('{:.2e}'.format(ans))" "def main(n, b, m, p): ans = 0 for c in range(1, m + 1): for i in range(1, b + 1): for j in range(1, n + 1): ans += (40 * p ** 2) ** 4 - int(i ** 3 + j + 19 * c ** 2) ** 7 return float('{:.2e}'.format(ans))" "import math from math import * def main(n, m, a, z): res2 = 0 for i in range(1, a + 1): for k in range(1, m + 1): for j in range(1, n + 1): res1 = atan(i ** 2 - 29 * j ** 3 - 76) res2 = res2 + pow(44 * z, 5) - 74 * k ** 4 - pow(res1, 3) return res2 main(2, 3, 6, -0.14)" "import math def main(n, y, b, m): res1 = 0 for j in range(1, n + 1): res1 += 46 * pow(y, 6) - pow(y, 4) - pow(math.cos(30 * pow(j, 2)), 7) res2 = 1 for j in range(1, m + 1): k = 0 for c in range(1, b + 1): t = 0 for i in range(1, n + 1): t += 34 * pow(math.floor(c), 4) + pow(47 * pow(c, 2), 5) t += 10 * math.cos(pow(j, 3) + 36 * pow(i, 2)) k += t res2 *= k res = res1 - res2 return res" "def main(a, b): sum1 = 0 for i in range(1, a + 1): sum1 = sum1 + (abs(i) ** 3 / 6 + 1 + 68 * (27 * i ** 2 + i + 10) ** 4) sum2 = 0 for i in range(1, b + 1): sum2 = sum2 + (76 * (5 - i - i ** 3 / 43) ** 4 + i ** 5 + 77 * i ** 3) sum = sum1 + sum2 return sum" "def main(a, m, b, z): res = 0 for c in range(1, b + 1): for i in range(1, m + 1): for k in range(1, a + 1): temp = 48 * (85 * i - 38 * z ** 3) ** 2 + 98 * (k ** 2 / 15 - 73) ** 5 + c ** 4 res += temp return res" "def main(a, b, n, z): c = 0 for j in range(1, n + 1): for k in range(1, b + 1): for i in range(1, a + 1): c += (1 + k ** 3 + i) ** 5 - 68 * (j * j + 59 * z ** 3 + 1) return c main(3, 7, 4, -0.39) main(5, 4, 3, -0.86)" "import math def main(a, b, m): s1 = 0 s2 = 0 for j in range(1, b + 1): for k in range(1, a + 1): s1 += 28 * k ** 4 - 79 * j ** 7 for c in range(1, m + 1): for k in range(1, a + 1): s2 += c ** 5 - 7 * math.log(k) ** 4 - c ** 6 return s1 - s2" "import math def main(b, n, m): res = 1 temp_I = 0 temp_K = 1 for c in range(m): for i in range(n): for k in range(b): temp = 1 + math.pow(c + 1, 3) / 79 + math.pow(i + 1, 2) temp_K = temp_K * ((k + 1) / 86 - 89 * math.pow(temp, 2)) temp_I = temp_I + temp_K temp_K = 1 res = res * temp_I temp_I = 0 return float('{:.2e}'.format(res))" "def main(a, n, z): r = 0 for k in range(1, n + 1): for j in range(1, a + 1): r += pow(61 * z * z * z - j * j / 25 - j, 6) + pow(20 * k - 1, 5) return r" "from math import * def main(n, a, m, z): f = 0 for j in range(1, m + 1): for i in range(1, a + 1): for k in range(1, n + 1): f += log10(z) + abs(i + 40 * k ** 2 + j ** 3) ** 7 / 4 + z ** 2 return f" "import math def main(b, a, y, m): A = 0 for i in range(1, a + 1): for c in range(1, b + 1): A += (y - 1 - i ** 3) ** 5 - c ** 2 - y ** 2 B = 0 for c in range(1, m + 1): for k in range(1, b + 1): B += 95 * k ** 6 - math.sin(46 * k + 27 * c ** 2) ** 5 - 85 * (32 - k ** 3) ** 4 return A - B" "def main(b, n, a): return f(b, n, a) def f(b, n, a): return first_term(b, n) - second_term(b, a) def first_term(b, n): result = 0.0 for j in range(1, n + 1): tmp = 0.0 for c in range(1, b + 1): tmp += g(j, c) result += tmp return result def g(j, c): return (34 * j + 41) ** 4 - 93 * (c + 79 + c ** 3) ** 5 def second_term(b, a): result = 1.0 for k in range(1, a + 1): tmp = 0.0 for c in range(1, b + 1): tmp += foo(c, k) result *= tmp return result def foo(c, k): return 22 * (c - 8) ** 5 - 86 * k - k ** 4" "import math def main(a, n): result_1 = 0 result = 1 for c in range(1, n + 1): for j in range(1, a + 1): result_1 += 58 * math.pow(c ** 2 - 26 * c, 3) - j ** 5 / 98 - c ** 6 result *= result_1 result_1 = 0 return result" "import math def main(b, a, y): sum1 = 0 sum2 = 0 for c in range(1, b + 1): sum1 += 88 * (c ** 3 + 1) ** 5 - math.exp(4) * c for j in range(1, b + 1): for i in range(1, a + 1): sum2 += (y ** 2 / 52 - 3 - 29 * j ** 3) ** 5 / 84 - 17 * i ** 3 return sum1 + sum2" "def main(m, a, x): ans = 0 for i in range(1, a + 1): for c in range(1, m + 1): ans += 63 * x ** 2 + c + 73 * (i / 39 + 85 + 93 * i ** 2) ** 7 return ans main(4, 8, -0.95)" "from math import cos, exp, prod def main(m, a, b, y): return sum([sum([81 * cos(k) ** 4 + 27 * j ** 4 for j in range(1, m + 1)]) for k in range(1, a + 1)]) + prod([exp(y) ** 6 + 45 * k for k in range(1, b + 1)])" "def main(m, a, n, y): c = j = i = 1 result = 0 while c <= n: while j <= a: while i <= m: result += y ** 6 - 67 * (91 + 90 * i ** 2 + 27 * c ** 3) ** 7 - j ** 5 i += 1 j += 1 i = 1 c += 1 j = 1 i = 1 return result" "import math def main(n, b, m, a): result = 0 for i in range(1, n + 1): result += 41 * pow(pow(i, 2) + 48 * i + 1, 3) - pow(pow(i, 3) / 68, 2) result1 = 0 for i in range(1, a + 1): for j in range(1, m + 1): for c in range(1, b + 1): result1 += pow(i / 31, 7) - 96 * pow(abs(c), 6) - 75 * j return result + result1" "def main(m, a, n): sum = 0 for j in range(1, n + 1): for k in range(1, a + 1): for i in range(1, m + 1): sum += i ** 7 + (k ** 3 + 49 * j ** 2 + 83) / 90 + abs(j) ** 5 return sum" "def main(m, p, a, x): y1 = 0 y2 = 0 for i in range(m): y1 += p ** 4 / 97 + i + p ** 2 for i in range(a): y2 += (7 - x) ** 5 + i return y1 + y2" "import math def main(a, b, x): result = 0 for c in range(1, b + 1): for j in range(1, a + 1): result += (31 * x ** 2 - 85 * c) ** 6 + 0.04 + 56 * math.tan(x ** 2 - j ** 3) return result" "from math import * def main(b, x, a, m): res = 0 for i in range(1, b + 1): res += pow(log(i * i + 16 + x * x * x), 6) + 74 * pow(x // 1, 4) + i * i / 37 for i in range(1, b + 1): for j in range(1, m + 1): for c in range(1, a + 1): res += 31 * pow(tan(j - x * x), 2) - 30 * pow(tan(i), 7) - pow(c, 5) return res" "from math import * def main(b, p, m): var1 = 0 for i in range(1, b + 1): var1 += 86 * i ** 4 + 21 * pow(50 * p ** 3, 7) + 88 var2 = 0 for i in range(1, m + 1): var2 += 16 * p ** 7 + exp(i) return var1 + var2" "from math import log def main(m, p, b, a): f1 = 0 for k in range(1, m + 1): f1 = f1 + 6 * (p - 89 * k ** 3) + (98 * k ** 3 - 0.03 - p) ** 4 f2 = 0 for c in range(1, m + 1): for j in range(1, a + 1): for i in range(1, b + 1): f2 = f2 + (log(i) + (16 * c ** 3 + 76) ** 5 + 15 * j ** 3) return f1 - f2" "def main(n, x, b): res = 0 (first, srcond) = (0, 0) for i in range(1, n + 1): first += 83 * i ** 6 - 86 * (0.01 + 71 * x ** 2) ** 7 for i in range(1, b + 1): srcond += i ** 5 res = srcond + first return res" "import math def main(b, n, x): f = 0 for k in range(1, n + 1): for j in range(1, b + 1): f += 75 * j ** 5 - 3 * k - (x ** 3 + j ** 2 / 62) ** 4 return f" "import math def main(a, b, y): ans = 0 for k in range(1, b + 1): for c in range(1, a + 1): ans += 12 * pow(math.fabs(c), 2) - pow(math.log(k), 6) / 22 - pow(y, 3) / 13 return ans main(4, 6, 0.78)" "from math import * def main(b, a, m, p): f = 0 for k in range(1, m + 1): for c in range(1, a + 1): for j in range(1, b + 1): f += k ** 5 - 39 * (76 * k - p ** 3) - (77 * c ** 2 - j) ** 3 return f" "import math def main(m, b, z): res = 0 for k in range(1, b + 1): for i in range(1, m + 1): res = res + (14 * i - math.log(k - z ** 2) ** 6 - 22 * (k - 41 - 78 * i ** 2) ** 4) return res" "def main(m, b, n, x): result = 0 for j in range(1, n + 1): a = 0 for k in range(1, b + 1): r = 1 for i in range(1, m + 1): r *= 53 * (x ** 2 - 10 * k ** 3) ** 5 - i - j ** 6 a += r result += a return result" "import math def main(n, m, b, x): f = 0 for c in range(1, n + 1): for i in range(1, m + 1): for k in range(1, b + 1): f += math.sin(13 + 14 * x ** 3 + 20 * i) ** 7 - 48 * (66 * c ** 2 - k ** 3) ** 2 return f" "from math import log def sum_1(m, i, j, y): result = 0 for c in range(1, m + 1): result = result + pow(52 * pow(c, 2) - pow(j, 3), 4) / 82 result = result - pow(log(i, 2), 5) result = result - pow(3 * y, 2) return result def sum_2(m, n, j, y): result = 0 for i in range(1, n + 1): result += sum_1(m, i, j, y) return result def sum_3(m, n, a, y): result = 0 for j in range(1, a + 1): result += sum_2(m, n, j, y) return result def main(m, n, a, y): result = sum_3(m, n, a, y) return result" "import math def main(a, n, m): res = 0 for i in range(1, m + 1): for j in range(1, n + 1): for c in range(1, a + 1): f = 99 * math.pow(63 * j ** 3 + i ** 2 / 91, 5) + c ** 4 res += f return res" "from math import * def main(n, p, b, m, a): func1 = 0 func2 = 0 for k in range(1, n + 1): func1 += 74 * p ** 3 + 45 * k ** 2 - pow(exp(k ** 2 - p ** 3 - 3), 6) / 51 for k in range(1, a + 1): for i in range(1, m + 1): for c in range(1, b + 1): func2 += (c - k ** 2 - 50 * i ** 3) ** 3 - k ** 7 / 33 return func1 + func2" "from math import * def closed_range(start, stop, step=1): dir = 1 if step > 0 else -res1 return range(start, stop + dir, step) def f(b, a, n, p): res1 = 0 for k in closed_range(1, a): for i in closed_range(1, b): res1 = res1 + pow(k, 4) / 98 + pow(log(i, 10), 3) + 5 * sin(i) res2 = 0 for c in closed_range(1, n): res2 += pow(sin(c - 70 * pow(p, 3) - 1), 3) - 22 * pow(log(pow(p, 2) + 92), 5) return res1 - res2 def formatExp(fl): return '%.2e' % fl def main(a, b, c, d): return f(a, b, c, d)" "from math import * def main(m, x, b, p): summa1 = 0 summa2 = 1 summa3 = 0 for c in range(1, m + 1): summa1 += x ** 7 - ceil(74 * c ** 2) ** 3 - 90 for k in range(1, b + 1): summa3 = 0 for i in range(1, m + 1): summa3 += 24 * (k + i ** 2) ** 5 + 32 * ceil(p ** 3 - 1) ** 4 summa2 *= summa3 return summa1 + summa2" "import math def main(a, b): sum = 0 summForMult = 0 res = 1 for i in range(1, a + 1, 1): sum += math.sin(98 * i ** 3 + 1) ** 6 for k in range(1, b + 1, 1): summForMult = 0 for j in range(1, a + 1, 1): summForMult += 2 * k ** 6 + 15 * j ** 2 - j - 1 + 60 * (91 * k) ** 3 res *= summForMult res += sum return res" "import math def f(a, b, n, x): suma = 0 for k in range(1, a + 1): for c in range(1, b + 1): for i in range(1, n + 1): suma += math.log(i ** 2 + c ** 3 + 27) ** 3 - x ** 5 - math.sqrt(68 * k ** 3) return suma def main(a, b, n, x): return f(a, b, n, x)" "import math def main(a, m): sum = 0 for i in range(1, m + 1): for j in range(1, a + 1): sum = sum + (75 * math.sqrt(j) + (j ** 3 + i ** 2 + 17) ** 2 + 71 * i ** 5) return sum" "import math def main(n, b, m): f = 0.0 for c in range(1, m + 1): for i in range(1, b + 1): for j in range(1, n + 1): f = f + (j - i ** 3) ** 5 - math.fabs(c ** 3) ** 3 return f" "import math def main(m, n, b, y): func = 0 for j in range(1, b + 1): for i in range(1, n + 1): for k in range(1, m + 1): func += math.pow(math.sin(47 - 75 * math.pow(j, 3) - 60 * math.pow(k, 2)), 6) + 70 * y + math.pow(i, 2) + 1 return func main(2, 5, 8, 0.6)" "def main(b, x, n): sum1 = 0 sum2 = 0 for k in range(1, b + 1): sum1 = sum1 + (k ** 6 / 22 - 0.25 - (x ** 3 - k / 68) ** 3) for k in range(1, b + 1): pr = 1 for j in range(1, n + 1): pr = pr * (x ** 2 + k / 96 + j ** 3) ** 3 sum2 = sum2 + pr res = sum1 - sum2 return res" "import math def main(n, a, m, b): counter = 0 for c in range(1, n + 1): counter += 54 * c ** 5 for k in range(1, b + 1): for j in range(1, m + 1): for i in range(1, a + 1): counter += 59 * i ** 6 - k ** 5 - math.atan(j) return counter" "import math def main(a, n, b): rez = 1 for j in range(1, b + 1): sum = 0 for k in range(1, n + 1): for c in range(1, a + 1): sum += 26 * c ** 3 - 63 * math.tan(0.07 - 79 * j ** 3) ** 7 - (68 + 6 * k) ** 6 rez *= sum return rez" "import math def main(a, z): return sum((13 * i ** 7 - math.exp(i + z ** 2) ** 3 / 54 - 63 * i for i in range(1, a + 1))) + math.prod((97 - 46 * (j + z ** 2 + 60 * j ** 3) ** 4 for j in range(1, a + 1)))" "import math from decimal import Decimal def main(n, m): s = 0 for c in range(1, m + 1): for j in range(1, n + 1): s1 = math.ceil(22 + j ** 2 + j ** 3 / 4) ** 5 s2 = -1 s3 = -(math.log2(45 * c ** 3) / 43) s += s1 - s2 - s3 return s" "import math from decimal import Decimal def main(n, a, m, z): s1 = 0 for k in range(1, n + 1): ss1 = math.cos(44 * k ** 2) ** 7 / 94 ss2 = 89 * (k - 15 * k ** 2) ** 3 s1 += ss1 - ss2 m1 = 1 for k in range(1, m + 1): s2 = 0 for i in range(1, a + 1): m2 = 1 for j in range(1, n + 1): m2 *= i ** 5 + (k ** 3 + j) ** 3 + 3 * (z ** 2 - 1) ** 2 s2 += m2 m1 *= s2 return s1 + m1" "import math from decimal import Decimal def main(n, m, x): s1 = 0 for i in range(1, m + 1): s2 = 0 for j in range(1, n + 1): s2 += 86 * (3 * x ** 3 - 60 * i ** 2) ** 6 + j ** 4 s1 += s2 s3 = 0 for k in range(1, m + 1): s3 += (k - x ** 3) / 39 return s1 - s3" "import math def main(b, z, n, m): itog = 0 for k in range(1, b + 1): itog += z ** 2 + 1 + 15 * (z ** 2 + k ** 3 + 32 * k) ** 3 for c in range(1, m + 1): for j in range(1, b + 1): for i in range(1, n + 1): itog += (j ** 2 - c ** 3 / 95 - i) ** 5 + math.acos(z / 72) ** 4 + 4 return itog" "def main(b, m, z, a, p): res1 = 0 for k in range(1, m + 1): for j in range(1, b + 1): res1 = res1 + k ** 4 - (k ** 2 + z ** 3 + 1) ** 5 - j res2 = 0 for j in range(1, a + 1): res2 = res2 + 99 * j ** 5 + (79 * p - j ** 3) ** 4 + p ** 3 return res1 - res2" "def main(n, a, b): result = 0 for i in range(1, b + 1): current_out = 0 for k in range(1, a + 1): current_in = 0 for j in range(1, n + 1): current_in += 1 - i - 75 * (13 + 64 * j ** 3 + k ** 2) ** 5 current_out += current_in result += current_out return result" "import math import sys def main(b, m, y): t = 0 for i in range(1, b + 1): t += 63 * i ** 3 for i in range(1, m + 1): for j in range(1, b + 1): t += round(j) ** 6 - (14 * i - 1) - 19 * (j ** 3 + 44 * y ** 2 + y) ** 2 return t" "import math def main(b, p, n): a1 = 0 for j in range(1, b + 1): a1 += p ** 5 - 35 * math.sin(j ** 2) ** 2 - (p ** 2 - 57 * j ** 3) ** 4 a2 = 0 for c in range(1, b + 1): prod = 0 for k in range(1, n + 1): prod += 88 * c ** 7 - 28 * k ** 3 a2 += prod return a1 - a2" "import math def main(m, n, b): summa = 0 for k in range(1, b + 1): for c in range(1, n + 1): for j in range(1, m + 1): summa = summa + c ** 4 + 21 * math.log(k, 2) ** 3 + (j - 50) ** 7 return summa" "from math import log2 def main(b, n, z): res = 0 for j in range(1, n + 1): for k in range(1, b + 1): res += log2(56 - z ** 2 - 51 * z) ** 4 - (34 * j + k ** 2) ** 3 return res" "import math def main(a, b, n, m, x): res1 = 1 res4 = 0 for j in range(1, b + 1): res = 0 for c in range(1, a + 1): res += 28 * j ** 3 + 25 * c ** 6 res1 *= res for j in range(1, m + 1): res3 = 0 for c in range(1, n + 1): res2 = 0 for k in range(1, a + 1): res2 += math.sqrt(88 * x + k ** 3) ** 7 + j + c ** 12 res3 += res2 res4 += res3 return res1 + res4" "import math def main(b, x, m, n, a): c = 1 res = 0 while c < b + 1: res += pow(54 * pow(c, 2) + pow(c, 3) / 41 + 36 * x, 2) c += 1 for j in range(1, a + 1): for c in range(1, n + 1): for k in range(1, m + 1): res += pow(k, 7) + pow(j, 3) / 34 / 19 + pow(c, 6) k += 1 c += 1 j += 1 return res" "import math def main(m, x, n): sum = 0 for k in range(1, m + 1): sum += (1 - 69 * k ** 2) ** 4 + math.log(x, 2) ** 2 + math.tan(k) ** 7 for c in range(1, n + 1): for k in range(1, m + 1): sum += (54 * k ** 2 + 97 * c ** 3 + 95 * c) ** 2 return sum" "import math def main(b, a, n, p): sum = 0 for i in range(1, n + 1): for c in range(1, a + 1): for j in range(1, b + 1): a_1 = 7 * pow(pow(i, 2) - 56 * pow(j, 3) - 5 * p, 4) a_2 = 32 * pow(c, 5) sum += 48 - a_1 - a_2 return sum" "def main(m, a, b): summ = 0 for j in range(1, b + 1): for i in range(1, a + 1): for k in range(1, m + 1): summ += k - 59 * (i ** 3 - j * j - 93) ** 6 - 1 return summ" "import math def main(a, n, x): ans = 0 for j in range(1, n + 1): step = 0 for k in range(1, a + 1): step += 66 * math.atan(14 * j * j) ** 5 + math.floor(x * x - 80 * k ** 3) ** 4 ans += step return ans" "import math def main(b, m, a): sum = 0 for j in range(1, b + 1): sum += (j ** 2 - j) ** 5 / 64 - j ** 7 for i in range(1, a + 1): for j in range(1, m + 1): for k in range(1, b + 1): sum += 84 * i ** 14 - 26 * j ** 6 - 29 * math.exp(88 - k ** 3 - 19 * k ** 2) ** 5 return sum" "import math def main(n, m, b, p): res = 0 for j in range(1, b + 1): for k in range(1, m + 1): for i in range(1, n + 1): res += (71 * i ** 2 - 97 * j ** 3) / 90 - 93 * (15 * k - 0.17 - p ** 3) ** 7 return res" "def main(m, n, p): answer = 1 for i in range(1, n + 1): sum_ans = 0 for k in range(1, m + 1): sum_ans += (1 - p ** 2 - 75 * i ** 3) ** 4 - (1 - 11 * k - i ** 3) ** 3 answer *= sum_ans return answer" "import math def main(b, n, x): sum = 0 for c in range(1, n + 1): for k in range(1, b + 1): lol = (1 - 33 * x ** 2 - k ** 3) ** 6 sum += 3 * k ** 5 + 83 * math.ceil(c) ** 3 + lol return sum main(6, 6, -0.1) main(4, 7, -0.37)" "import math def main(b, n, m): result = 0 for i in range(1, m + 1): for k in range(1, n + 1): for j in range(1, b + 1): expression = 50 - j ** 3 - 92 * k ** 2 cosValue = math.cos(expression) ** 2 result += cosValue / 64 - i ** 7 return result" "from math import sin def sum_1(m, z, i): result = 0 for j in range(1, m + 1): result += 72 * (i - 1 - z ** 3) ** 6 + 74 * j ** 7 return result def sum_2(b, m, z): result = 0 for i in range(1, b + 1): result += sum_1(m, z, i) return result def sum_3(a): result = 0 for i in range(1, a + 1): result += pow(sin(i), 3) return result def main(m, b, z, a): result = 0 result += sum_2(b, m, z) result -= sum_3(a) return result" "def f(n, b, a): first = 0 second = 0 for k in range(1, n + 1): first += 94 * k ** 4 for i in range(1, a + 1): for k in range(1, n + 1): for j in range(1, b + 1): c = k ** 3 - 50 * k - 52 d = 55 * i ** 3 + j + 39 * j ** 2 second += 42 * c - d ** 3 return first - second def main(n, b, a): return f(n, b, a)" "def main(b, n, a, x): y = 0 for c in range(1, a + 1): for k in range(1, n + 1): for i in range(1, b + 1): r1 = 10 * x ** 3 y += (c + k ** 3) ** 6 - 0.02 - (r1 + k + 23 * i ** 2) ** 2 return y" "def f(m, a, b): result = 0 for i in range(1, b + 1): for j in range(1, a + 1): for k in range(1, m + 1): result += 96 * (j - i ** 3) ** 5 + 1 + k ** 2 return result def main(m, a, b): return f(m, a, b)" "import math def main(n, b, m): sum = 0 for i in range(1, m + 1): for j in range(1, b + 1): for k in range(1, n + 1): lol = math.atan(i ** 3 / 49 - 46 * j ** 2 - 2 * i) ** 3 sum += lol - k return sum main(3, 2, 7) main(8, 4, 5)" "def main(a, m, n): ans = 0 for i in range(n): for j in range(m): for k in range(a): ans += ((j + 1) ** 3 + k + 1 + 66 * (i + 1) ** 2) ** 4 return ans" "def main(a, n, b, x): f = 0 for i in range(1, b + 1): for k in range(1, n + 1): for j in range(1, a + 1): f += 62 * (x ** 2 + 89 * j + i ** 3) ** 6 - k ** 3 - (30 * i ** 3) ** 5 return f" "import math def main(n, m, b, x): f = 0 for k in range(1, b + 1): for c in range(1, m + 1): for i in range(1, n + 1): f += math.log(c) ** 6 / 71 - (k + 1 + i ** 2) ** 7 - 39 * x ** 3 return f" "from math import ceil from math import acos def main(m, b, a, y): result = 0 product_term = 1 for j in range(1, m + 1): product_term *= 56 * (j ** 3 / 10) ** 3 sum = 0 for k in range(1, m + 1): for j in range(1, a + 1): for i in range(1, b + 1): first_term = 44 second_term = ceil(36 * j ** 3 - 2 * i - 84 * k ** 2) ** 3 / 44 third_term = acos(y) ** 7 sum += first_term + second_term + third_term result = product_term - sum return result" "import math def main(b, a, y, n, p): f = 0 for k in range(1, a + 1): for i in range(1, b + 1): f += (k ** 2 + 12 * y) ** 5 + i ** 2 for j in range(1, n + 1): for c in range(1, b + 1): f -= math.exp(j) ** 3 + 37 * p ** 6 + abs(c) ** 7 return f" "import math def main(m, b, p): ans = 0 for c in range(1, b + 1): for j in range(1, m + 1): part = (j ** 3 / 57 - c) ** 6 / 28 ans += part + j ** 4 + abs(p) ** 2 return ans" "import math def main(n, a, x): res = 0 for c in range(1, a + 1): for j in range(1, n + 1): res += 50 * math.floor(15 * x ** 2 - c - 1) ** 5 - 18 * (x + 1) ** 6 - j ** 4 return res" "def main(a, m, n): f = 0 for j in range(1, a + 1): for i in range(1, n + 1): for c in range(1, m + 1): f -= (89 * i ** 3 - 53 * j ** 2) ** 2 - 91 * (i ** 3 + c ** 2 + 17 * j) ** 6 for c in range(1, a + 1): f += c ** 7 return f" "import math as math def main(b, a, n): (res1, res2) = (0, 0) for k in range(1, b + 1): res1 += pow(math.exp(k), 7) + 36 * k for k in range(1, n + 1): for i in range(1, a + 1): res2 += pow(6 - 79 * pow(i, 3) - 84 * pow(i, 2), 5) + 84 * k return res1 + res2" "import math as math def main(n, y, a): (res1, res2) = (0, 0) for j in range(1, n + 1): res1 += pow(y, 6) + 76 * pow(j, 7) + 71 * pow(87 * y, 2) for c in range(1, a + 1): for k in range(1, n + 1): m = pow(pow(y, 3) - 77 * pow(c, 2), 3) res2 += 67 * pow(c, 4) + 86 * m + 94 * pow(k, 6) return res1 - res2" "import math def main(b, n): res = 0 for j in range(1, n + 1): for c in range(1, b + 1): res += pow(j, 4) + 69 * pow(pow(c, 2) / 65 - pow(j, 3) / 95 - 95 * c, 7) return res" "from math import * def main(m, a, x): fun = 0 for j in range(1, a + 1): for c in range(1, m + 1): fun += 15 * pow(pow(j, 2) / 47 - c, 7) - 67 * pow(25 * pow(x, 2), 2) return fun" "def main(m, p, b, a, x): sum1 = 0 sum2 = 0 for c in range(1, m + 1): sum1 += (c - p ** 2) ** 7 / 83 for k in range(1, a + 1): for c in range(1, b + 1): for j in range(1, m + 1): sum2 += k ** 3 + 62 * j - 80 * (c ** 2 / 63 - 31 * x ** 3 - 54 * c) ** 7 return sum1 - sum2" "import math def main(a, b, m): res = 0 for k in range(1, m + 1): for j in range(1, b + 1): for i in range(1, a + 1): res += (k ** 2 / 4 + 58 * j ** 3 + i) ** 7 return res" "import math def main(m, a, n): value = 0.0 for j in range(1, n + 1): for k in range(1, a + 1): for c in range(1, m + 1): value += pow(c, 2) - pow(math.exp(c), 4) - pow(math.log2(pow(j, 3) + 8 * pow(k, 2)), 7) return value" "import math def main(m, n, b, y): result = 0 for c in range(1, b + 1): for j in range(1, n + 1): for k in range(1, m + 1): result += math.sqrt(j) + (c / 31 - y ** 2 / 3 - k ** 3) ** 4 / 65 return result main(3, 4, 2, 0.21) main(5, 6, 6, 0.62)" "import math def main(m, a, n): r = 0 g = 0 p = 0 for j in range(1, m + 1): r += (j + 21 * j ** 3) ** 7 - (45 * j ** 3 - 25 * j) ** 4 / 23 for k in range(1, m + 1): for j in range(1, n + 1): g = 1 for c in range(1, a + 1): g *= j ** 5 / 83 - 81 * math.fabs(c) ** 2 - 73 * (k / 74) ** 3 p += g rez = r - p return rez" "from math import cos def main(a, n, b): sum = 0 for c in range(1, b + 1): for k in range(1, n + 1): for i in range(1, a + 1): sum += cos(i) ** 5 + 34 * k ** 2 + 10 * (1 - 13 * c ** 3) ** 4 return sum" "import math def main(a, y): f1 = 0 f2 = 0 for i in range(1, a + 1): f1 += (92 - y - 15 * i ** 3) ** 3 + y ** 2 + math.sin(y ** 3 + 1) ** 4 for i in range(1, a + 1): f2 += 4 + 46 * (i ** 3 + i ** 2 / 69) ** 6 return f1 - f2" "def main(b, m, n): sum = 0 for i in range(1, b + 1): for j in range(1, m + 1): for k in range(1, n + 1): sum += 84 * j ** 5 - 91 * (i ** 2 - 25 * i ** 3 - 34 * k) ** 7 - 25 return sum" "def main(b, a, m, n, p): result = 0 for j in range(1, b + 1): result += 40 * pow(j, 4) result1 = 1 result2 = 0 for i in range(1, n + 1): for c in range(1, m + 1): for j in range(1, a + 1): result1 *= pow(13 * j, 6) / 63 + 97 * pow(p, 5) + 28 * pow(57 * pow(c, 2) - 80 * i, 3) result2 += result1 result1 = 1 return result - result2" "from math import cos def main(a, m): result = 0 for j in range(1, m + 1): for k in range(1, a + 1): result += 40 * pow(k + j ** 3 + 70 * pow(k, 2), 6) - abs(k) ** 4 / 14 - cos(k) return result" "def main(a, m, b): ans = 0 for k in range(b): for j in range(m): for c in range(a): ans += 18 * ((j + 1) ** 2 - (c + 1) ** 3 / 34) ** 5 + (k + 1) ** 6 return ans" "import math def main(n, b, a, p): f = 0 for k in range(1, a + 1): P = 1 for i in range(1, b + 1): E = 0 for j in range(1, n + 1): E += (21 * i ** 3 + k + 38) ** 4 E -= j ** 10 - 59 * math.cos(p) P *= E f += P return f" "from math import * def main(m, b, x, n): one = 0 two = 0 for k in range(1, b + 1): for i in range(1, m + 1): one += 86 * k + 1 + (26 * i + x ** 3 + k ** 2) ** 5 for i in range(1, n + 1): two += ceil(i) ** 3 return one - two" "def main(b, a, m): res = 0 for i in range(1, m + 1): for c in range(1, a + 1): for k in range(1, b + 1): res += c * c / 35 - (k / 30 + 72) ** 7 - i ** 3 return res" "from math import ceil def main(b, y, a, x): sum1 = 0 sum3 = 0 for j in range(1, b + 1): sum1 += 53 * j ** 3 - (4 * y ** 3) ** 4 - ceil(y ** 3) / 94 for i in range(1, a + 1): sum2 = 0 for c in range(1, b + 1): sum2 += 22 * c ** 6 - (i ** 2 - 1) ** 7 - x ** 5 sum3 += sum2 return sum1 + sum3" "from math import ceil def main(n, a, m, z): x = 1 y = 0 y_inner1 = 0 y_inner2 = 1 for j in range(1, n + 1): x *= (3 * j ** 3 - 1 - j ** 2) ** 6 for k in range(1, m + 1): y_inner1 = 0 for c in range(1, n + 1): y_inner2 = 1 for i in range(1, a + 1): y_inner2 *= ceil(k) ** 3 + abs(52 * z ** 3 - i ** 2 - 88 * c) ** 2 y_inner1 += y_inner2 y += y_inner1 return x - y" "import math def main(n, a, m, z): counter = 0 for i in range(1, n + 1): for k in range(1, a + 1): for c in range(1, m + 1): counter += z ** 3 - c ** 5 - math.sin(62 * k - 66 - 22 * i ** 3) ** 2 return counter" "import math def main(b, n, m): result = 0 for j in range(1, m + 1): for c in range(1, n + 1): for i in range(1, b + 1): result += j ** 7 / 4 + c ** 2 + i ** 3 return result" "import math def main(a, n, b, z): result = 0 for i in range(1, b + 1): s = 0 for c in range(1, n + 1): p = 0 for k in range(1, a + 1): p += 47 * i ** 6 + 43 * math.exp(63 - 53 * k ** 2 - z ** 3) + 64 * math.log2(c) ** 4 s += p result += s return result" "def main(m, n, z): sum1 = 1 sum2 = 1 for c in range(1, m + 1, 1): sum1 += abs(c ** 3 - c ** 2) ** 2 - 61 * c ** 7 - c / 52 for j in range(1, n + 1, 1): sum2 += (z + j ** 2) ** 4 + j ** 6 sum3 = sum1 - sum2 return sum3" "import math def main(b, m, p): first_sum = 0 for c in range(1, b + 1, 1): first_sum += pow(c, 4) + pow(c, 3) second_sum = 0 for c in range(1, m + 1, 1): for j in range(1, b + 1, 1): second_sum += pow(j, 4) + 53 * pow(math.log2(c), 2) + pow(25 * pow(p, 3) + 50 * p, 6) return first_sum - second_sum" "from math import * def fun(m, y, n, a): result = 0 for k in range(1, m + 1): result += 95 * y ** 3 + (1 - k ** 2) ** 2 + 50 * k ** 4 result2 = 1 for j in range(1, a + 1): sum_result = 0 for c in range(1, n + 1): sum_result += 55 * j ** 6 + (11 * j - 14 * c ** 3) ** 7 + log(10 * j ** 3 + 29) ** 2 result2 *= sum_result return result + result2 def main(m, y, n, a): return fun(m, y, n, a)" "def math(p, c, k, i): return abs(p + 24 + c ** 3 / 90) + (25 * k ** 3 + i ** 2 + 85) ** 3 def main(a, m, n, p): sum_c = 0 for c in range(1, n + 1): sum_k = 0 for k in range(1, m + 1): sum_i = 0 for i in range(1, a + 1): sum_i += math(p, c, k, i) sum_k += sum_i sum_c += sum_k return sum_c" "import cmath def f3(a, b, n, m, y): first_part = 0 for i in range(1, a + 1): first_part += i ** 2 / 71 second_part = 0 for k in range(1, m + 1): for j in range(1, n + 1): for i in range(1, b + 1): second_part += (17 * i ** 3 - 37 * y - 88 * y ** 2) ** 2 + 44 * cmath.log(j, 2) ** 5 + k return (first_part - second_part).real def main(a, b, n, m, y): return f3(a, b, n, m, y)" "import math def main(m, x, a): sum1 = 0 sum2 = 0 for k in range(1, m + 1): sum1 += pow(x, 7) - pow(math.cos(pow(x, 2) - pow(k, 3)), 6) - 21 * pow(k, 5) for k in range(1, a + 1): sum2 += pow(k, 2) return sum1 + sum2" "import math def main(b, n, m): result = 0 for i in range(1, m + 1): for c in range(1, n + 1): for k in range(1, b + 1): result += i ** 2 + (c ** 3 - 30 * c) ** 3 + math.tan(k) return result" "import math def main(m, y): result_1 = 0 result_2 = 0 for j in range(1, m + 1): v1 = j - 83 * math.pow(j, 2) - 38 v2 = math.pow(45 * math.pow(j, 3), 5) + 1 v3 = 29 * math.pow(j, 2) v4 = 90 * math.pow(y, 4) result_1 += 93 * round(math.pow(v1, 2)) + v2 result_2 += v3 - v4 result = result_1 - result_2 return result" "def main(a, b, m, y): d = 0 for j in range(1, m + 1): for k in range(1, b + 1): for i in range(1, a + 1): d = d + 55 * k ** 2 + 1 d = d + (j ** 2 / 52 + y ** 3 / 25 + 12 * i) ** 7 return d main(8, 5, 8, 0.49)" "def main(n, m, p): import math a = 0 for j in range(1, n + 1): a += math.pow(math.tan(j), 5) b = 0 for j in range(1, m + 1): b += 90 * math.pow(math.ceil(math.pow(j, 3)), 3) + 71 - 81 * math.pow(p, 3) - p return a - b" "import math def main(a, y, m, b, x): first = 0 second = 0 for i in range(1, a + 1): first += y - 51 * math.tan(i) ** 6 for j in range(1, a + 1): for c in range(1, b + 1): for k in range(1, m + 1): cos = math.cos(c) ** 4 koe = (k + x ** 2 / 58 + 95) ** 3 second += 80 * (j / 22) ** 2 + cos + 76 * koe result = first + second return result" "def main(n, b, z, m, y): f = 0 for j in range(1, b + 1): for i in range(1, n + 1): f += (i / 6 + z ** 2 + j ** 3) ** 3 for k in range(1, m + 1): f += k ** 5 - abs(y ** 6) return f" "def main(n, z, m, b, y): return sum([1 + z ** 4 + 76 * j ** 6 for j in range(1, n + 1)]) - sum([y ** 2 - 68 * abs(c ** 2 - j ** 3) ** 6 - 85 * k ** 7 for j in range(1, m + 1) for k in range(1, n + 1) for c in range(1, b + 1)])" "import math def main(a, n, p): result = 0 for k in range(1, n + 1): for i in range(1, a + 1): first = 24 * (1 + k ** 2) ** 2 second = 13 * math.tan(34 * i ** 2 + 35 * p + i ** 3) ** 7 third = first + second result += third return result" "import math def main(a, n, z): result = 0 for c in range(1, n + 1): for k in range(1, a + 1): p = (9 * z) ** 7 q = math.ceil(z) ** 5 / 35 w = math.atan(55 * k ** 3 - c ** 2) ** 2 result = result + p + q + w return result" "import math as s def main(b, y, m, n): f = 0 d = 0 for i in range(b + 1): if i == 0: continue f += s.pow(s.tan(1 - s.pow(y, 3) / 72), 5) / 20.0 f = f - s.pow(i, 2) for j in range(n + 1): if j == 0: continue for k in range(m + 1): if k == 0: continue d += 9 * s.pow(k, 3) + 29 * s.pow(j, 4) + s.pow(y, 2) return d + f" "def main(m, a, z): k = 0 for i in range(1, a + 1): for c in range(1, m + 1): k += 38 * (z ** 3 + 54 * c) ** 4 - 72 * c ** 5 - 40 * i return k" "from math import cos, fabs def main(n, m, a, x): sum = 0 for c in range(1, n + 1): for i in range(1, m + 1): for k in range(1, a + 1): sum += 46 * cos(k) ** 3 - (i - x ** 3 / 72 - 1) ** 5 - 40 * fabs(c) ** 7 return sum" "from functools import reduce def main(b, a, y): res = 0 mul_list = [] for i in range(1, a + 1): for k in range(1, b + 1): res += 33 * k ** 6 + (i ** 2 + 22 * y + 17) ** 4 + k / 80 mul_list.append(res) res = 0 return reduce(lambda x, y: x * y, mul_list)" "def main(b, n, a, m, x): first = 0 for k in range(1, n + 1): z = 1 for i in range(1, b + 1): tmp = 46 * k ** 6 + i ** 7 + 13 * i ** 4 z *= tmp first += z second = 1 for j in range(1, n + 1): z = 0 for k in range(1, m + 1): y = 0 for c in range(1, a + 1): tmp = 39 * (j ** 3 + 95 * c ** 2) + x ** 3 + k ** 2 y += tmp z += y second *= z return first - second" "from math import * def main(a, m, n, x): proz = 1 for i in range(1, n + 1): sum = 0 for k in range(1, m + 1): for c in range(1, a + 1): one = 61 * c ** 2 + 62 + (i - k ** 3) ** 3 two = (35 + x) ** 4 / 85 sum += one + two proz *= sum return proz" "def main(a, n, b): result = 0 for j in range(1, b + 1): for i in range(1, n + 1): temp = 1 for k in range(1, a + 1): temp *= 89 * k ** 5 - i - 78 * j ** 2 result += temp return result" "import math def main(m, x, b): s1 = 0 for c in range(1, m + 1): s1 += 77 * c ** 7 - 97 * (9 - 70 * x ** 3 - c * c) ** 4 s2 = 0 for k in range(1, b + 1): s2 += math.atan(90 * k + k * k) ** 4 return s1 - s2" "def main(m, n, b, a): sum_1 = sum((1 - k * k - k * k for k in range(1, m + 1))) sum_2 = 0 for i in range(1, a + 1): tmp_prod = 1 for c in range(1, b + 1): tmp_sum = 0 for j in range(1, n + 1): res = 1 - 87 * i ** 7 - 77 * (42 * c + j * j) ** 3 tmp_sum += res tmp_prod *= tmp_sum sum_2 += tmp_prod return sum_1 - sum_2" "def f(b, n): result = 0 for j in range(1, b + 1): result += 1 - (j / 24) ** 5 for k in range(1, n + 1): for c in range(1, b + 1): result += k ** 6 + 11 * (c ** 3 - c - 17) ** 7 + 16 * (13 * c) ** 5 return result def main(*args): return f(*args)" "import math def main(b, m, n): res = 0 for j in range(1, n + 1): for c in range(1, m + 1): for i in range(1, b + 1): x = 57 * j - 43 - pow(i, 3) y = c * c + 84 + c res += pow(x, 7) + 0.05 + pow(y, 5) / 67 return res" "def main(m, a, n): ans = 0 for i in range(1, n + 1): for k in range(1, a + 1): for c in range(1, m + 1): ans += (54 * c ** 2 - 50 * i ** 3 - 1) ** 5 - 1 - k ** 7 return ans" "import math def f(m, b, x): a = 1 c = 0 for i in range(1, b + 1): for j in range(1, m + 1): c += 72 * pow(x, 2) - pow(math.sin(22 * j + pow(i, 2)), 4) - pow(i, 5) a *= c c = 0 return a def main(*args): return f(*args)" "import math def main(m, b, a): p = 0 q = 0 for j in range(1, b + 1): for c in range(1, m + 1): p += 22 * (c ** 2 - j ** 3 - 33) ** 6 for j in range(1, a + 1): q = 33 * math.sin(1 - 52 * j - j ** 2) ** 5 - 91 * j ** 7 - (j ** 2 + 1) ** 2 return p - q main(5, 7, 4)" "import math def sum_1(n, b) -> int | float: summ = 0 for k in range(1, b + 1): for c in range(1, n + 1): summ += k ** 10 - 1 - 84 * math.fabs(c) ** 6 return summ def sum_2(b, m, a, z) -> int | float: summ = 0 const_z = z ** 4 / 14 for j in range(1, a + 1): for i in range(1, b + 1): for c in range(1, m + 1): summ += const_z + 34 * i ** 5 + j + i ** 3 + c ** 2 return summ def main(n, b, m, a, z) -> int | float: return sum_1(n, b) - sum_2(b, m, a, z)" "def main(a, m, n, z): a = int(a) m = int(m) n = int(n) z = float(z) x = 0 y = 1 res = 0 for k in range(1, n + 1): y = 1 for j in range(1, m + 1): x = 0 for c in range(1, a + 1): x += j + 1488 * z ** 3 + 90 * (63 * z + c ** 3 + 48 * k ** 2) ** 6 y = y * x res += y return res" "import math def main(b, n, z): ans = 1 for k in range(1, n + 1): ans1 = 0 for c in range(1, b + 1): ans1 += 1 - pow(13 * pow(z, 3) + 0.03 + k * k / 28, 3) - pow(math.log2(c), 4) / 43 ans *= ans1 return ans" "import math def main(a, b, n, m): (s, f) = (0, 0) for i in range(1, b + 1): for j in range(1, a + 1): s += math.tan(j) ** 2 s -= (i ** 2 + i ** 3) ** 5 / 34 for c in range(1, b + 1): P = 1 for k in range(1, m + 1): E = 0 for j in range(1, n + 1): E += (3 * c ** 3 + j ** 2 / 63) ** 3 / 80 E += k ** 6 P *= E f += P return s + f" "from math import sqrt, pow, log, atan, ceil def main(m, p, a): d = 0 b = 0 for j in range(1, m + 1): d += 88 * pow(atan(76 * j * j * j + p + 1), 4) - 68 * atan(j * j) for j in range(1, m + 1): for c in range(1, a + 1): b += 15 * pow(j, 4) - pow(ceil(p), 3) - pow(c, 5) return d - b" "import math def main(n, y, m, b, x): result = 0 result_1 = 0 for c in range(1, n + 1): result += math.pow(c ** 2 - 1 - 80 * y, 5) for c in range(1, b + 1): for i in range(1, m + 1): result_1 += c ** 5 / 54 + 95 * math.pow(x ** 3 + c ** 2, 3) + 97 * i ** 6 result -= result_1 result_1 = 0 return result" "def main(a, z, n): sumA = 0 sumB = 0 for i in range(1, a + 1): sumA += 34 * pow(31 * pow(i, 2) - 66 * z - 87 * pow(z, 3), 7) - 59 for c in range(1, n + 1): sumB += c / 56 - 4 * pow(c, 4) return sumA + sumB" "import math def main(b, n, a, y): total = 0 for i in range(1, a + 1): for k in range(1, n + 1): for c in range(1, b + 1): total += math.sin(91 * c ** 2 - y / 25 - i ** 3) ** 3 / 19 + 19 * k ** 6 return total" "import math def main(a, n, b): f = 0 for c in range(1, b + 1): P = 1 for k in range(1, n + 1): E = 0 for i in range(1, a + 1): E += c - 43 * math.floor(i - 27 * k ** 2) ** 6 - 1 P *= E f += P return f" "def main(m, n, a, y): answer = 0 for j in range(1, a + 1): for k in range(1, n + 1): for c in range(1, m + 1): answer += 5 * pow(abs(pow(j, 2) - y - 70), 6) answer += pow(k, 3) + 66 * pow(c, 2) return answer" "import math def main(m, a, b, n, x): s = 0 for k in range(1, a + 1): for i in range(1, m + 1): s += 32 + 31 * math.log(k + 23 * i ** 3) ** 6 + 19 * k ** 3 for c in range(1, n + 1): for j in range(1, b + 1): p = 1 for i in range(1, a + 1): a1 = (68 * j + c ** 3 + 1) ** 6 a2 = (i ** 3 - j ** 2) ** 7 p *= a1 + 77 * x ** 5 + a2 s -= p return s main(6, 8, 2, 3, -0.61) main(5, 8, 4, 3, 0.71)" "import math def main(m, x, n, b, p): f = 0 for k in range(1, m + 1): f += 53 * math.tan(1 + 51 * x ** 3 + 3 * k ** 2) ** 3 for k in range(1, b + 1): for c in range(1, n + 1): f -= 1 - (4 * k + c ** 2) ** 3 - p ** 7 return f" "def main(a, m, x): res = 0 for k in range(1, m + 1): for j in range(1, a + 1): one = x ** 7 two = (52 * k ** 3 + k ** 2 + 1) ** 4 / 30 three = one - two - j res += three return res" "import math def main(b, x, n, m): part1 = 0 part2 = 0 for k in range(1, b + 1): part1 += 66 + 95 * pow(k, 4) + math.ceil(x) for c in range(1, m + 1): for i in range(1, n + 1): part2 += 16 * pow(22 * pow(i, 2) + 42, 7) - pow(c, 3) - pow(i, 12) / 18 return part1 - part2" "import math def main(m, a): x = 0 y = 0 for k in range(1, m + 1): x = x + (9 - k - k ** 2) ** 3 - (k ** 2 + k) / 98 - 79 * (31 * k - 1) ** 2 for c in range(1, m + 1): for j in range(1, a + 1): y = y + 33 * c ** 7 - (c - 64) ** 3 / 60 - math.ceil(1 - 10 * j - c ** 3) fun = x + y return fun" "import math def main(b, m, z, a): s1 = 0 for k in range(1, m + 1): for j in range(1, b + 1): s1 += abs(z) ** 3 + 67 * math.cos(k) ** 3 + j ** 2 s2 = 0 for i in range(1, a + 1): for k in range(1, m + 1): s2 += 30 * (5 * i + 73 * k ** 2 + 13 * i ** 3) ** 2 + 27 * math.sin(k) return s1 + s2" "def main(a, m, n): f = 0 for c in range(1, a + 1): f += c ** 3 + (1 + c) ** 7 + 87 f1 = 0 f2 = 1 for t in range(1, a + 1): for k in range(1, n + 1): for s in range(1, m + 1): f1 += 1 + t ** 4 + 50 * k - 97 * s ** 2 f2 *= f1 f1 = 0 f -= f2 f2 = 1 return f" "def main(n, a, m): i = 1 k = 1 c = 1 res = 0 for k in range(1, m + 1): for i in range(1, a + 1): for c in range(1, n + 1): res += 63 * i ** 6 + 96 * (k ** 2 + 52 * c ** 3) ** 7 return res" "import math def main(m, b, n): summa = 0.0 for j in range(1, n + 1): for k in range(1, b + 1): for i in range(1, m + 1): summa = summa + pow(pow(j, 3) + 8 * pow(i, 2), 7) + pow(k / 68 - pow(k, 2), 4) return summa" "import math def main(m, b, z, a, x): f1 = 0 f2 = 0 for j in range(1, b + 1): for c in range(1, m + 1): f1 = f1 + 80 * (z ** 3 - j - 13) - 35 * (35 * c ** 2 + 93) for i in range(1, a + 1): for k in range(1, b + 1): f2 = f2 + (8 * (x ** 3 - i ** 2) ** 2 - k ** 6 / 2) return f1 - f2" "from math import * def main(n, m, a, z): res = 0 while a > 0: j = m while j > 0: i = n while i > 0: res += 65 * j ** 2 - floor(i + z ** 2 / 39 + a ** 3) ** 6 i -= 1 j -= 1 a -= 1 return res" "def main(m, a, z): result3 = 0 for j in range(1, a + 1): for i in range(1, m + 1): result3 += 22 * (7 * j - 33 * i ** 3 - z ** 2) ** 4 - 60 * abs(j) ** 6 return result3" "def main(b, n, a, x): summ = 0 for i in range(1, a + 1): for j in range(1, n + 1): for k in range(1, b + 1): summ += 7 * i ** 12 - k ** 2 - (23 * x ** 3 + 34 * j ** 2) ** 6 return summ" "import math def main(b, n): sum = 0 for j in range(1, n + 1): for c in range(1, b + 1): sum += (j / 79 - c ** 3 - j ** 2 / 94) ** 2 + j ** 3 + 12 * j ** 7 return sum" "def main(n, a, m): c = 1 j = 1 k = 1 res3 = 0 for c in range(1, m + 1): res2 = 0 for j in range(1, a + 1): res1 = 1 for k in range(1, n + 1): res1 *= 98 * k + c ** 3 + 62 * k ** 2 - 26 * j ** 9 - 12 * j ** 5 res2 += res1 res3 += res2 return res3" "def main(a, n, p, z): S = 0 S1 = 0 for i in range(0, n + 1): for j in range(1, a + 1): S += 99 * (p ** 3 / 31) - i - j ** 7 for i in range(0, n + 1): S1 += (32 * z ** 3 - 1 - 71 * i) ** 6 return S - S1 main(7, 8, -0.94, 0.25) main(6, 4, -0.73, -0.89)" "import math def main(b, n, a, y): s = 0 for j in range(1, a + 1): for i in range(1, n + 1): for k in range(1, b + 1): A = 64 * math.log(y, 10) ** 7 B = math.log(j + 34 + i ** 3, 10) C = math.floor(k) ** 2 s += A + B + C return s main(4, 5, 3, 0.72) main(4, 5, 6, 0.9)" "from math import cos, log10 def math_left(i, x): return 3 * log10(i) ** 3 + (95 * x ** 2 - 40 - x ** 3) ** 4 / 81 def math_right(i, k, x): return 89 * cos(i ** 3 + k + 5 * x ** 2) ** 5 def main(m, x, b): sum_a = 0 sum_b = 0 for i in range(1, m + 1): sum_a += math_left(i, x) for i in range(1, m + 1): sum_k = 0 for k in range(1, b + 1): sum_k += math_right(i, k, x) sum_b += sum_k return sum_a - sum_b" "import math def main(n, z, a, b, y): s = 0 for c in range(1, n + 1): s += pow(c + z * z * z, 7) / 93 - pow(abs(z * z * z - z * z / 71 - 1), 5) for j in range(1, b + 1): for i in range(1, n + 1): r = 1 for k in range(1, a + 1): r *= 69 * (2 * y * y * y + i + 57 * k * k) + 0.01 + pow(j, 6) s += r return s" "import math def main(b, m, n, a): (x, y) = (0, 0) for c in range(1, b + 1): x += (c + c ** 3 / 61 + 84 * c ** 2) ** 6 / 65 + c ** 7 for c in range(1, a + 1): for i in range(1, n + 1): for k in range(1, m + 1): y += 48 * (54 + k) ** 7 - (15 - c ** 2 - k ** 3) ** 5 - i f = x - y return f" "import math def f(n, a, b, z): result = 0 for c in range(1, b + 1): for j in range(1, a + 1): product = 1 for k in range(1, n + 1): first = (22 * z ** 3) ** 4 / 93 second = (k - j ** 3) ** 7 third = 26 * math.tan(1 + c ** 3) ** 2 product *= first - second - third result += product return result def main(n, a, b, z): return f(n, a, b, z)" "def main(n, a, b, x): g = 0 for i in range(1, n + 1): g += 80 * (4 * i + i * i) ** 4 + 1 h = 0 for j in range(1, n + 1): for c in range(1, b + 1): for k in range(1, a + 1): h += (14 - c ** 3) ** 2 - 86 * (76 * k * k + x + 15 * j ** 3) ** 6 return g + h" "import math def main(a, b, m, p): c = 0 k = 0 i = 0 res = 0 res2 = 1 res3 = 0 for k in range(1, m + 1): for c in range(1, b + 1): for i in range(1, a + 1): res += pow(k, 2) + pow(47 * pow(p, 3) - 52, 3) + pow(math.floor(pow(i, 3) - 74 * c - 1), 7) res2 *= res res = 0 res3 += res2 res2 = 1 return res3" "import math from math import * def main(b, m, x): j = 1 a = 0 c = 1 for j in range(1, m + 1): for c in range(1, b + 1): a += 96 * j ** 5 + 72 * sqrt(j) ** 3 + 6 * (x ** 3 - c) ** 6 return a main(7, 5, 0.49)" "import math def main(b, x, a): f = 0.0 s = 0.0 j = 1 for j in range(1, b + 1): s += math.pow(x, 4) + math.pow(math.log2(j), 2) for j in range(1, a + 1): f += 43 * j ** 18 + math.log10(49 * j ** 3) ** 5 + 1 k = s + f return k" "import math def main(n, b, a, y): sum1 = 0 sum2 = 0 for c in range(1, n + 1): sum1 += 66 * math.log(c, 10) + pow(pow(c, 3) - pow(c, 2), 3) for c in range(1, a + 1): for k in range(1, b + 1): for i in range(1, n + 1): sum2 += 70 * (c - pow(i, 3) - 3 * pow(k, 2)) - 12 * pow(38 * y, 7) return sum1 - sum2" "import math def main(m, b, p, a): one = 0 two = 0 for k in range(1, b + 1): for i in range(1, m + 1): one += math.tan(i ** 3 + k) ** 2 - math.exp(p) ** 3 for c in range(1, b + 1): for i in range(1, a + 1): for k in range(1, m + 1): tyt = math.cos(c ** 2 / 8 + c + 29 * c ** 3) two += 53 * k ** 7 + math.log10(i) ** 3 + tyt return one - two" "import math def main(m, b, p, a): one = 0 two = 0 for k in range(1, b + 1): for i in range(1, m + 1): one += math.tan(i ** 3 + k) ** 2 - math.exp(p) ** 3 for c in range(1, b + 1): for i in range(1, a + 1): for k in range(1, m + 1): tyt = math.cos(c ** 2 / 8 + c + 29 * c ** 3) two += 53 * k ** 7 + math.log10(i) ** 3 + tyt return one - two" "import math def main(n, a, b): r = 0 for c in range(1, b + 1): for j in range(1, a + 1): for i in range(1, n + 1): r += 17 * (c ** 3 - i) ** 7 + j ** 4 return r" "import math def main(b, m, n, a, p): z = 0 z1 = 0 for c in range(1, m + 1): for j in range(1, b + 1): z += c ** 5 - 0.06 - j ** 3 for j in range(1, a + 1): for i in range(1, n + 1): for c in range(1, b + 1): z1 += 89 * (j ** 2 // 63 + c + 85) + 1 + (i ** 2 + 72 * p ** 3) ** 5 return z - z1" "def main(a, m, b, y): n = 0 for i in range(1, b + 1): for j in range(1, m + 1): for k in range(1, a + 1): n = n + (50 + 86 * pow(k, 2) + 81 * pow(pow(y, 3) + 59 * pow(i, 2) + 51 * j, 5)) return n" "import math def main(b, a, m, n, y): res1 = 0 res2 = 0 res3 = 0 for j in range(1, b + 1): res1 = res1 + (1 + 73 * math.floor(j) + pow(j, 6) / 14) for c in range(1, n + 1): for k in range(1, m + 1): for i in range(1, a + 1): res2 = res2 + pow(c, 3) + pow(math.cos(k), 4) res3 = res3 + pow(math.log(pow(y, 2) + 29 * pow(i, 3)), 7) return res1 - (res2 + res3)" "def main(b, x, m): sum1 = 0 for i in range(1, b + 1): sum1 += 49 * (i ** 3 - x ** 2 - 1) ** 2 - 33 - 58 * i ** 3 sum2 = 1 for i in range(1, m + 1): subsum1 = 17 * (75 * x ** 2) ** 7 subsum2 = -(x + i ** 3 / 83) ** 4 / 24 - 81 * (x - 65) sum2 *= subsum1 + subsum2 return sum1 - sum2" "def main(m, b, p, y): sum1 = 0 for j in range(1, b + 1): for k in range(1, m + 1): sum1 += (j ** 3 / 6 - k - 99 * p ** 2) ** 6 sum1 *= 84 sum2 = 0 for j in range(1, b + 1): sum2 += y ** 4 - 94 * j ** 2 return sum1 - sum2" "import math def main(b, n, m, z): res1 = 1 res2 = 0 res3 = 1 for i in range(1, m + 1): for c in range(1, n + 1): for j in range(1, b + 1): res3 *= (j ** 3 - 84 - 95 * c ** 2) ** 6 + 87 * (z ** 3 - 77 - 54 * i) ** 5 + 49 res2 += res3 res3 = 1 res1 *= res2 res2 = 0 return res1" "import math def main(n, z, m, b): s = 0 s1 = 0 for j in range(1, n + 1): s += 29 * (28 * j ** 2) ** 5 + 84 * math.acos(z) + 58 * (45 * j ** 2 + 1) ** 3 for k in range(1, n + 1): for c in range(1, b + 1): for j in range(1, m + 1): s1 += 33 * k ** 6 + j + (9 * z - 39 * z ** 2 - 24 * c ** 3) ** 4 s = s - s1 return s" "from math import floor, sqrt import math def main(m, a, b, x): (r1, r2) = (0, 0) for k in range(1, m + 1): r1 += math.floor(k) ** 5 for j in range(1, b + 1): for k in range(1, a + 1): for i in range(1, m + 1): r = 74 y = 40 r2 += r * (4 * k - i ** 2) ** 6 + 16 * (y * x) ** 2 + 75 * sqrt(j) ** 4 return r1 - r2" "import math def main(a, b, p, n): num0 = 0 num1 = 0 num2 = 0 for i in range(1, b + 1): for j in range(1, a + 1): num1 = (j / 27 + i ** 2 + p ** 3) ** 6 num0 += num1 num1 = 0 for i in range(1, n + 1): num2 += 31 * i ** 3 num = num0 + num2 return num" "import math def main(m, a, b, z): y = 0 for j in range(1, b + 1): for i in range(1, a + 1): for c in range(1, m + 1): y += math.fabs(j ** 3 - c ** 2) ** 6 - z ** 2 / 54 - 50 * math.ceil(i) return y" "import math def main(b, a): res1 = 0 res2 = 1 for k in range(1, b + 1): res1 += 70 * (43 * k ** 3 + k) ** 5 - k ** 4 for j in range(1, a + 1): res2 *= res1 - math.atan(j) ** 6 return res2" "import math def val(k, i, c): num1 = 25 * math.pow(math.pow(k, 2) + 75, 5) num2 = math.pow(math.pow(c, 2) - 68 * math.pow(k, 3), 2) return num1 - num2 - 7 * math.pow(i, 3) def main(m, n, b): value = 0 for k in range(1, m + 1): for i in range(1, n + 1): for c in range(1, b + 1): value += val(k, i, c) return value" "def main(a, m, n, z): result = 0 for j in range(1, n + 1): for k in range(1, m + 1): for c in range(1, a + 1): result += 69 * (c ** 2 + k ** 3) ** 5 -25 * (71 * j ** 2 + z ** 3 + 0.04) return result" "import math def main(m, x, n, b): a = 1 for i in range(1, m + 1): a *= 56 - 59 * x ** 6 - i ** 3 c = 0 for j in range(1, b + 1): for k in range(1, n + 1): for i in range(1, m + 1): c += 18 * i ** 4 - (j ** 2 - 57 * k ** 3 - 1) ** 6 return a + c" "import math def main(n, b, p, m): s1 = 0 for j in range(1, b + 1): prod = 1 for i in range(1, n + 1): prod *= 53 * pow(60 + i * i * i + j * j, 7) - pow(p, 4) / 2 s1 += prod s2 = 0 for i in range(1, m + 1): for j in range(1, n + 1): for c in range(1, b + 1): s2 += 98 * c + 41 * pow(j, 4) + pow(math.cos(i), 7) return s1 + s2" "import math def main(n, m, a, b, y): s = 0 s0 = 0 s1 = 1 s2 = 0 for k in range(1, n + 1): s += 74 * k ** 4 + 0.01 + 77 * math.log10(k) ** 5 for j in range(1, b + 1): for i in range(1, a + 1): for k in range(1, m + 1): s2 += math.atan(22 * k - 32 * j ** 2 - i ** 3) ** 6 + 0.06 + 2 * y ** 5 s1 *= s2 s2 = 0 s0 += s1 s1 = 1 s = s - s0 return s" "import math def main(m, y, n, a, z): res1 = 0 res2 = 0 res3 = 0 res = 0 for j in range(1, m + 1): res1 += j * j / 32 - 17 * y ** 5 for c in range(1, a + 1): for i in range(1, m + 1): for k in range(1, n + 1): res2 += pow(c * c + k, 7) / 4 res3 += i ** 4 / 78 - 4 * z * z res = res1 + (res2 - res3) return res" "import math def main(m, n, y): res = 0 for i in range(1, n + 1): for c in range(1, m + 1): res += math.exp(y - pow(i, 3) / 9) + pow(math.tan(i), 6) + 54 * pow(math.exp(49 + pow(c, 3)), 3) return res" "import math def main(b, m, a): r = 0 for j in range(1, a + 1): for k in range(1, m + 1): for c in range(1, b + 1): r += 12 * abs(1 + 5 * c ** 2 + k / 70) ** 2 - 1 - 44 * j ** 7 return r" "import math def main(m, b, n, a, z): ans = 0 for i in range(1, m + 1): ans += i ** 4 for i in range(1, a + 1): for j in range(1, n + 1): for c in range(1, b + 1): ans += 97 * (86 * j * j - 61 * c - i ** 3 / 55) ans += 14 * math.sin(77 * z * z) ** 6 return ans main(4, 6, 2, 7, 0.83)" "import math def main(n, z, a, m, x): sum = 0 for j in range(1, n + 1): sum += math.log10(z + 18 * j * j) ** 6 / 39 for c in range(1, n + 1): for j in range(1, m + 1): for k in range(1, a + 1): sum -= k ** 5 - 29 * (j ** 3 / 32 + 66 + c * c) - 24 * (89 - 32 * x) ** 7 return sum main(7, 0.66, 6, 3, 0.58)" "import math def main(a, y, m, b): numb1 = 0 numb2 = 0 for k in range(1, a + 1): numb1 += 15 * math.tan(y) ** 7 + 50 * math.exp(k) ** 2 + 1 for j in range(1, a + 1): for k in range(1, b + 1): for c in range(1, m + 1): numb2 += 18 * c ** 7 + 4320 * k ** 3 + (98 - k ** 2 - 7 * j ** 3) ** 6 return numb1 + numb2" "import math def main(b, n): res = 0 for c in range(1, n + 1): for k in range(1, b + 1): res += 34 * math.log2(16 * k ** 3) ** 2 - 81 * c ** 6 - 99 * math.log(75 * c + 1) ** 4 return res" "def main(a, n, b, x): res = 0 res2 = 0 ans = 1 for j in range(1, b + 1): for c in range(1, n + 1): for k in range(1, a + 1): res += pow(x, 5) + c * c + 22 * pow(k, 3) + 31 * k + pow(j, 3) res2 += res res = 0 ans *= res2 res2 = 0 return ans" "def main(n, b): result = 0 for c in range(1, n + 1): result += (c / 81 - c ** 3 - 16 * c ** 2) ** 2 for i in range(1, b + 1): result += 1 - i - i ** 5 return result" "import math def main(m, b, y): ans = 0 for j in range(1, m + 1): ans += 1 - (j ** 2 - j ** 3 / 93) ** 3 / 25 - 18 * j for k in range(1, m + 1): for i in range(1, b + 1): ans -= k ** 9 + 85 * (k ** 2 / 26 - i ** 3 - y) ** 5 return ans main(6, 6, -0.28)" "def main(a, b, m, z): s = 0 tmpz = 0.01 + 96 * z * z * z for j in range(1, m + 1): tmpj = j * j * j for k in range(1, b + 1): tmpk = k * k for i in range(1, a + 1): s += pow(tmpj + i, 5) + 8 * pow(tmpz + tmpk, 3) return s" "import math def main(a, n, b, x): r = 0 r1 = 0 r2 = 0 r3 = 0 for i in range(1, a + 1): r += 71 * pow(i, 2) - pow(math.log10(i), 5) for k in range(1, a + 1): for c in range(1, b + 1): for j in range(1, n + 1): r3 += 50 * pow(math.cos(1 - k - j ** 3), 7) - 43 * c ** 2 - 54 * math.cos(x) ** 5 r2 += r3 r3 = 0 r1 += r2 r2 = 0 return r + r1" "import math def main(a, b, y): sum = 0 for c in range(1, b + 1): for j in range(1, a + 1): arc = math.atan(68 - 22 * y - 11 * c ** 2) ** 6 sum += arc / 30 + j ** 3 - 1 - j ** 2 return sum" "import math def main(m, a, y, n, b, p): temp1 = 0 temp2 = 0 for j in range(1, a + 1): for k in range(1, m + 1): x = j ** 7 v = 70 * y ** 3 e = k ** 4 d = x - v - e temp1 = temp1 + d for j in range(1, b + 1): for c in range(1, n + 1): for k in range(1, a + 1): w = math.sin(29 * p ** 3 + c + 56 * k ** 2) ** 2 s = 11 * abs(j ** 3) g = w + s temp2 = temp2 + g r = temp1 - temp2 return r" "def main(m, n, a, z): result = 0 for c in range(1, m + 1): for i in range(1, n + 1): for j in range(1, a + 1): support = 55 * (c / 2 + z ** 3) ** 5 result += support + (1 + 11 * j ** 3 + 63 * i) ** 2 return result" "import math def main(n, y, a, m): res1 = 0 res2 = 0 for k in range(1, n + 1): res1 += (6 * k ** 3 + y / 54 + 34) ** 4 + 99 * k ** 2 + 51 for k in range(1, n + 1): for c in range(1, m + 1): for i in range(1, a + 1): res2 += 42 * math.tan(k) + (43 * i ** 2 + 44 * c + 71) ** 4 / 87 + 71 * c ** 5 return res1 - res2" "def main(a, m, z, b): result = 0 for k in range(1, m + 1): for c in range(1, a + 1): result += k ** 2 + 78 * (c ** 2 - 63 - 26 * z) ** 5 for j in range(1, m + 1): for k in range(1, b + 1): result += 63 * (36 * j ** 2 - 20 - 56 * k ** 3) ** 2 + (77 - 52 * k) ** 7 return result" "import math def main(a, m, n, x): h = 0 for i in range(1, n + 1): v = 0 for j in range(1, m + 1): t = 1 for k in range(1, a + 1): p = j ** 6 - abs(19 * x - i ** 3 - k ** 2 / 36) / 23 t *= p v += t h += v return h" "import math def main(b, y, n): result = 0 for c in range(1, b + 1): result = result + pow(c, 4) + pow(math.sin(9 + pow(y, 3) + 48 * c), 2) / 34 + 61 * pow(math.cos(y), 7) for j in range(1, n + 1): result = result + 58 * pow(y, 5) - pow(j, 3) return result" "import math def main(a, y, n, m, x): p = 0 q = 0 c = 0 for j in range(1, a + 1): p += 33 * j ** 10 + math.atan(y) ** 3 / 17 + 0.02 for c in range(1, a + 1): for k in range(1, m + 1): for j in range(1, n + 1): q += c ** 5 - 25 * (99 * k ** 3 + 35 * j ** 2 + x) ** 2 return p - q main(2, -0.57, 3, 5, -0.42)" "import math def main(n, m, b, x): sum = 0 for i in range(1, b + 1): for k in range(1, m + 1): for c in range(1, n + 1): sum += (28 + 99 * x ** 2 + k ** 3) ** 4 - i / 62 - 32 * (c ** 2 + 0.03) ** 3 return sum main(6, 8, 6, 0.75) main(4, 4, 2, -0.17)" "def main(b, z, m, a): p = 0 q = 0 for c in range(1, b + 1): p += 93 * abs(22 * c - 13 * z ** 2) - 12 * z ** 4 for c in range(1, a + 1): for j in range(1, m + 1): q += j ** 2 + (c ** 3 + 99 * j) ** 3 + c ** 6 return p - q main(5, -0.75, 4, 7)" "from math import atan def main(n, m, x, a, b): res = 0 for j in range(1, m + 1): for i in range(1, n + 1): res += i ** 7 + 19 * (47 * x ** 2 + 90 * j ** 3) ** 2 for j in range(1, b + 1): for c in range(1, a + 1): for k in range(1, n + 1): res += x - atan(k) - 23 * (1 + c + 29 * j ** 3) ** 3 return res" "import math def main(b, n): res = 0 for k in range(1, n + 1): for i in range(1, b + 1): a1 = i ** 2 / 41 a2 = (72 * k ** 2 - i - 96) ** 4 / 95 a3 = 4 * math.atan(i) ** 3 res += a1 - a2 - a3 return res main(4, 5)" "import math def main(m, x, b, a, n, p): first = 0 second = 0 for c in range(1, m + 1): first += math.pow(x ** 3 - 75 * c, 3) for j in range(1, n + 1): for i in range(1, a + 1): for c in range(1, b + 1): second += math.pow(1 + j ** 2 + p, 3) / 40 + 65 * math.pow(c - i ** 2 - 39, 5) return first - second" "import math def main(a, n): res = 0 for i in range(1, n + 1): for k in range(1, a + 1): res += 89 * pow(i * i - 36, 5) + pow(k, 3) + pow(31 * k + 89 * pow(i, 3) + 66, 7) return res" "def main(m, n, p): end1 = 0 end2 = 0 for j in range(1, n + 1): for c in range(1, m + 1): end1 += (98 - p ** 3 - 10 * j) ** 2 + (5 * c ** 3 - 1) ** 6 for k in range(1, n + 1): for j in range(1, m + 1): end2 += 72 * (1 + k ** 2) ** 4 - (80 * j ** 2 + 10 * j ** 3) ** 2 / 85 - 1 f = end1 - end2 return f main(8, 2, -0.36)" "def main(b, a, n, p): res = 1 f = 0 f1 = 0 for i in range(1, n + 1): for c in range(1, a + 1): for j in range(1, b + 1): f += pow(22 * pow(p, 2) - 23 - pow(i, 3) / 70, 7) + 11 * pow(43 + pow(c, 2), 4) + pow(j, 2) f1 += f f = 0 res *= f1 f1 = 0 return res" "import math def main(m, a, p): func_value = 0 for i in range(1, a + 1): for j in range(1, m + 1): func_value += j ** 2 - math.log10(p) - 73 * i ** 4 func_value -= 39 * i ** 7 + math.exp(i) return func_value" "def main(b, m): res = 0 for j in range(1, m + 1): left = 0 for i in range(1, b + 1): left += 28 * (j + 1) - (j - 20 * i ** 3 - j ** 2) ** 7 right = 0 for c in range(1, m + 1): right += 4 * c ** 3 + 39 * c ** 5 + 99 * c ** 6 res += left - right return res" "import math def main(m, x, b): sum = 0 for i in range(1, m + 1): sum += 51 * x * x - 1 - 56 * math.pow(math.cos(i), 7) for j in range(1, b + 1): sum += 65 * math.pow(j, 7) - 41 * math.pow(j, 3) - math.pow(j, 8) / 30 return sum" "def main(b, n, a): result = 0 for j in range(1, n + 1): for k in range(1, b + 1): result = result + 72 * pow(k, 1 / 6) - (1 - j ** 2) ** 4 for k in range(1, a + 1): for j in range(1, b + 1): for i in range(1, n + 1): result = result + (78 * pow(k, 3) - 27 * i) ** 6 - 56 * j return -result" "from math import cos, atan def main(n, b, m): res = 0 for j in range(1, m + 1): for c in range(1, b + 1): for i in range(1, n + 1): res += (1 + j + c ** 3) ** 6 - 37 * atan(j) ** 4 - cos(i ** 3) ** 3 return res" "import math def main(n, m, a, p): res = 0 for c in range(1, a + 1): for i in range(1, m + 1): for j in range(1, n + 1): res = res + math.sin(p) ** 3 - math.ceil(j) ** 4 - (i ** 3 - 0.04 - c * c) / 67 return res" "import math def main(m, n, b, x): a1 = 0 a2 = 0 ans = 0 for k in range(1, b + 1): a2 += a1 a1 = 0 for c in range(1, n + 1): a1 += ans ans = 0 for i in range(1, m + 1): ans += math.tan(k) ** 5 ans -= math.cos(37 * c - 1 - 34 * i ** 2) ** 4 ans -= math.acos(x) ** 3 return a2 + a1 + ans" "def main(m, b, n): answer = 0 for k in range(1, n + 1): for i in range(1, b + 1): for j in range(1, m + 1): answer += i ** 6 + 65 * k ** 7 + j ** 2 return answer" "import math def main(a, b, n, m, x): res = 0 cycm = 0 cycn = 0 cycb = 0 cyca = 1 for k in range(1, b + 1): for j in range(1, a + 1): cyca *= math.pow(j, 7) - math.pow(math.log(k, math.exp(1)), 4) - math.pow(35 * k * k, 5) / 62 res += cyca cyca = 1 for k in range(1, m + 1): for i in range(1, n + 1): for j in range(1, b + 1): cycb += math.pow(x, 5) - math.pow(math.log(k, 10), 7) - 46 * math.pow(i - j * j * j - 71 * k * k, 3) cycn += cycb cycb = 0 cycm += cycn cycn = 0 res += cycm return res" "def main(n, m, a, b): result1 = 0 for k in range(1, m + 1): for j in range(1, n + 1): result1 += k ** 2 - 48 - j / 56 temp = 1 for i in range(1, n + 1): s1 = 0 for c in range(1, b + 1): result2 = 0 for k in range(1, a + 1): result2 += 61 * (76 * i + k ** 3 + c ** 2) ** 4 s1 += result2 temp *= s1 result = result1 - temp return result" "def main(n, m, b, y): result = 1 for i in range(1, b + 1): s1 = 0 for c in range(1, m + 1): s = 0 for j in range(1, n + 1): s += 79 * c ** 3 + 85 * i + (j ** 2 + y ** 3) ** 5 / 81 + 6 * c ** 7 s1 += s result *= s1 return result" "def f(y, k): return (0.02 + y ** 2 + 9 * k) ** 5 - (y - 71 * k ** 2 - k ** 3) ** 3 def main(b, y, m): p = f(y, 1) for k in range(2, b + 1): p *= f(y, k) for j in range(1, m + 1): p -= 35 * j ** 3 return p" "def main(n, b): result = 0 for k in range(1, b + 1): for c in range(1, n + 1): result += k ** 7 + c ** 18 / 5 + 81 * (59 * k ** 3 + c) ** 2 return result" "def main(m, n, a): res = 0 for i in range(1, a + 1): t1 = 0 for j in range(1, n + 1): t2 = 1 for k in range(1, m + 1): t2 *= (56 * k ** 3 - j / 91) ** 5 / 67 - i ** 12 t1 += t2 res += t1 return float(res)" "import math def main(b, m, y, n): res = 1 for i in range(1, m + 1): t = 0 for j in range(1, b + 1): t += 29 + (11 * i ** 3 - j - y ** 2 / 20) / 59 res *= t t0 = 0 for i in range(1, b + 1): t1 = 0 for c in range(1, m + 1): t2 = 0 for k in range(1, n + 1): t2 += i ** 4 - (k ** 2 - 33 - y) ** 7 - math.log2(c) t1 += t2 t0 += t1 res -= t0 return res" "import math from unittest import result def main(m, b, a): result = 0 for c in range(1, a + 1): for k in range(1, b + 1): for j in range(1, m + 1): result += j ** 4 + 89 * (j ** 3 + c * c + 26 * k) return result" "import math def main(m, b, a, p): f1 = 0 f2 = 0 for c in range(1, b + 1): for j in range(1, m + 1): f1 += abs(c) ** 6 - 63 * math.cos(c + 96 + j ** 2) ** 5 for j in range(1, a + 1): f2 += abs(45 * p ** 2 + 76 + 87 * j) ** 3 + 1 + math.floor(p / 76 + j ** 2) ** 7 f = f1 + f2 return f" "from math import floor def math_left(j): return 77 * j ** 4 - 95 - floor(j ** 2) ** 3 def math_right(j, y): return j ** 7 - (17 * j + 93 + y ** 2) ** 6 def main(a, n, y): sum_a = 0 sum_b = 0 for j in range(1, a + 1): sum_a += math_left(j) for j in range(1, n + 1): sum_b += math_right(j, y) return sum_a - sum_b" "import math def main(m, z, n): mult = 1 summ = 0 for k in range(m): mult *= 33 * (k + 1) ** 2 + 6 * z ** 6 for i in range(n): summ += math.atan(i + 1) ** 5 - 70 * (i + 1) ** 3 - math.log(i + 1) ** 7 / 98 return mult + summ" "import math def main(m, a, n, x): f = 0 for j in range(1, n + 1): for k in range(1, a + 1): for i in range(1, m + 1): pow1 = pow(math.fabs(30 * j + 31 * pow(i, 3) + x * x), 5) pow2 = pow(math.fabs(k), 2) f += pow1 + pow2 return f" "import math def main(n, z, b): x = 0 for k in range(2, n + 1): x += 79 * (4 * k ** 3 - z) ** 6 + 55 for j in range(2, b + 1): for c in range(2, n + 1): x += 83 * c ** 2 - 93 * j ** 4 return x main(4, 0.05, 2)" "import math def main(n, b, y, a, m, x): first_sum = 0 second_sum = 0 for j in range(1, b + 1): for k in range(1, n + 1): first_sum += 90 * math.cos(k) ** 7 + j ** 6 + math.exp(y) ** 5 for i in range(1, n + 1): for c in range(1, m + 1): for j in range(1, a + 1): second_sum += 34 * (j - i ** 3) ** 4 - c ** 2 - 44 * (x ** 3 - i ** 2) ** 3 return first_sum + second_sum" "import math def main(m, a, n, z): ans1 = 0 ans2 = 0 for c in range(1, a + 1): for i in range(1, m + 1): ans1 += c ** 6 / 12 + (3 * i ** 3) ** 4 / 18 + 1 for c in range(1, n + 1): ans2 += 77 * z ** 4 + 1 + 85 * math.tan(0.01 + 28 * z ** 2 + 79 * c ** 3) return ans1 + ans2" "import math def main(b, a, n, p): num_1 = 0 num_2 = 0 num_3 = 1 for i in range(1, a + 1): for j in range(1, b + 1): num_1 += 22 * (91 * i + 43) ** 2 - (j / 10 - 1) ** 7 for j in range(1, n + 1): num_2 = 0 for c in range(1, a + 1): num_2 += (45 * p ** 3 + c ** 2) ** 5 / 27 + math.cos(j) / 4 + 48 * c ** 4 num_3 *= num_2 return float('%.2e' % (num_1 + num_3))" "import math def main(a, b, z): x = 0 for k in range(1, b + 1): for i in range(1, a + 1): x += math.sin(13 * i ** 3 + 90 + 57 * z) ** 5 / 53 - k ** 3 for k in range(1, a + 1): x -= k - 41 * (78 - k ** 3) ** 5 - z ** 7 return float('{:.2e}'.format(x)) main(7, 3, -1.0)" "def main(n, m, b, x): s1 = 0 s2 = 0 p = 1 for k in range(1, b + 1): for c in range(1, m + 1): for i in range(1, n + 1): s1 += (79 * i - 29 * k ** 2 - 42 * x ** 3) ** 2 + c ** 6 s2 += s1 s1 = 0 p *= s2 s2 = 0 return p" "import math def main(m, a, n, z): res = 0 for k in range(1, n + 1): for i in range(1, a + 1): for j in range(1, m + 1): res += 8 * math.pow(j * j - k, 5) + math.pow(math.acos(z), 4) + 94 * math.pow(26 * i * i, 7) return res" "import math def main(m, n, a, z): result = 0 for j in range(1, a + 1): result += 82 * pow(math.atan(z), 2) + 50 * math.cos(j) + 82 * pow(j, 6) result1 = 0 for j in range(1, n + 1): for i in range(1, m + 1): result1 += 1 - pow(j, 12) - pow(i - 3, 7) return result1 - result" "import math def main(a, m, z): f1 = 0 f2 = 0 for k in range(1, a + 1): f1 += (70 * k + 62) ** 2 for i in range(1, m + 1): f2 += math.atan(88 * z ** 3 + i) ** 4 - math.log2(94 * k ** 3) ** 5 return f1 - f2" "def main(b, a, n, m): sum_1 = sum(((35 * i ** 3 - i ** 2) ** 4 for i in range(1, b + 1))) sum_2 = 0 for j in range(1, m + 1): tmp_sum = 0 for c in range(1, n + 1): for i in range(1, a + 1): res = 67 * (29 * i ** 3 - 1 - i ** 2) ** 3 - c ** 5 - j ** 21 tmp_sum += res sum_2 += tmp_sum return sum_1 + sum_2" "import math def sum(f, start, end): s = 0 for i in range(start, end + 1): s += f(i) return s def f3(m, z, a, y): return sum(f=lambda k: k ** 2 - 97 * z ** 3 - math.ceil(z) ** 7 / 94, start=1, end=m) + sum(f=lambda k: 76 * math.floor(y - 93 - k ** 3 / 11) ** 3 + 1, start=1, end=a) def main(m, z, a, y): return f3(m, z, a, y)" "def main(b, m, z): x = 0 for c in range(1, m + 1): for k in range(1, b + 1): a = x x = a + (c ** 3 + (99 * c + 1 + z ** 2 / 47) ** 4 / 92 + k ** 2 / 13) return x" "import math def main(n, b, m): result = 1 support = 0 result1 = 0 result2 = 0 for i in range(1, n + 1): support += 92 * (i ** 2 / 66 - i) ** 5 - i ** 3 for c in range(1, m + 1): for k in range(1, b + 1): result *= 89 * (c ** 3 - 90 - 5 * i ** 2) ** 3 - 12 * math.ceil(i) - k ** 7 result1 += result result = 1 result2 += result1 result1 = 0 return support - result2" "import math def main(a, b, p, n, z): res = 0 res2 = 0 res3 = 0 for i in range(1, b + 1): for j in range(1, a + 1): res += 30 * (i - 87 * pow(j, 2)) + (pow(math.ceil(p), 4) + 1) res2 += res res = 0 for c in range(1, n + 1): res3 += pow(z + pow(c, 3), 5) + 63 res4 = res2 - res3 return res4" "from math import * import math def main(m, a): result = 0 for c in range(1, a + 1): for k in range(1, m + 1): result += 83 * k ** 4 - 51 * math.log(c + c ** 2) ** 6 result -= (c ** 3 + k + 1) / 13 return result" "import math def main(b, p, a, y): k = 1 f1 = 0 for k in range(1, b + 1): f1 += 81 * (k ** 3 + 92 * p ** 2 + 18) ** 2 - 96 i = 1 f2 = 0 for i in range(1, a + 1): f2 += 1 + 26 * (63 * y ** 2 + 51 + 21 * i ** 3) ** 3 f = f1 - f2 return f" "from math import * import math def main(n, a, x): result = 0 for c in range(1, a + 1): for k in range(1, n + 1): result += 43 * (1 / 100 - 26 * x - c * c * c) ** 6 + 67 + 51 * k ** 7 return result" "import math def f(m, a, z): result = 0 for c in range(1, a + 1): for i in range(1, m + 1): part1 = (1 + 93 * c) ** 3 part2 = 62 * c ** 3 - z - 62 * i ** 2 part3 = z ** 2 result += part1 - part2 - part3 return result def main(m, a, z): return f(m, a, z)" "import math def main(b, y, a, m, p): sum1 = 0 for c in range(1, b + 1): sum1 += 65 * (c ** 2 / 60 + y ** 3 + 77 * y) ** 7 sum2 = 0 for c in range(1, m + 1): for j in range(1, a + 1): sum2 += c ** 6 + p ** 8 / 79 + 75 * j ** 5 return sum1 - sum2" "def main(b, m, n, y): sum = 0 for i in range(1, n + 1): for j in range(1, m + 1): for c in range(1, b + 1): sum = sum + (j + 11 * i ** 3 + y ** 2 / 18) ** 2 + 78 + c ** 6 return sum" "import math as m def main(a, m1): res = 0 for i in range(1, a + 1, 1): res += m.pow(i, 5) + m.pow(73 + 40 * i + i * i / 20, 7) for j in range(1, m1 + 1, 1): res += j * j + m.pow(j, 6) + m.pow(m.sqrt(j), 7) return res" "def main(a, z, m, n): mult = 1 sum = 0 for i in range(1, a + 1): mult *= 77 * (48 * i + 71 * z ** 3 + 2) ** 6 + z for i in range(1, n + 1): sum_1 = 0 for c in range(1, m + 1): sum_1 += c ** 3 / 47 - 6 * (c ** 2 + c + i ** 3) ** 5 - 1 sum += sum_1 f = mult - sum return f" "def main(m, a, y): ans1 = 0 for k in range(1, a + 1): ans0 = 0 for j in range(1, m + 1): sk = k ** 3 / 93 + k ** 2 / 72 + 57 * y ans0 += 12 * sk + j ** 2 ans1 += ans0 return ans1" "def main(m, a, y): sum = 0 for k in range(1, a + 1): for c in range(1, m + 1): sum += 36 * y ** 4 + 9 * c + abs(c ** 2 + 1 + k ** 3) ** 6 return sum" "def main(m, n, a, x): result = 0 for c in range(1, a + 1): for i in range(1, n + 1): for j in range(1, m + 1): result += 27 * x ** 4 - 78 * (72 * c ** 2 - j - i ** 3) ** 7 return result" "import math def main(n, m, b, y): x = 0 z = 0 for k in range(1, m + 1): for j in range(1, n + 1): x = x + pow(72 * pow(j, 3) - k - 46, 4) for i in range(1, n + 1): for c in range(1, b + 1): z = z + (66 * c + pow(math.sin(i), 4) + pow(1 + pow(y, 2), 7)) answ = x + z return answ" "def main(n, a, b): ans = 0 for i in range(1, b + 1): for c in range(1, a + 1): for k in range(1, n + 1): ans += c ** 6 + 10 * i ** 4 + k ** 2 return ans" "import math def main(m, y, a, n): q = 0 w = 0 for j in range(1, m + 1): q = q + j ** 3 + (y ** 3 + y ** 2 / 91) ** 7 + 77 for k in range(1, n + 1): for c in range(1, a + 1): for i in range(1, m + 1): w = w + 38 * k ** 5 - 82 * (73 * i + c ** 2 / 90) return q - w" "def main(m, n, y): res = 0 for c in range(1, n + 1): for j in range(1, m + 1): a = (25 * j ** 2) ** 2 b = 96 * (y - 36 * c ** 2) ** 6 s = 92 * (72 * c ** 2) ** 7 res += a - b - s return res main(7, 6, 0.26)" "from math import ceil def main(b, n, a, y): res = 0 for i in range(1, a + 1): for j in range(1, n + 1): for k in range(1, b + 1): s = j ** 3 / 16 c = ceil(80 * k ** 3 + y) ** 4 d = (1 + 58 * i ** 2) ** 3 res += s + 1 + c + d return res main(5, 3, 4, -0.75)" "from math import log def math_left(k): return (1 - 45 * k ** 3 - 20 * k ** 2) ** 7 def math_right(c, i): return 825 * c + log(91 * i ** 3 + c + 15 + 0.01) ** 3 def main(a, m, n): sum_k = 0 sum_b = 0 for k in range(1, a + 1): sum_k += math_left(k) for i in range(1, n + 1): mul_c = 1 for c in range(1, m + 1): mul_c *= math_right(c, i) sum_b += mul_c return sum_k + sum_b" "from math import pow, sin def main(b, z, n, m): result = 0 for j in range(b): result += pow(j, 6) / 92 - 31 - 22 * z for c in range(1, m + 1): product = 1 for j in range(1, n + 1): temp = 0 for i in range(1, b + 1): temp += pow(abs(93 - pow(z, 2) - pow(j, 3)), 7) - pow(pow(i, 3) + 1, 3) - pow(sin(c), 2) product *= temp result -= product return result" "import math def main(a, m, n): sum = 0 mult = 1 sum2 = 0 for i in range(1, n + 1): for c in range(1, m + 1): for k in range(1, a + 1): sum += 57 * i ** 7 + 19 * math.ceil(k) ** 2 + math.atan(15 + 25 * c) ** 4 if k == a: mult *= sum sum = 0 if c == m: sum2 += mult mult = 1 return sum2" "import math as m def main(a, x, n, b, p): f = 0 s = 0 for j in range(1, a + 1): f += j ** 15 - x ** 6 for c in range(1, b + 1): for k in range(1, n + 1): s += m.ceil(p ** 2) ** 6 / 19 + 1 + c + 48 * k ** 3 return f + s" "import math def main(a, n, b, x): s2 = 1 for k in range(1, b + 1): s1 = 0 for c in range(1, n + 1): s0 = 1 for j in range(1, a + 1): s0 *= (j + 22 * c ** 3) ** 5 - 59 * math.ceil(k ** 3 - 48 * x - j ** 2) ** 7 s1 += s0 s2 *= s1 return s2" "def first(b, n): sum = 0 for i in range(1, n + 1): for j in range(1, b + 1): sum += 63 * (99 - i ** 3 - j ** 2) ** 2 return sum def second(a, n, m, p): sum = 0 for j in range(1, m + 1): for k in range(1, n + 1): for c in range(1, a + 1): sum += 16 * (42 * c ** 3 - 98 * p ** 2 - 1) ** 2 + (38 * k) ** 4 + 77 * j ** 7 return sum def main(n, b, m, a, p): return first(b, n) - second(a, n, m, p)" "import math def main(n, a, b): sum1 = 0 for j in range(1, b + 1): for k in range(1, a + 1): for c in range(1, n + 1): sum1 = sum1 + ((1 + 40 * j + k ** 2) ** 3 + (98 + 26 * c ** 3 + 32 * k ** 2) ** 6) return sum1" "import math def main(b, a, m, p): res = 0 for c in range(1, m + 1): for j in range(1, a + 1): for i in range(1, b + 1): res += math.log2(i) ** 4 + (79 * c * c + p + 2 * i ** 3) ** 3 + 71 * j * j return res" "import math def main(a, b, m, n): f = 0 r = 0 for i in range(1, b + 1): for j in range(1, a + 1): f += 81 * (1 + 36 * i) ** 5 - 54 * j ** 3 for c in range(1, n + 1): for j in range(1, b + 1): for k in range(1, m + 1): r += (4 * k + c ** 3 + 3 * j ** 2) ** 3 return f - r" "def main(b, m): f = 0 s = 0 for i in range(1, b + 1): f += 20 * i ** 3 for c in range(1, m + 1): s += 81 * (47 * c ** 3 - c ** 2) ** 7 - c ** 5 return f + s" "from math import log def main(b, m, y, n): result = 1 for j in range(1, m + 1): sum_ = 0 for i in range(1, b + 1): sum_ += i / 16 - y ** 7 - 91 * j ** 4 result *= sum_ sum_ = 0 for j in range(1, n + 1): sum_ += 72 * log(j, 2) ** 3 result -= sum_ return result" "import math def main(n, x, m): f = 0 f1 = 0 for i in range(1, n + 1): f += 55 * math.cos(x) ** 7 + i for i1 in range(1, m + 1): f1 += 70 * math.atan(i1) ** 5 + 0.02 + 71 * (1 - x / 24) ** 2 return f - f1" "def main(b, p, a, z): result = 0 result1 = 0 for k in range(1, b + 1): result += 67 * k ** 6 + 33 * abs(p) + 68 * k ** 7 for c in range(1, a + 1): for i in range(1, b + 1): result1 += 32 * abs(c ** 3 + 23 * c ** 2 + 75 * z) ** 3 - i ** 5 return result - result1" "def main(n, p, m): arg1 = 0 arg3 = 0 for j in range(1, n + 1): arg1 += pow(j, 6) - pow(pow(j, 2) - 72 - p, 2) - pow(j + pow(p, 3), 5) for j in range(1, n + 1): arg2 = 0 for k in range(1, m + 1): arg2 += 45 * pow(pow(j, 3) - 94 - k, 6) + 28 arg3 += arg2 return arg1 - arg3" "import math as m def main(a, b, n, y): result = 0 for j in range(1, n + 1): s = 0 for i in range(1, b + 1): p = 1 for k in range(1, a + 1): p *= 83 + 82 * (k ** 3 + y ** 2) ** 3 + (11 * j ** 3 - i) ** 6 s += p result += s return result" "import math def main(b, a, m, z): f = 0 for i in range(1, a + 1): for j in range(1, b + 1): f += 80 + pow(81 * pow(j, 3), 2) + 32 * pow(math.atan(i), 6) for j in range(1, m + 1): for k in range(1, a + 1): f += pow(math.cos(z), 4) / 26 - pow(49 * pow(j, 3) - k - 0.01, 3 / 2) / 90 - 0.01 return f" "def summ(b, m): accumulation = 0 for i in range(1, b + 1): for j in range(1, m + 1): accumulation += j ** 2 + (10 + i + 49 * j ** 3) ** 5 return accumulation def mul(n, y): accumulation = 1 for c in range(1, n + 1): accumulation *= 18 * (64 + 21 * y ** 3 + y ** 2) + (c ** 2 - c ** 3 / 56 - 21) ** 7 return accumulation def main(m, b, n, y): return summ(b, m) - mul(n, y)" "import math def main(n, z, b, m, a): f = sum([64 * abs(1 - 96 * z ** 2 - i) ** 2 for i in range(1, n + 1)]) for j in range(1, a + 1): for k in range(1, m + 1): for i in range(1, b + 1): f += 94 * (k ** 2 - 84 * j - 1) ** 2 + (k ** 2 - i ** 3 / 92) ** 6 return f" "import math def main(a, x, m): y = 0 k = 1 j = 1 while k <= a: y = y + 69 * x ** 6 - (0.01 - k - k ** 3 / 67) ** 5 k = k + 1 while j <= m: y = y + 58 * j ** 6 + j ** 2 j = j + 1 return y" "def main(b, m, n, y): x = 0 for j in range(n): for c in range(m): for i in range(b): x += 29 * y ** 5 + 28 * (67 * (c + 1) ** 3 + (j + 1) + 89 * (i + 1) ** 2) ** 4 return x" "def main(b, x, n, z): sum_1 = 0 for j in range(1, b + 1): sum_1 += x ** 7 + 1 + (78 * x ** 2 - 98 * j ** 3) ** 3 sum_2 = 0 for j in range(1, n + 1): for c in range(1, b + 1): sum_2 = 50 * z ** 2 - 1 - (17 - j ** 2 - c ** 3) return sum_1 - sum_2" "import math def main(a, n, b): a1 = 0 a2 = 0 for c in range(1, n + 1): for j in range(1, a + 1): a1 += c ** 2 + 5 - 1 - 57 * math.log(j) ** 4 for c in range(1, a + 1): for j in range(1, b + 1): for k in range(1, n + 1): a2 += (1 + c) ** 4 - 85 * j ** 2 - (k ** 2 / 14 - 18 - c ** 3) a3 = a1 - a2 return a3" "import math def main(b, n, m, p): res = 0.0 for c in range(1, m + 1): for j in range(1, n + 1): for k in range(1, b + 1): res += pow(math.tan(89 - 91 * c ** 3 - j ** 2), 3) res += pow(2 * p + 66 * k ** 2 + 30, 4) return res" "import math def main(a, n, p): x = 0 y = 0 for j in range(1, a + 1): x = x + (1 - 9 * j ** 5 - 73 * (64 * j + j ** 2 + j ** 3) ** 6) for i in range(1, n + 1): y = y + ((i ** 3 - 1 - p ** 2) ** 4 - 14 * math.log2(17 * i ** 2 + i ** 3 + 1) ** 3) return x - y" "from cmath import sin from math import floor, asin def main(n, x, m, y): a = 0 b = 0 for j in range(1, n + 1): a += 72 * j ** 5 - sin(64 * x ** 3 - x) ** 4 for k in range(1, m + 1): b += floor(k ** 3 - k ** 2 - 44 * y) ** 4 - asin(y ** 3) ** 2 return (a + b).real" "import math def main(a, m, b, p): sum = 0 for c in range(1, b + 1): for j in range(1, m + 1): for k in range(1, a + 1): sum += 95 * j ** 7 + math.acos(p) + math.floor(c - k ** 2 - 52 * j ** 3) ** 3 return sum" "def main(n, b, a): sum1 = 0 sum2 = 0 sum3 = 1 for i in range(1, a + 1): sum1 += 98 * (i ** 2 + 49 * i) ** 2 for k in range(1, b + 1): for c in range(1, n + 1): sum2 += 51 * (k ** 3 / 86 - c ** 2 - 96 * c) sum3 *= sum2 sum2 = 0 return sum3 + sum1" "def main(a, b, y, n): mul = 1 i = 1 while i <= b: s1 = 0 j = 1 while j <= a: s1 += y ** 4 - j ** 6 - 49 * i ** 5 j += 1 mul *= s1 i += 1 i = 1 s2 = 0 while i <= n: s2 += 28 * i ** 3 + (i ** 2 + i / 29) ** 7 / 17 i += 1 return mul - s2" "import math def main(n, m): summ1 = 0 summ2 = 0 for c in range(1, m + 1): for i in range(1, n + 1): summ1 += c - c ** 3 - i ** 2 + i ** 4 for k in range(1, m + 1): summ2 += math.sin(39 * k ** 2) + (k - k ** 3 - k ** 2) ** 3 return summ1 - summ2" "def main(n, b, a, x): f2 = 0 for i in range(1, a + 1): f1 = 0 for j in range(1, b + 1): f = 1 for c in range(1, n + 1): f = f * (74 * (c / 28 + j ** 2 + x ** 3) ** 6 - i ** 5 - 59 * c ** 4) f1 = f1 + f f2 = f2 + f1 return f2" "import math def main(b, a, n): a1 = 0 a2 = 0 for k in range(1, a + 1): for c in range(1, b + 1): a1 += 32 * c ** 2 + 79 * (k ** 3 / 68) ** 6 for j in range(1, a + 1): for k in range(1, n + 1): for b in range(1, b + 1): a2 += j ** 6 + c ** 2 + (23 * k ** 3 - 1 - k ** 2) ** 5 a3 = a1 + a2 return a3" "import math def main(m, n, z): res = 0 for i in range(1, n + 1): for j in range(1, m + 1): res += i ** 4 - math.log(z ** 2 / 95 + 12 * j ** 3 + 41) ** 7 for j in range(1, m + 1): res -= j ** 3 - 20 * abs(j) ** 7 return res" "def main(a, n, m): x = 0 y = 1 for k in range(m): for c in range(n): for i in range(a): x += (c + 1) ** 3 - 82 * (k + 1) ** 2 - (i + 1) ** 6 y *= x x = 0 return y" "import math def main(a, b, m): i = j = c = 1 s1 = s2 = s3 = 0 while j <= m: while c <= b: while i <= a: x = 35 * i ** 2 - 14 * j ** 3 s3 += x / 56 - 63 * c ** 3 - 44 * c ** 5 i += 1 i = 1 s2 = s2 + s3 s3 = 0 c = c + 1 s1 += s2 s2 = 0 c = 1 j = j + 1 return s1" "import math def main(n, z, a, b, y): s1 = 0 for k in range(1, n + 1): s1 += pow(math.log10(z), 4) - 69 * pow(k, 7) - 83 * pow(z, 6) s2 = 0 for k in range(1, b + 1): s3 = 0 for j in range(1, a + 1): s3 += 85 * pow(pow(j, 2) - k - 67, 5) - pow(1 - pow(y, 3) - pow(k, 2) / 15, 7) / 48 s2 += s3 return s1 - s2" "import math def main(n, b, m, a): sum1 = 0 for i in range(1, a + 1): for c in range(1, n + 1): for k in range(1, m + 1): sum1 = sum1 + (62 * (73 * c ** 2 - c - 1) ** 5 - (i / 63 - 27 * k ** 2 - 48) ** 6) for c in range(1, b + 1): for i in range(1, n + 1): sum1 = sum1 + ((i - i ** 3) ** 7 - c / 20) return sum1" "import math def main(n, b, m, a): res = 0 for i in range(1, n + 1): res += 64 * i ** 6 for i in range(1, a + 1): for j in range(1, m + 1): for c in range(1, b + 1): res -= 6 * j ** 5 + 22 * (i / 52 - i ** 3 / 46) ** 3 + c ** 4 return res" "def main(a, y, n, x): s = 0 p = 1 for i in range(1, a + 1): s += (i ** 2 - y ** 3) ** 7 + y / 68 + 1 for j in range(1, a + 1): sum = 0 for k in range(1, n + 1): sum += 1 + j ** 2 + (x + 40 * k ** 2 + 0.01) ** 7 p *= sum return s - p" "import math def main(m, a, b, z): s = 0 ans = 0 ans1 = 0 res = 0 res1 = 0 for i in range(1, a + 1): s = 0 for k in range(1, m + 1): s += 69 * (95 * k ** 2) ** 3 - 91 * i ** 5 - math.cos(i) ** 7 res += s for j in range(1, m + 1): ans1 = 0 for i in range(1, b + 1): ans = 1 for c in range(1, a + 1): ans *= (21 * z + j ** 2) ** 3 - 66 * i ** 6 - 13 * c ans1 += ans res1 += ans1 return res + res1" "def main(m, n, z, b): a1 = 0 a2 = 0 for k in range(1, n + 1): for j in range(1, m + 1): a1 += 48 * z ** 6 - 44 * (1 - k ** 3 - j) for k in range(1, b + 1): for i in range(1, m + 1): a2 += i ** 14 + 29 * z ** 5 + k ** 3 a3 = a1 - a2 return a3" "from math import * def main(a, n, z): rez = 0 for i in range(1, n + 1): for k in range(1, a + 1): rez += 93 * (z - 80 * k ** 2) ** 6 - 23 * i ** 7 - z * z / 84 return rez.real" "import math def main(b, n, a, y): p = 1 s = 0 for j in range(1, n + 1): p = 1 for i in range(1, b + 1): p *= j ** 5 - i ** 7 / 59 - i ** 3 s += p for k in range(1, a + 1): for i in range(1, b + 1): s += (69 * y ** 3) ** 5 - 13 * i ** 3 - k ** 2 return s" "import math def main(m, a, b, p): result = 0 for k in range(1, a + 1): pr = 1 for i in range(1, m + 1): pr = pr * (74 * i ** 4 + 71 * math.sin(i ** 3 - k ** 2 - 71) ** 7) result += pr pr2 = 1 for c in range(1, b + 1): pr2 *= (p ** 2 / 12 + 67 + c) ** 4 + 51 return result - pr2" "import math as m def f(b, a, z, n): sum1 = 0 sum2 = 0 for j in range(1, a + 1): for c in range(1, b + 1): sum1 += (z ** 3 / 65 - 74 * c - 46 * j ** 2) ** 5 for j in range(1, n + 1): for i in range(1, a + 1): for k in range(1, b + 1): sum2 += (3 * k ** 2) ** 3 + (i - 1 - j ** 3) ** 2 return sum1 + sum2 def main(b, a, z, n): return f(b, a, z, n)" "def main(n, a): s = 0 for k in range(1, a + 1): for i in range(1, n + 1): s += i ** 2 - 20 * (k ** 3 / 26 + 3 + 69 * k ** 2) ** 4 - i ** 7 return s" "from math import pow from math import exp from math import log from math import sin def main(m, b, p, z): answer = 0 for i in range(1, b + 1, 1): for c in range(1, m + 1, 1): answer += 14 * pow(sin(i), 4) - pow(p, 3) - pow(c, 5) for k in range(1, m + 1, 1): answer += pow(log(k), 2) + pow(exp(z), 6) return answer" "def main(n, b, z): f = 0 for j in range(1, b + 1): for k in range(1, n + 1): f = f + 45 * (z * z / 89 + 27 * k + 1) ** 3 - (97 * j ** 3 + j) ** 6 return f" "from math import * def main(m, a): sum1 = 0 for i in range(1, m + 1): sum1 += pow(sin(1 - i - 92 * i * i * i), 4) + pow(i, 5) sum2 = 0 for c in range(1, a + 1): for i in range(1, m + 1): sum2 += pow(18 * c - 36 * c * c * c, 4) + 63 * i + pow(i * i - i, 3) return sum1 - sum2" "import math as m def main(n, y, a, z): v = m.fsum([(86 * j + 4 * y ** 3) ** 6 for j in range(1, n + 1)]) b = 0 for k in range(1, a + 1): for c in range(1, n + 1): b += k ** 4 / 49 - 62 * k ** 2 - m.log(z ** 3 + c) ** 7 return float('{:.2e}'.format(v + b))" "import math def main(n, m, z, b, y): sum1 = 0 for j in range(1, m + 1): prod1 = 1 for i in range(1, n + 1): prod1 *= math.log2(j + i ** 2) ** 2 + 27 * math.sin(z) sum1 += prod1 sum2 = 0 for k in range(1, b + 1): sum2 += 0.03 - 88 * y ** 6 - 92 * (y + 62 * k ** 3 + 43) ** 3 return sum1 + sum2" "import math def main(n, m, x, z): sum1 = 0 sum2 = 0 for c in range(1, m + 1): for i in range(1, n + 1): sum1 += math.cos(x) ** 4 - (56 * i) ** 2 - 32 * c for i in range(1, m + 1): sum2 += math.exp(z - 81 * i ** 2 - 1) ** 6 - 58 * i ** 4 return sum1 - sum2" "import math def main(b, a, p): x = int(1) y = int(1) s = int(1) z = int(1) for k in range(1, a + 1): for j in range(1, b): x = 19 * j ** 4 - math.tan(1 + k ** 3 + 15 * p ** 2) y = x + y for i in range(1, b + 1): s = 6 * (8 * i + i ** 2 + i ** 3) ** 2 - (52 * i ** 3 + i ** 2) ** 7 z = s + z k = y - z return k" "from math import log, cos def main(b, p, m, y): res1 = 0 for j in range(1, b + 1): res1 += 34 * log(j) ** 3 + (p ** 3 + j ** 2) ** 4 / 59 + cos(j) res2 = 1 for j in range(1, m + 1): res2 *= abs(j) ** 2 - 0.02 - y ** 6 res = res1 + res2 return res" "import math def main(a, n, b): y = 1 z = 0 w = 0 for i in range(1, b + 1): for c in range(1, n + 1): for k in range(1, a + 1): x = math.ceil(k) ** 2 - 37 * c ** 3 - 9 * math.log2(i) ** 6 y = y * x z = z + y y = 1 w = w + z z = 0 return w" "import math def main(a, n, b): y = 1 z = 0 w = 0 for i in range(1, b + 1): for c in range(1, n + 1): for k in range(1, a + 1): x = math.ceil(k) ** 2 - 37 * c ** 3 - 9 * math.log2(i) ** 6 y = y * x z = z + y y = 1 w = w + z z = 0 return w" "import math def main(b, a, m, x): n1 = 0 n2 = 0 n3 = 1 n4 = 0 for j in range(1, b + 1): n1 = n1 + (j ** 3 / 73 + 72 * math.log(j)) for k in range(1, m + 1): for i in range(1, a + 1): for c in range(1, b + 1): y = i ** 7 + (x ** 3 - k ** 2 - 93 * c) ** 4 / 96 n2 = n2 + y n3 = n3 * n2 n2 = 0 n4 = n4 + n3 n3 = 1 n1 = n1 - n4 return n1" "import math def main(b, n, a): r1 = 1 r2 = 0 for k in range(1, n + 1): for i in range(1, b + 1): r1 *= 19 - math.floor(54 * i ** 3 + k ** 2 / 49 + 16) ** 4 for k in range(1, a + 1): r2 += 16 * pow(76 * k ** 2 - 60 - k, 3) return r1 + r2" "import math def main(m, b, y, a, n, x): f1 = 0 f2 = 0 for c in range(1, b + 1): for j in range(1, m + 1): f1 = f1 + (c ** 2 + 40 * y ** 3 + 42 * j) ** 4 for c in range(1, n + 1): for i in range(1, b + 1): for k in range(1, a + 1): f2 = f2 + 26 * c ** 4 + math.sin(x + 45 * k ** 3) + 26 * i - 1 return f1 + f2" "import math def main(*args): (n, m, z) = (args[0], args[1], args[2]) a1 = 0 a2 = 0 for k in range(1, m + 1): for j in range(1, n + 1): a1 += (31 + 9 * k ** 2 + z) ** 4 / 10 + 53 * j ** 6 for k in range(1, m + 1): a2 += math.log(k) / 16 - 45 * math.log(k, 2) ** 7 return a1 - a2" "def main(n, m, a): f = 0 for k in range(1, a + 1): for j in range(1, m + 1): for c in range(1, n + 1): f += 29 * pow(c, 7) + 6 * (1 + pow(j, 2) + 64 * k) return f" "def main(n, m, b): f = 0 for j in range(1, b + 1): for i in range(1, m + 1): for c in range(1, n + 1): a = 78 * pow(j, 12) - 57 * pow(j, 5) f += a - pow(0.01 - pow(i, 3) / 90 - pow(c, 2), 2) return f" "import math def main(n, a, b): sum = 0 for c in range(1, b + 1): for k in range(1, a + 1): for j in range(1, n + 1): sum += math.log(68 * j + k ** 3) + (c ** 2 / 48 - 98 * k ** 3) ** 4 / 55 return sum" "from math import sin def main(n, b): firstterm = 0 secondterm = 0 for c in range(1, n + 1, 1): firstterm += pow(c, 1 / 7) firstterm *= 70 for j in range(1, b + 1, 1): expofsecondterm = pow(j, 3) / 46 + 1 + 93 * j secondterm += 9 * sin(25 + j + pow(j, 3)) + pow(expofsecondterm, 4) return firstterm + secondterm" "import math def main(b, z, n, a): r1 = 0 r2 = 1 for c in range(1, b + 1): r1 += 40 * z ** 2 + 61 * math.log2(z) ** 3 + 31 * c ** 4 for i in range(1, a + 1): for k in range(1, n + 1): r2 *= (i ** 2 + 1 + k ** 3) ** 4 - 88 * math.floor(z) ** 5 - 1 return r1 + r2" "def main(n, a, m, y): sum_pr = 0 sum_final = 0 mn = 1 for i in range(1, m + 1): for c in range(1, a + 1): for j in range(1, n + 1): mn *= pow(round(pow(j, 2)), 4) + 24 * pow(77 * pow(i, 3) - 0.14 - pow(y, 2), 3) + 75 * c sum_pr += mn mn = 1 sum_final += sum_pr sum_pr = 0 return sum_final" "import math def main(b, m, n): res = 0 for k in range(1, n + 1): for j in range(1, m + 1): for i in range(1, b + 1): res += i ** 2 + (k - 1) ** 3 / 86 + math.log(j, 2) ** 6 return res" "import math def main(a, m, y, n, p): res = 0 res1 = 0 for i in range(1, m + 1): for j in range(1, a + 1): res += (85 * y ** 2 + i + 15 * j ** 3) ** 6 for i in range(1, n + 1): for c in range(1, a + 1): res1 += math.log(p, 2) ** 5 - i ** 7 - 57 * (i ** 3 / 79 + c) ** 4 return res + res1" "import math def main(a, m, b): sum = 0 for i in range(1, b + 1): for j in range(1, m + 1): for k in range(1, a + 1): sum += 1 - i ** 2 - (k ** 3 + i + 85 * j ** 2) ** 5 return sum" "import math def main(b, y, a, n): f = 0 for j in range(1, b + 1): f = f + y ** 2 + 92 * j ** 21 for k in range(1, n + 1): for j in range(1, a + 1): f += 71 + 52 * math.cos(k ** 2 / 7 + j ** 3 / 54 + 1) ** 3 return f" "import math def main(n, b, a, p): f = 0 for c in range(1, n + 1): f += 77 * c ** 12 for k in range(1, n + 1): for j in range(1, a + 1): for i in range(1, b + 1): f -= 54 * (p ** 2 + 62 * j ** 3) ** 2 + 75 * k ** 3 + math.tan(i) ** 6 return f" "import math def main(m, b, n): f = 0 for c in range(1, n + 1): for k in range(1, b + 1): for i in range(1, m + 1): f = f + math.sqrt(c ** 2 + 73 * k) ** 4 + 70 * i ** 7 + c ** 5 return f" "import math from math import * def main(m, b, a, y): j = 1 res = 0 res1 = 0 res2 = 0 c = 1 k = 1 for k in range(1, m + 1): res += tan(k) ** 4 for k in range(1, a + 1): for c in range(1, b + 1): for j in range(1, m + 1): res1 += k ** 3 + cos(87 * c - j ** 3 - 85 * y ** 2) + (c ** 3) ** 4 res2 = res - res1 return res2 main(6, 8, 4, 0.26)" "import math def main(b, m, z): result = 0 for c in range(1, b + 1): result += 65 + 30 * c ** 18 for k in range(1, m + 1): result += math.sqrt(93 * k ** 3 - k / 72 - 51 * z ** 2) ** 3 + 6 * abs(z) ** 5 return result" "import math def main(n, z, b, a): first = 0 for c in range(1, n + 1): first += z ** 4 - 76 * math.acos(c / 7) ** 3 - math.fabs(c) ** 6 second = 0 for j in range(1, a + 1): p = 0 for k in range(1, n + 1): u = 0 for c in range(1, b + 1): u += pow(c, 6) - math.sin(71 * j + 98 * pow(k, 2)) ** 7 - math.cos(k) / 39 p += u second += p return first - second" "from math import tan, log10 def main(b, m, y): res = 0 for j in range(1, m + 1): res2 = 0 for k in range(1, b + 1): res2 += (y ** 2 - y - 82) ** 7 res += res2 + tan(k) ** 6 + 34 * log10(j) ** 3 return res" "def main(b, n, a, p): res = 0 for j in range(1, a + 1): for c in range(1, n + 1): for k in range(1, b + 1): res += 50 * (j - p ** 3 - k ** 2) ** 3 - 32 - (c ** 2 + c) ** 4 / 82 return res" "import math def f(n, m): a = 1 b = 0 for i in range(1, m + 1): for c in range(1, n + 1): b += (69 * i ** 3 - i ** 2 - i) ** 4 - math.atan(c) ** 3 - c ** 2 a += b b = 0 return a def main(*args): return f(*args)" "import math def main(m, b, a): res = 0 for i in range(1, a + 1): for k in range(1, b + 1): for j in range(1, m + 1): res += (1 - j ** 2) ** 7 + 37 * (i - i ** 2 / 88 - k ** 3) ** 4 return res" "import math def main(n, b, m): f1 = 0 f2 = 1 f3 = 0 for i in range(1, m + 1): for c in range(1, b + 1): for j in range(1, n + 1): f1 += (c / 21 - 85 * i ** 2 - 78 * j ** 3) ** 5 - math.ceil(j) ** 7 f2 *= f1 f1 = 0 f3 += f2 f2 = 1 return f3" "import math def main(m, b, y, x): f = 0 for i in range(1, b + 1): for k in range(1, m + 1): f += pow(math.cos(74 * k + i * i / 27 + pow(y, 3)), 6) for k in range(1, m + 1): pow1 = pow(28 * x * x - 44 * x - 31 * pow(k, 3), 2) f += pow(x, 4) - pow1 return f" "import math def main(n, a, b): f = 0 for i in range(1, n + 1): f += 1 - i ** 7 for i in range(1, n + 1): for j in range(1, b + 1): for k in range(1, a + 1): f += (13 * k + j ** 3 / 30 + 2) ** 2 - i ** 7 return f" "import math def main(b, m, z): a0 = 0 for j in range(1, m + 1): for c in range(1, b + 1): a0 += 74 * (93 * j + z ** 3 + c ** 2) ** 5 for j in range(1, b + 1): for k in range(1, m + 1): a0 += 1 - k ** 3 / 76 - 30 * j ** 2 return a0" "import math def main(m, a, b): f1 = 0 f2 = 0 for j in range(1, m + 1): f1 = f1 + (86 + math.pow(92 * j * j, 5)) for i in range(1, b + 1): for j in range(1, a + 1): for k in range(1, m + 1): f2 = f2 + 38 + math.pow(k, 5) + math.pow(math.fabs(j + 19 * i * i), 6) f = f1 - f2 return f" "def main(b, a, m): S1 = 0 S2 = 0 P = 1 for k in range(1, m + 1): for i in range(1, a + 1): for c in range(1, b + 1): S1 += (i ** 3 - 22 * k - 26 * c ** 2) ** 2 - 26 * (66 * c - 5) ** 4 - 1 S2 += S1 S1 = 0 P *= S2 S2 = 0 return P" "import math def main(m, p, a, b, x): sum0 = 0 for c in range(1, m + 1): sum0 += p ** 2 - (c - 24 * p ** 3 - 95 * p ** 2) ** 5 sum1 = 0 for j in range(1, b + 1): sum2 = 0 for c in range(1, a + 1): sum2 += (1 - j - 11 * x ** 2) ** 7 - j ** 9 - 74 * math.atan(c) ** 5 sum1 += sum2 return sum0 + sum1" "from math import * def main(a, b, n): su1 = 0 su2 = 0 for k in range(1, a + 1): su1 += 48 * floor(k) - pow(ceil(k), 4) - 17 * pow(k, 3) for c in range(1, n + 1): for k in range(1, b + 1): su2 += pow(log(c), 4) - 68 * pow(12 * pow(c, 2) - pow(k, 3), 3) return su1 + su2" "def main(m, b, a): r2 = 0 r1 = 0 for c in range(1, b + 1): s1 = 0 for k in range(1, m + 1): s1 += k ** 3 - 5 * c ** 4 r1 += s1 for j in range(1, b + 1): s2 = 0 for c in range(1, m + 1): p = 1 for i in range(1, a + 1): p *= 71 * j ** 5 + (13 * i - c ** 2) ** 7 s2 += p r2 += s2 return r1 - r2" "def main(a, n, m, z): x = 1 for c in range(1, m + 1): x1 = 0 for i in range(1, n + 1): x2 = 1 for j in range(1, a + 1): x2 *= i ** 2 + j ** 6 + 43 * (71 * z ** 3 + c) ** 5 x1 += x2 x *= x1 return x" "import math def main(b, z, m): sum1 = 0 sum2 = 0 for k in range(1, b + 1): sum1 += k ** 5 / 72 + 50 * math.sqrt(z) ** 4 for c in range(1, m + 1): sum2 += c ** 4 return sum1 - sum2" "import math def main(m, n, a): sum = 0 for j in range(1, a + 1): for i in range(1, n + 1): for c in range(1, m + 1): sum += math.ceil(j ** 3 + 67 * j ** 2 + j) + 93 * math.ceil(c) ** 3 + 97 * i ** 2 return sum" "def main(n, m, a, p): sum_1 = 0 mult = 1 for j in range(1, a + 1): for c in range(1, m + 1): for k in range(1, n + 1): sum_1 += (p ** 3 - j ** 2) ** 7 + 1 + k ** 3 + (98 * c) ** 2 mult *= sum_1 sum_1 = 0 return mult" "import math def main(m, b, n, a, p): x = 0 z = 0 for j in range(1, b + 1): for c in range(1, m + 1): x = x + 42 * pow(74 * c + pow(j, 3), 7) for i in range(1, b + 1): for k in range(1, a + 1): for j in range(1, n + 1): z = z + pow(2 * pow(k, 3) - i - 68 * pow(p, 2), 5) / 48 - 68 * p - pow(j, 6) answ = x + z return answ" "import math def main(b, a, n, z): f = 0 for i in range(1, n + 1, 1): for j in range(1, a + 1, 1): for c in range(1, b + 1, 1): elem1 = math.pow(math.log(47 * math.pow(c, 3), 10), 4) elem2 = math.pow(i + math.pow(j, 3) + 1, 7) f += math.pow(z, 2) + elem1 + elem2 return f" "import math def main(m, b, a): f = 0 f1 = 1 f2 = 0 for j in range(1, a + 1): f1 = 1 for k in range(1, b + 1): f = 0 for i in range(1, m + 1): f += math.sin(k) ** 4 - 86 * j ** 6 - 87 * (k + i ** 3) ** 5 f1 *= f f2 += f1 return f2" "import math def main(b, m, a): s = 0 for c in range(1, a + 1): for j in range(1, m + 1): for k in range(1, b + 1): s += 34 * math.tan(j) ** 3 - 92 * (c ** 2 - k ** 3 - 1) return s" "import math def main(m, b): result3 = 0 for j in range(1, b + 1): for k in range(1, m + 1): a = j ** 6 / 82 - math.fabs(k) ** 4 b = 53 * math.sin(j + 37 * j ** 2 + 1) ** 7 result3 += a - b return result3" "from math import * def main(n, z, m, a): su1 = 0 su2 = 0 for j in range(1, n + 1): su1 += 41 * z - 43 * pow(83 * pow(z, 3) - 75 - pow(j, 2), 3) for c in range(1, a + 1): for i in range(1, m + 1): su2 += pow(pow(c, 2) + pow(c, 3), 6) - pow(i, 7) - 1 return su1 + su2" "import math def main(b, a, y): mul = 1 sum = 0 for k in range(1, a + 1): for c in range(1, b + 1): mul *= 74 * (k + c ** 3) ** 3 - (y / 79 + 60 * k ** 3) sum += mul mul = 1 return sum" "import math def main(n, b, a, x): result = 0 for c in range(1, a + 1): for i in range(1, b + 1): for k in range(1, n + 1): result += 86 * pow(i, 6) - 98 * pow(x - 10 * pow(k, 2) - pow(k, 3), 5) - pow(c, 2) return result" "import math def main(m, a, b, x): res1 = res2 = res = 0 res3 = 1 for k in range(1, m + 1): for c in range(1, a + 1): for i in range(1, b + 1): res1 += 79 * (0.02 - c ** 3 - 87 * k ** 2) + 1 + 6 * pow(math.tan(76 + i + x ** 3), 5) res2 += res1 res1 = 0 res3 += res2 res2 = 0 return res3" "from math import sqrt def main(n, z, m): res = 0 for k in range(1, n + 1): res += 18 * k + 14 * (z ** 3 + z ** 2 + 68) ** 3 for c in range(1, n + 1): for j in range(1, m + 1): res += 16 * c ** 2 - 8 * (69 + 42 * j) ** 5 - sqrt(c) ** 4 return res" "import math def main(n, a, b, p): summ = 0 for j in range(1, b + 1): for i in range(1, a + 1): for k in range(1, n + 1): chast = 46 * math.log10(31 * j + i ** 3 + 21 * p ** 2) ** 3 summ += 36 * math.log2(k) ** 6 - chast return summ" "def main(m, p, a, n): s = 0 for j in range(1, m + 1): c = 3 * (52 - p * p) ** 3 + j ** 2 + p ** 21 s += c for j in range(1, n + 1): for i in range(1, a + 1): q = 1 for k in range(1, m + 1): b = 70 * i ** 6 - (i ** 3 - 14 * j) ** 2 - (61 * p ** 2 + 8 * k ** 3) q *= b s += q return s" "def main(a, b, y): (c, j, first, second, third) = (1, 1, 0, 1, 0) for i in range(c, a + 1): for g in range(j, b + 1): first += 54 * (10 + i + 77 * y ** 2) ** 7 + g ** 6 for q in range(c, b + 1): second *= y ** 6 + q ** 7 / 5 third = first - second return third" "from math import sin, log def main(a, n, b): answer = float(0) for j in range(1, b + 1): for c in range(1, n + 1): for i in range(1, a + 1): answer += float(log(78 * c ** 3) ** 6 + sin(j - i ** 3)) return answer" "import math def main(b, n, p): r = 0.0 s = 0.0 j = 1 c = 1 for c in range(1, n + 1): for j in range(1, b + 1): r += c ** 2 - math.ceil(98 * j + 15 + p ** 3) ** 4 - 53 * c ** 6 s += r return s" "import math def main(b, a, n, m): x = 0 for j in range(1, a + 1): for i in range(1, b + 1): x += (i ** 3 - 66 - 62 * j) ** 4 - math.sqrt(j) ** 5 y = 0 for k in range(1, m + 1): for i in range(1, n + 1): y += 17 * k ** 2 + 51 * math.sqrt(i) ** 7 return x + y" "import math def main(a, b): part_1 = 0 for k in range(1, a + 1): part_1 = part_1 + k ** 4 / 14 part_2 = 0 for c in range(1, b + 1): part_2_1 = 51 * math.sin(c) ** 2 - 7031 * c ** 3 part_2_2 = 17 * (85 * c ** 2 + 0.04 + c) ** 4 part_2 = part_2 + part_2_1 - part_2_2 return part_1 + part_2" "import math def main(b, n, m): y = 0 for k in range(1, m + 1): for i in range(1, n + 1): for j in range(1, b + 1): y += math.sin(85 * j - 1 - 84 * i ** 3) - math.log2(k) ** 7 - j ** 4 return y" "import math def main(m, n, b, a, z): f1 = 0 f2 = 0 for k in range(1, n + 1): for i in range(1, m + 1): f1 += 20 * i ** 3 + math.sin(k ** 3) ** 5 for c in range(1, n + 1): for j in range(1, a + 1): for i in range(1, b + 1): f2 += j ** 5 + 87 * math.atan(14 * z ** 2 + 1 + 21 * c ** 3) ** 7 + 86 * i ** 3 return f1 + f2" "import math def main(a, b, m, z): result = 0 for j in range(1, m + 1): for k in range(1, b + 1): for c in range(1, a + 1): result += 67 * math.atan(z) ** 7 result += +c ** 10 / 85 + 92 * (j ** 2 - k ** 3) ** 3 return result" "from math import log def main(a, n, b, z): res = 0 for j in range(1, b + 1): for i in range(1, n + 1): for c in range(1, a + 1): res += j ** 2 - 15 * log(1 + i ** 2 + i ** 3) ** 4 - (c ** 2 + z) ** 3 return res" "import math def main(a, m, y, b, x): d = 0 for k in range(1, m + 1): for c in range(1, a + 1): d = d + (math.log(y) ** 3 + k ** 2 + 57 * c ** 4) e = 0 for k in range(1, b + 1): for j in range(1, m + 1): e = e + (31 * k ** 6 - j ** 5 - math.floor(x ** 3) ** 2) return d + e" "def main(b, m, x, n, y): answr = 0 for j in range(1, m + 1): midrslt = 1 for i in range(1, b + 1): midrslt = midrslt * ((20 * j ** 2) ** 2 - 52 * (x ** 3 - i) ** 4) answr = answr + midrslt answer2 = 0 for k in range(1, n + 1): answer2 = answer2 + (73 * (k ** 2 - 91 * y ** 3 - 0.03) - k ** 8) return answr + answer2" "def main(m, b, a): f = 0 for c in range(1, a + 1): for k in range(1, b + 1): for j in range(1, m + 1): f += j ** 2 + 23 * (2 * c ** 2) ** 6 + 13 * (18 * k ** 3) ** 7 return f" "import math def main(b, np, m, x): summation = 0 for c in range(1, m + 1): for i in range(1, np + 1): for k in range(1, b + 1): summation += 47 * math.sin(i) ** 4 - 64 * pow(x, 7) - pow(k - c * c, 3) return summation" "def main(m, b, a, p): f = 0 for k in range(1, a + 1): for c in range(1, b + 1): for j in range(1, m + 1): a = pow(pow(j, 2) + pow(c, 3), 7) f += a - 96 * pow(abs(53 * k), 2) - pow(p, 5) return f" "import math def main(a, m, n, x): res1 = 1 res2 = 0 for c in range(1, m + 1): for i in range(1, a + 1): res1 *= 23 * math.pow(c, 4) + c + math.pow(47 * c - 24 * math.pow(i, 2), 6) for k in range(1, n + 1): for c in range(1, m + 1): res2 += 60 - math.pow(c, 4) - (21 * math.pow(k, 2) - math.pow(x, 3) - 28 * x) return res1 + res2" "import math def main(m, x, a, n, p): first_counter = 1 for c in range(1, m + 1): first_counter *= 52 * (52 * x ** 2 - c / 69 - 85) ** 7 - x ** 6 second_counter = 0 for c in range(1, n + 1): third_counter = 0 for i in range(1, a + 1): third_counter += 53 * (c / 36 + 1) ** 6 + math.tan(i - 33 * c ** 3) + math.exp(p) second_counter += third_counter return first_counter - second_counter" "def main(n, y): a = 0 b = 0 for k in range(1, n + 1): a = a + (k ** 7 + k ** 5 / 10 + k) for j in range(1, n + 1): b = b + (j ** 3 - 17 * j ** 2) ** 4 + (36 + 41 * y + 32 * y ** 2) ** 3 fun = a + b return fun" "import math def f(m, n, a, x): sum_1 = 0 for c in range(1, n + 1): sum_2 = 0 for k in range(1, m + 1): sum_2 += 94 * (94 * k ** 3 - 2 - 49 * c) ** 4 - math.cos(c) / 53 sum_1 += sum_2 sum_3 = 0 for j in range(1, a + 1): sum_3 += 17 * j ** 4 - (x ** 3 + 86 * j) ** 6 sum_1 += sum_3 return sum_1 def main(a=8, b=4, c=8, d=0.39): return f(a, b, c, d)" "def main(a, b, m, z): x1 = 0 x2 = 1 x3 = 0 for i in range(1, m + 1): for c in range(1, b + 1): for k in range(1, a + 1): x3 = x3 + 70 - pow(c, 4) - pow(pow(i, 2) - pow(z, 3) - k / 10, 3) x2 = x2 * x3 x3 = 0 x1 = x1 + x2 x2 = 1 return x1" "def main(n, m): res = 0 for i in range(1, m + 1): for j in range(1, n + 1): res += (i ** 2 / 41 - 77 * j ** 3) ** 4 / 27 + 16 + 2 * i ** 6 return res" "from math import log def math(k, i, c): return log(k) ** 2 - i ** 6 - 91 * abs(i ** 2 - c - 88) ** 7 def main(a, m, b): sum_i = 0 for i in range(1, b + 1): sum_c = 0 for c in range(1, m + 1): sum_k = 0 for k in range(1, a + 1): sum_k += math(k, i, c) sum_c += sum_k sum_i += sum_c return sum_i" "import math def main(a, m, b): res = 0 for i in range(1, a + 1): for c in range(1, m + 1): for k in range(1, b + 1): res += math.tan(c + 62 + k ** 3) ** 3 - 65 * k - 81 * i ** 4 return res" "def main(b, n, m, p): j = 1 pr = 1 while j <= m: c = 1 sum1 = 0 while c <= n: k = 1 sum2 = 0 while k <= b: sum2 += j ** 6 - (k ** 2 + c + p ** 3) ** 3 / 6 k += 1 sum1 += sum2 c += 1 pr *= sum1 j += 1 return pr" "from math import sqrt, ceil def f(a, m, n): sum = 0 for j in range(1, n + 1): for k in range(1, m + 1): for c in range(1, a + 1): sum += 78 * c ** 2 - j - 9 * j ** 3 + ceil(3 + k) ** 7 return sum def main(a=3, m=4, n=2): return f(a, m, n)" "def sum_1(a, m, b): result = 0 for i in range(1, b + 1): result += mul_1(a, m, i) return result def mul_1(a, m, i): result = 1 for j in range(1, m + 1): result *= sum_2(a, j, i) return result def sum_2(a, j, i): result = 0 for k in range(1, a + 1): result += (k ** 2 + 1 + j ** 3) ** 2 + 57 * i ** 5 return result def main(a, m, b): return sum_1(a, m, b)" "import math def main(m, x, n, a): s_1 = 0 s_2 = 0 for i in range(1, m + 1): kof = i * i / 30 + i ** 3 s_1 += 22 * kof ** 4 + 75 + 48 * x * x for q in range(1, a + 1): for j in range(1, m + 1): for t in range(1, n + 1): s_2 += 44 * math.tan(q) ** 5 + j ** 2 + t ** 7 s = s_1 + s_2 return s" "import math def main(m, n): f = 0 for j in range(1, n + 1): for k in range(1, m + 1): f = f + k ** 6 / 57 - 83 * k ** 2 - (0.02 + 58 * j ** 2 + 22 * j ** 3) ** 2 return f" "import math def main(m, p, a, b, z): res = 0 res1 = 0 for k in range(1, m + 1): res += 24 * (70 * k + 4 * p ** 3 + 67 * k ** 2) ** 2 for j in range(1, b + 1): for c in range(1, m + 1): for i in range(1, a + 1): res1 += i ** 5 + 67 * c ** 3 + math.floor(j ** 3 + 90 * c + 70 * z ** 2) return res + res1" "import math def main(b, a, m): summa1 = 0 summa2 = 0 for c in range(1, a + 1): for j in range(1, b + 1): summa1 += math.atan(93 * c + 80 * j ** 3) ** 3 summa2 += summa1 summa1 = 0 for c in range(1, m + 1): summa1 += 63 * c ** 7 return summa2 - summa1" "def main(a, b, n, p): ret = 0 for k in range(1, n + 1): for i in range(1, b + 1): for j in range(1, a + 1): ret += 58 * i ** (3 / 2) - (29 * j ** 3 + 80 * p + 69 * k ** 2) ** 6 return ret" "import math from math import * def main(b, n, m, y): w = 0 for i in range(1, m + 1): for j in range(1, n + 1): for k in range(1, b + 1): w = w + (16 * (71 - 92 * y ** 2 - 67 * i ** 3) ** 3 - atan(k ** 3) - j ** 4) return w main(5, 3, 3, -0.81)" "import math def main(a, n, b): z = 0 for i in range(1, b + 1): for j in range(1, n + 1): for c in range(1, a + 1): z += 48 * math.floor(c) ** 7 + 99 * i ** 4 + math.ceil(j) ** 3 / 10 return z" "import math def main(a, n): result = 0 for c in range(1, n + 1): for i in range(1, a + 1): result += 72 * (28 - i * i / 86) ** 5 + 50 * (57 + c ** 3 + c) + 6 * math.atan(i) ** 7 return result" "import math def main(a, m, p, b): z = 0 for c in range(1, m + 1): for j in range(1, a + 1): z += j ** 12 + (c ** 2 + 80 * j) ** 3 + 11 * p ** 4 o = 0 for k in range(1, a + 1): for c in range(1, m + 1): for j in range(1, b + 1): o += 68 * j ** 6 + 66 * (c ** 3 + 1 + 91 * k ** 2) ** 7 + math.floor(c) ** 2 return z + o" "import math def main(a, n): v1 = sum([c ** 7 for c in range(1, a + 1)]) v2 = sum([sum((math.tan(c) ** 7 + 24 * (i ** 3 / 84 + c ** 2 + 1) ** 6 for c in range(1, a + 1))) for i in range(1, n + 1)]) return v1 - v2" "def main(n, b, m, z): f = 0 for k in range(1, m + 1): for i in range(1, b + 1): for c in range(1, n + 1): f += pow(89 * k * k * k - z * z, 7) - 93 * pow(i, 6) - c return f" "def main(n, b, y): s = 0 for i in range(b): for k in range(n + 1): s += pow(i ** 2 + 97 * y, 2) / 54 + pow(1 + y + 31 * pow(k, 3), 7) return s" "import math def main(b, m, p): res = 0 for k in range(1, m + 1): for c in range(1, b + 1): res += p ** 2 + 45 * (k ** 2 + 1.0 + c ** 3) ** 5 + math.sqrt(c) ** 4 return res" "from math import asin def f(m, b, n): answ = float(0) for c in range(1, m + 1): answ += 59 * c ** 6 - asin(c ** 2 / 48) ** 3 / 60 for c in range(1, n + 1): for k in range(1, b + 1): for i in range(1, m + 1): answ += (1 - i ** 3 - 67 * k ** 2) ** 2 - 55 * (61 * k ** 3 + 87 * c ** 2) ** 5 return answ def main(arg1, arg2, arg3): return f(arg1, arg2, arg3)" "def main(a, b, m, z): sol1 = 0 sol2 = 0 for c in range(1, b + 1): for i in range(1, a + 1): sol1 = sol1 + (1 - c ** 6 - 7 * (11 - 8 * c ** 2 - i / 93)) for k in range(1, m + 1): for i in range(1, b + 1): sol2 = sol2 + (z ** 7 / 9 + (83 + k ** 2 + 59 * i) ** 2 + k ** 8) sol = sol1 - sol2 return sol" "def main(b, m, n): sm = 0 for i in range(1, b + 1): for j in range(1, m + 1): for c in range(1, n + 1): sm += (c - 34 * i ** 3) ** 2 + 47 * (75 * i ** 2 + c + 5 * j ** 3) ** 6 return sm" "def main(m, n, x): a = 0 for j in range(1, n + 1): for i in range(1, m + 1): a += x ** 6 + j ** 2 + 8 * j ** 2 - 1 - i ** 3 / 11 return a" "def main(n, b): mult = 1 sum2 = 0 for i in range(1, b + 1): sum1 = 0 for k in range(1, n + 1): sum1 += i ** 3 - k ** 4 mult *= sum1 for i in range(1, b + 1): sum2 += i ** 5 - 13 * i ** 3 - 59 return sum2 + mult" "import math def main(b, m, n, z): v = 0 f = 0 e = 0 for j in range(1, m + 1): for c in range(1, b + 1): f += (j + 26 * c ** 3 + 31) ** 4 + 37 for c in range(1, n + 1): e = (44 * z - 1) ** 3 + (z ** 3 - 1) ** 5 v = 28 * math.floor(79 - c ** 3 - z) ** 2 r = e + f + v return r" "def main(n, b, p): temp = 0 for j in range(1, b + 1): for k in range(1, n + 1): z = 56 * j ** 2 - p ** 6 / 40 - (k ** 3 + p) / 28 temp += z return temp" "import math def func(n, m, b, z): f = f1 = f2 = float(0) c = int(1) j = int(1) k = int(1) for k in range(n + 1): if k == 0: continue for j in range(m + 1): if j == 0: continue for c in range(b + 1): if c == 0: continue f = f + float(pow(c / 39 - pow(z, 3), 6) + pow(k / 29 - pow(j, 3) / 33, 2)) return f def main(n, m, b, z): n = int(n) m = int(m) b = int(b) z = float(z) return func(n, m, b, z) main(2, 5, 6, -0.38)" "import math def main(m, b, n, z): summ = 0 for i in range(1, n + 1): for c in range(1, b + 1): for k in range(1, m + 1): summ += math.exp(i) ** 5 + z ** 2 + (c + k ** 3 + 65 * k ** 2) ** 4 return summ" "import math from math import pow def main(a, m, b, n, z): sum_po_j = 0 for j in range(1, a + 1): sum_po_j += 13 * pow(1 + 91 * pow(j, 2), 3) - pow(math.atan(1 - j - pow(j, 3)), 7) - j sum_po_k = 1 for k in range(1, n + 1): sum_po_i = 0 for i in range(1, b + 1): sum_po_c = 0 for c in range(1, m + 1): sum_po_c += pow(c, 5) + 91 * pow(72 * pow(z, 3) - 99 - 78 * pow(i, 2), 7) + 63 * pow(k, 2) sum_po_i += sum_po_c sum_po_k *= sum_po_i return sum_po_j - sum_po_k" "import math def main(a, y, b, n, x): sum1 = 0 sum2 = 0 for c in range(1, a + 1): rex1 = pow(pow(y, 2) / 70 - pow(c, 3) - c, 3) / 97 sum1 = sum1 + rex1 + 45 * pow(c, 4) + 1 for k in range(1, n + 1): for j in range(1, b + 1): rex2 = pow(0.02 + 90 * pow(x, 2), 5) sum2 = sum2 + (rex2 + 18 * pow(math.atan(70 - 31 * k), 2) + j) sum = sum1 - sum2 return sum" "import math def main(n, b, m): s1 = s2 = 0 for k in range(1, b + 1): for j in range(1, n + 1): s1 += math.log10(j) ** 7 + j + k ** 5 / 4 for i in range(1, m + 1): for c in range(1, n + 1): s2 += math.atan(i) ** 6 - 14 * i - 43 * (96 * i ** 2 + c) ** 5 s = s1 - s2 return s" "def main(x, y): result = 0 for ii in range(1, y + 1): for jj in range(1, x + 1): result += 74 * (99 * ii ** 3 - jj - 77 * jj ** 2) ** 7 + ii ** 6 + 1 return result" "from math import * def main(n, p, m): left = 0 right = 0 for j in range(1, n + 1): left += (j + p ** 2) ** 3 for i in range(1, m + 1): for j in range(1, n + 1): right += (4 * i ** 2 + 1 + j ** 3 / 90) ** 7 / 52 return left + right" "def main(a, n, b, y): import math c = 1 i = 1 k = 1 s = 0 for c in range(b): for i in range(n): for k in range(a): r = math.cos(83 * (i + 1) * (i + 1) * (i + 1) - 20 * (c + 1) * (c + 1)) s = s + ((k + 1) * (k + 1) / 59 - r ** 3 - y) return s" "def main(b, x, n, z): r1 = 1 r2 = 0 for i in range(1, b + 1): r1 *= 78 * i ** 2 + 4 * x ** 5 + 9 * i ** 6 for c in range(1, n + 1): for k in range(1, b + 1): r2 += (k ** 5 + (z ** 2 - 4 - c ** 3) ** 2 + (k + 74 * k ** 3) ** 6) / 85 return r1 - r2" "from math import * def main(m, a, n, p): f = 0 for k in range(1, n + 1): f2 = 0 for j in range(1, a + 1): f3 = 0 for i in range(1, m + 1): f3 += pow(i, 3) + pow(k, 2) + pow(1 + 76 * p + 39 * pow(j, 2), 2) + pow(tan(i), 6) f2 += f3 f += f2 return f" "from math import fabs def main(a, m): fsum = 0 for j in range(1, a + 1): fsum += 30 * (26 * j ** 3) ** 4 ssum = 0 for i in range(1, m + 1): for k in range(1, a + 1): ssum += 27 * fabs(i) ** 4 - (42 * k ** 2) ** 3 - 92 * i ** 6 f = fsum - ssum return f" "import math def main(n, b, a): sum = 0 for j in range(1, a + 1): for i in range(1, b + 1): for k in range(1, n + 1): sum += 6 * j ** 3 sum += +math.floor(1 - 47 * k - j ** 2 / 84) ** 7 sum += i ** 6 return sum" "def main(n, a, m, y): s = 0 for c in range(1, m + 1): for j in range(1, a + 1): for k in range(1, n + 1): x = 25 * c ** 2 + (92 * y ** 3 - 1 - 10 * k) ** 7 + 67 * j s += x return s" "def main(n, a, m): x = 0 for c in range(1, m + 1): for j in range(1, a + 1): for k in range(1, n + 1): x += 80 * k ** 6 + (j ** 3 - 1 - c) ** 7 + 99 * (1 + j ** 3) return x" "from math import asin, prod def f(i: int, k: int, x: float): return (86 + k / 18 + 36 * k ** 2) ** 4 - i ** 7 - 27 * asin(x) ** 3 def main(n: int, b: int, x: float): return prod([sum([f(i, k, x) for i in range(1, n + 1)]) for k in range(1, b + 1)])" "import math def main(b, m): s = 0 for i in range(1, m + 1): f = 1 for c in range(1, b + 1): f *= math.sin(85 * c ** 3) ** 4 + (9 * c - 27 * c ** 3 - 51 * i ** 2) ** 2 s += f return s" "import math def main(n, a): sum_1 = 0 for k in range(1, a + 1): sum_2 = 0 for j in range(1, n + 1): sum_2 += 13 * (85 + 57 * j ** 2 + k ** 3) ** 5 sum_1 += sum_2 sum_3 = 0 for k in range(1, a + 1): sum_3 += math.sqrt(60 * k ** 3 + 1 + k) ** 5 - k ** 7 - k ** 12 sum_1 += sum_3 return sum_1" "import math def main(b, z, a, n): res = 0 for c in range(1, b + 1): res += 5 * z ** 3 - 80 * math.cos(z) ** 2 - 88 * math.cos(c) ** 4 res0 = 1 for j in range(1, b + 1): res1 = 0 for k in range(1, n + 1): res2 = 0 for i in range(1, a + 1): res2 += 88 * (65 * j) ** 6 + 19 * (65 * i ** 2 - 16 * k) ** 7 res1 += res2 res0 *= res1 return res + res0" "def main(a, b, x): f = 0 for j in range(1, b + 1): for k in range(1, a + 1): c = (46 - k ** 3 - 63 * x * x) ** 6 f = f + (x ** 4 - 9 * j - 42 * c) return f" "def main(n, a, m): sum = 0 for c in range(1, m + 1): for j in range(1, a + 1): for i in range(1, n + 1): sum += (c - 34 * j ** 2 - 81) ** 2 - 76 * (72 * i ** 3 - 51 * c) ** 7 return sum" "import math def main(b, a, z): d = 0 for c in range(0, a): for i in range(0, b): x = z ** 3 + 80 * z + 74 * (i + 1) ** 2 d += 69 * z ** 6 - x - 18 * (c + 1) ** 5 return d" "def main(a, m, b): s1 = 0 s2 = 0 s3 = 0 for c in range(1, b + 1): for i in range(1, m + 1): for j in range(1, a + 1): s1 += j + (50 * c - c ** 3) ** 2 + 25 * i ** 3 s2 += s1 s1 = 0 s3 += s2 s2 = 0 return s3" "from math import sqrt def main(n, m, x): result = 0 for i in range(1, m + 1): for c in range(1, n + 1): result += (90 * x ** 2) ** 5 + c ** 2 + 88 * sqrt(46 * x + i ** 2) ** 4 return result" "def main(a, m, b): s1 = 0 s2 = 1 for j in range(1, a + 1): s1 += 47 * pow(13 * j - j * j - 1, 2) for i in range(1, b + 1): for c in range(1, m + 1): s2 *= 49 * pow(pow(i, 3) - c / 84 - 88, 3) return s1 + s2" "import math def main(m, a, p): c = 0 b = 0 for i in range(1, m + 1): c = c + i ** 4 + math.log(i, 2) for k in range(1, a + 1): b = b + (p - 96 * k * k) result = c - b return result" "import math def main(b, z, n, m): x = 0 y = 0 for i in range(1, b + 1): x += math.sqrt(1 + i ** 3 + 88 * z) + z ** 3 for k in range(1, m + 1): for i in range(1, n + 1): y += 95 + 74 * i ** 6 + k ** 14 return x + y" "def main(n, a, m, p): sum_1 = 0 sum_2 = 0 for c in range(1, n + 1): sum_1 = 29 * c ** 7 + 1 for k in range(1, m + 1): for j in range(1, a + 1): sum_2 += k - 51 * (55 * k + p ** 2 + 51) ** 4 sum_1 -= sum_2 return sum_1" "import math def main(m, b, a, y): r = 0 for j in range(1, a + 1): for i in range(1, b + 1): for k in range(1, m + 1): r = r + (pow(i * i * i + 74 * k * k + 1, 3) / 56 + j * j + 82 * y - k * k * k) return r" "import math def main(m, n, a, z): def exp(i, j, c, z): d = math.atan(j) ** 4 return (47 * z ** 2 + i ** 3 + i / 37) ** 6 - c ** 7 - d w = 0 g = 0 p = 0 for i in range(1, a + 1): g = 0 for j in range(1, n + 1): w = 0 for c in range(1, m + 1): w += exp(i, j, c, z) g += w p += g return p" "import math def main(b, x, n, p): r = 0 a = 0 for k in range(1, b + 1): r += 91 + math.pow(math.log2(77 * math.pow(k, 3) + 71 * math.pow(x, 2) + 7 * k), 3) for k in range(1, n + 1): for i in range(1, b + 1): a += math.ceil(i) ** 3 + 73 * math.tan(p ** 3 / 44) ** 5 + 5 * math.ceil(k) ** 4 +5 * math.pow(math.ceil(k), 4) return r - a" "import math def main(m, x, n, a, b): f = 0.0 for c in range(1, m + 1): f = f + ((88 * x + x ** 3 + c ** 2 / 65) ** 4 - math.exp(c ** 3 / 39) ** 6 / 36) for c in range(1, b + 1): for i in range(1, a + 1): for j in range(1, n + 1): f = f - (2 ** (1 - 43 * i ** 2) ** 3 + (48 * c + 92 * j ** 2) ** 6 + 62) return f" "def main(a, m, b): ans = 0 for i in range(1, b + 1): t = 0 for c in range(1, m + 1): x = 1 for j in range(1, a + 1): x *= c ** 2 + (2 * j - c ** 3 - 1) ** 5 + i ** 3 t += x ans += t return ans" "def main(b, a, m): res = 0 for c in range(1, m + 1): for i in range(1, a + 1): for k in range(1, b + 1): res += 44 - 37 * pow(3 + 71 * k ** 2 + i, 5) - 13 * pow(c ** 3 - i ** 2, 4) return res" "import math def main(m, b, a, x): s1 = 0 for i in range(1, a + 1): s2 = 1 for c in range(1, b + 1): s3 = 0 for k in range(1, m + 1): s3 += (12 * x ** 2 + k) ** 3 + (99 * c) ** 7 + 40 * math.sin(i) ** 4 s2 *= s3 s1 += s2 return s1" "def main(b, a, m, x): z = 0 q = 0 for k in range(1, a + 1): for j in range(1, b + 1): z += 85 * k ** 7 - j ** 4 for c in range(1, m + 1): for j in range(1, a + 1): q += 87 * (x ** 2 + 75) - 76 * (c ** 2 + 0.02) ** 3 - j ** 4 return z - q" "import math def main(b, n, m): sum1 = 0 sum2 = 1 for i in range(1, b + 1): sum1 += 64 * (i ** 3 - i * i / 78) ** 4 - i / 50 - math.exp(i) ** 4 x = 0 y = 1 for j in range(1, m + 1): for i in range(1, b + 1): for c in range(1, n + 1): y *= 45 * (54 * i ** 3 - 7 - c / 56) ** 7 - j ** 3 x += y y = 1 sum2 *= x x = 0 return sum1 + sum2" "import math def main(b, p): l1 = [] l2 = [] for i in range(1, b + 1): a = 16 * i ** 4 - p ** 6 l1.append(a) b = math.tan(i) ** 6 / 98 l2.append(b) return math.fsum(l1) - math.fsum(l2)" "def main(n, b, p): sum = 0 for j in range(1, b + 1): for k in range(1, n + 1): sum += j // 1 - 82 * p ** 5 - 52 * (p - k * k / 79) ** 7 return sum" "import math def main(a, m): c = 1 res = 0 while c < a + 1: res += pow(1 - 86 * c, 6) - 98 - 38 * math.log10(c) c += 1 for c in range(1, a + 1): for i in range(1, m + 1): res += 57 * pow(math.log2(1 + pow(i, 2) + 42 * c), 2) i += 1 c += 1 return res" "import math def func(k, i, j, p): return math.log2(j) ** 5 / 24 - (k ** 3 + p) ** 2 / 68 - 81 * (20 * i ** 3) ** 7 def main(m, b, n, p): sum_k = 0 for k in range(1, n + 1): sum_i = 0 for i in range(1, b + 1): sum_j = 0 for j in range(1, m + 1): sum_j += func(k, i, j, p) sum_i += sum_j sum_k += sum_i return sum_k" "import math def main(b, n, a, z): sum1 = 0 for j in range(1, b + 1): sum1 += (1 + 60 * j) ** 6 / 39 sum2 = 0 for j1 in range(1, a + 1): for i in range(1, n + 1): for k in range(1, b + 1): num1 = math.exp(i ** 2 - j1 ** 3 - z / 52) ** 3 num2 = 94 * math.sqrt(k) sum2 += num1 - num2 return sum1 - sum2" "from math import sin def main(b, a, x): sumi = 0 sumj = 0 for i in range(1, a + 1): for c in range(1, b + 1): sumi = sumi + (76 * i - c ** 14 / 72) for j in range(1, a + 1): sumj = sumj + (96 * sin(x) ** 6 + j ** 14) return sumi + sumj" "import math def main(m, a, b): ans = 0 for i in range(1, b + 1): for c in range(1, a + 1): for j in range(1, m + 1): ans += (j ** 2 - 8 * c) ** 5 - j ** 8 - math.atan(i) ** 3 return ans" "import math def main(m, a): count = 0 answer = 0 for i in range(1, a + 1): for j in range(1, m + 1): answer += 79 * i ** 4 + i ** 3 / 5 + 2 * j count += 1 count = 0 ananas = 0 for k in range(1, a + 1): ananas += 79 - 86 * (2 * k ** 2) ** 6 count += 1 return ananas + answer" "import math def main(n, z, y): res_1 = 0 res_2 = 0 for k in range(1, n + 1): j = k sum_1 = (0.01 - 11 * z ** 3) ** 7 + math.exp(j) ** 4 res_1 += sum_1 for s in range(1, n + 1): i = s sum_2 = 96 * y ** 7 - math.log(i) ** 2 res_2 += sum_2 return res_1 + res_2" "def main(n, b, a, y): summ = 0 for j in range(1, a + 1): for k in range(1, b + 1): for i in range(1, n + 1): summ += 71 * pow(19 + 11 * pow(k, 2), 2) - 75 * pow(pow(y, 3) / 37 - i, 7) - pow(j, 6) return summ" "from math import pow def main(a, m, n): result = 0 for j in range(1, n + 1): for i in range(1, m + 1): for k in range(1, a + 1): result += k ** 6 + 96 * pow(44 * i ** 2 + j, 2) + 61 * k ** 3 return result" "import math def main(a, y, n, z): f = 0 for k in range(1, a + 1): b = math.fabs(30 * y + 1) / 30 f += k ** 4 + b + (53 * y ** 3 + 62 * y * y) ** 5 for c in range(1, n + 1): for i in range(1, a + 1): f += 5 * (71 * c * c - 48 - 29 * c ** 3) ** 4 + z ** 7 / 68 + i return f" "import math def main(a, n, z): b = 0 m = 0 k = 1 j = 1 sum = 0 for j in range(n): j += 1 for k in range(a): k += 1 c = (z ** 2 + 0.14 + j ** 3 / 10) ** 7 - (42 * k + 45 * k ** 3) ** 5 sum = sum + c return sum" "import math def main(a, m, p): sum = 0 for c in range(1, m + 1): for i in range(1, a + 1): sum += 84 * i * i + 95 * p ** 3 + (74 * i * i + c + i ** 3) ** 7 return sum" "import math def main(m, x, n, a): f = 0 for k in range(1, m + 1): g = (89 * k + k ** 2 + 84) ** 4 / 61 h = 35 * k - 72 * math.floor(x) ** 2 f += g - h for i in range(1, a + 1): for c in range(1, n + 1): f -= 87 * c ** 3 + x ** 6 + math.atan(67 * i ** 3) ** 4 return f" "def main(b, n, a): result = 0 for i in range(1, b + 1): result += 76 * (21 * i * i) ** 2 - (15 * i - 1 - i * i / 90) for j in range(1, a + 1): s = 0 for c in range(1, n + 1): s += (j * j + 51) ** 7 + (c ** 3 - j) ** 6 / 42 result -= s return result" "def main(n, m, a, p): res = 0 for k in range(1, a + 1): for c in range(1, m + 1): for i in range(1, n + 1): res += (52 * p ** 3 + i + 0.01) ** 6 + k ** 3 + 33 * (30 * i ** 2 + 92 * c) return res" "def main(m, b, n, y): f = 0 for i in range(1, n + 1): for k in range(1, b + 1): for c in range(1, m + 1): a = (92 * k - i ** 2 / 88 - y ** 3) ** 6 j = 28 * i ** 2 h = 19 * c ** 3 f += a - j - h return f" "import math def main(b, m, a, n): w = 0 x = 0 g = 0 p = 0 for j in range(1, m + 1): for i in range(1, b + 1): g = g + 44 * j ** 2 + 70 * i ** 3 w = w + g g = 0 for k in range(1, n + 1): for i in range(1, a + 1): d = 28 * math.cos(k) ** 7 + i / 76 x = x + d p = p + x x = 0 return w + p" "import math def main(n, a, m): s = 0 s1 = 0 s2 = 0 s3 = 0 for i in range(1, m + 1): for j in range(1, a + 1): for k in range(1, n + 1): s += 90 * (5 * k - j ** 3 - 0.01) ** 6 - i ** 5 - math.tan(i) ** 2 s2 = s1 s1 = 0 s3 += s2 s2 = 0 return s" "def main(m, b, z): f = 1 for j in range(1, b + 1): for i in range(1, m + 1): f = f * 20 * (j ** 3 + j ** 2 / 65 + i) ** 7 - z ** 9 return f" "import math def main(a, b, z): n = 0 for k in range(1, b + 1): for c in range(1, a + 1): n += 75 * math.atan(36 * k ** 3 + 48 * z + 0.02) - c ** 4 / 70 - z ** 5 return n" "import math def main(n, a): firstsum = 0 secondsum = 0 for i in range(1, n + 1): firstsum += (i ** 2 - 84 - i) ** 2 for k in range(1, n + 1): for c in range(1, a + 1): secondsum += k - 70 * (69 * k - c ** 3) ** 6 return firstsum - secondsum" "def main(n, m, a): temp = 0 for i in range(1, a + 1): for j in range(1, m + 1): for k in range(1, n + 1): temp += k ** 4 - 2 * j ** 5 - (k ** 2 + i ** 3 + 23 * k) ** 2 return temp" "from math import log2 def main(n, a, b, m): one = 1 two = 0 for i in range(1, n + 1): one *= 54 * (i - 49 * i * i - 1) ** 4 - 47 for i in range(1, m + 1): for k in range(1, b + 1): for j in range(1, a + 1): two += 69 * (44 * j * j + 1) - k ** 5 - log2(i) ** 2 return one - two" "import math def main(a, p, b, m, z): summa1 = 0 summa2 = 0 for c in range(1, a + 1): summa1 += math.tan(p * p + 73 * c) ** 4 / 40 - (p * p / 43) ** 5 for j in range(1, m + 1): for c in range(1, b + 1): summa2 += (c * c - j ** 3 - 1) ** 5 + z ** 6 + 83 * (62 * z ** 3) ** 4 return summa2 + summa1" "def main(n, p, b): ans = 0 for c in range(1, n + 1): ans += 70 * c ** 3 - 30 * (c - c ** 3 / 89) ** 4 - abs(p) ** 5 / 27 temp_ans = 1 for c in range(1, b + 1): temp_ans *= c ** 4 return ans + temp_ans" "import math def main(a, b, y): pr = 1 res = 0 for j in range(1, b + 1): for c in range(1, a + 1): pr *= y ** 3 - (y ** 2 + 26 * c ** 3 + 74 * y) ** 5 - 78 * j ** 6 res += pr pr = 1 return res" "import math def main(a, m): s1 = 0 for k in range(1, m + 1): for c in range(1, a + 1): s1 += 78 * c ** 2 - 98 * c - 27 * k ** 7 s2 = 0 for i in range(1, m + 1): for j in range(1, a + 1): s2 += 89 * i ** 4 - math.sqrt(j ** 3) ** 6 - 74 return s1 + s2" "import math def main(n, a, y): summa1 = 0 for k in range(1, n + 1): o1 = math.pow(k ** 3 / 99 - 18 * k, 4) summa1 = summa1 + o1 summa2 = 0 for i in range(1, n + 1): for k in range(1, a + 1): o2 = math.pow(y, 7) - math.log(20 + k / 53, 10) ** 2 / 44 o3 = i ** 2 / 44 - 84 - i o4 = math.pow(o3, 3) o5 = o2 - o4 summa2 = summa2 + o5 p = summa1 + summa2 return p" "import math from math import ceil def main(a, b): res = 0 for c in range(1, b + 1): for i in range(1, a + 1): res += i ** 7 + 70 * (c + 2 * c ** 3) ** 5 + ceil(c) ** 4 / 48.0 return res" "import math def main(n, b, m): ans = 0 for j in range(1, m + 1): for c in range(1, b + 1): for k in range(1, n + 1): ans += c * c + 50 * math.tan(60 * j - 66 - 6 * k * k) ** 4 return ans" "import math def main(a, y, n, z): sum1 = 0 for c in range(a + 1): sum1 += math.log10(5) * (22 * y ** 2 - y ** 3 / 35) - c ** 7 sum2 = 0 for i in range(n + 1): sum2 += z + 67 * (z + 63 * z ** 3 + 89 * i ** 2) ** 5 return sum1 - sum2" "import math def main(m, b, p): s1 = 0 s2 = 0 for i in range(1, m + 1): s1 += i ** 7 - 1320 * i ** 2 for j in range(1, b + 1): for i in range(1, m + 1): s2 += 6 * p ** 3 - p + abs(j) ** 7 + 76 * i ** 3 return s1 + s2" "import math def main(a, n, m, y): res = 0 for k in range(1, m + 1): for j in range(1, n + 1): for c in range(1, a + 1): res += (46 - c * c - j ** 3) ** 4 - 97 * math.exp(k ** 2) ** 6 - y / 80 return res" "import math def main(m, n, a): allsum = 0 for k in range(1, a + 1): proiv = 1 for j in range(1, n + 1): sum = 0 for c in range(1, m + 1): sum += k ** 18 + math.sqrt(j ** 3 + c ** 2 / 3) ** 7 proiv *= sum allsum += proiv return allsum" "import math def main(m, b, p, n): count = 0 for i in range(1, b + 1): for k in range(1, m + 1): count += math.pow(i + math.pow(k, 3) + math.pow(p, 2), 5) - 19 * math.pow(k, 3) for c in range(1, n + 1): for k in range(1, m + 1): count += math.pow(k, 3) + 1 + 85 * c return count" "import math def main(b, m, x, n, a): sum1 = 0 for k in range(1, m + 1): for c in range(1, b + 1): sum1 += pow(math.log(k, 10), 5) - pow(x, 6) - pow(c, 7) sum2 = 0 for j in range(1, b + 1): for k in range(1, a + 1): for i in range(1, n + 1): sum2 += 67 * (69 * x - 71 * pow(i, 3)) - pow(50 * pow(x, 2) + 55 * pow(j, 3) + k, 7) return sum1 - sum2" "def main(b, n, z): s = 0 for i in range(1, n + 1): p = 1 for j in range(1, b + 1): p *= 66 - 6 * (z ** 2 / 7 - z - 77) ** 5 - (i / 37 - 70 * j ** 3) ** 7 s += p return s" "import math def main(n, x, a, b): res1 = 0 res2 = 0 for k in range(1, n + 1): res1 += 41 * math.sin(k) ** 7 - 41 * x ** 4 for i in range(1, b + 1): for c in range(1, a + 1): res2 += 97 * i ** 5 - 62 * (80 * c ** 3 - 22) ** 4 - i ** 7 return res1 + res2" "def main(m, y, a): j = 1 f = 0 for j in range(1, m + 1): f += 1 - y ** 4 - 29 * j i = 1 f1 = 0 for i in range(1, a + 1): f1 += (34 * i ** 2) ** 2 + 80 f2 = f - f1 return f2" "import math def main(m, n, b, y): f = 0 for j in range(1, b + 1): for c in range(1, n + 1): for i in range(1, m + 1): k = (i ** 2 - 96 * c ** 3 - j) ** 7 f += k / 97 - 78 * y ** 4 return f" "def main(b, a, m): mult_1 = 1 for c in range(1, m + 1): mult_2 = 1 for i in range(1, a + 1): sum = 0 for j in range(1, b + 1): sum += c ** 2 - 71 * (j ** 3 - i ** 2) mult_2 *= sum mult_1 *= mult_2 return mult_1" "import math def main(b, m, n): a = 0 for k in range(1, n + 1): for j in range(1, m + 1): for c in range(1, b + 1): h = 2 * j ** 10 + 26 * k a += h + math.tan(7 * j ** 2 - c / 8) ** 3 / 28 return a" "import math def main(n, a, m, x): fsum = 0 for j in range(1, m + 1): for i in range(1, a + 1): for k in range(1, n + 1): fsum += 27 * (i - 89 * k ** 2 - 1) ** 2 - 38 * math.sin(j) ** 6 - 17 * (22 * x) ** 7 f = fsum return f" "import math def main(b, a, p, n, x): res1 = 0 res2 = 0 for j in range(1, a + 1): for c in range(1, b + 1): res1 = res1 + 92 * math.log(c, math.e) ** 3 res1 = res1 - (53 - j ** 2) ** 6 - p ** 4 / 35 for c in range(1, b + 1): for i in range(1, n + 1): res2 = res2 + (x - 83 - 76 * i ** 2) ** 3 res2 = res2 - math.log(x ** 3 + x ** 2, 10) ** 4 - c ** 2 res = res1 - res2 return res" "def main(m, a, n): sum1 = 0 sum2 = 0 for c in range(1, m + 1): sum1 += 58 * c ** 2 - 38 * (1 + c + 92 * c ** 3) ** 3 - 76 for k in range(1, n + 1): for c in range(1, a + 1): sum2 += (0.02 + 44 * k ** 3) ** 6 - c ** 3 return sum1 - sum2" "def main(n, a, y): import math f = 0 for i in range(1, a + 1): for j in range(1, n + 1): f += (95 + j) ** 6 - math.exp(j + 59 * y ** 2) ** 3 - 24 * i ** 5 return f" "import math def main(m, b, x): part1 = 0 for c in range(1, m + 1): part1 = part1 + (c ** 7 - 1 - 41 * c ** 3) part2 = 0 for j in range(1, b + 1): part2 = part2 + 60 * (68 * j ** 2 - x ** 3 / 89 - 75 * x) ** 4 return part1 - part2" "def main(m, b, z): import math f = 0 for i in range(1, b + 1): for c in range(1, m + 1): f += 3 * (c ** 3 + 0.01) ** 7 - 7 * (i ** 3 + z ** 2 + 98) ** 4 return f" "import math def main(n, b, x): s1 = 0 for k in range(1, n + 1, 1): s1 = s1 + pow(k, 5) + math.log(k) s2 = 0 for i in range(1, n + 1, 1): for j in range(1, b + 1, 1): s21 = s2 + 26 * pow(j, 5) s22 = pow(i * i * i + x, 4) / 19 + pow(abs(i), 3) / 51 s2 = s21 + s22 f = s1 - s2 return f" "def main(b, n, m, z): F = 0 for j in range(1, m + 1): for i in range(1, n + 1): for k in range(1, b + 1): F += 91 * k + (j ** 2 - z - 1) ** 7 + i ** 3 return F" "import math def main(m, y, b, n): f1 = 0 f2 = 0 for k in range(1, m + 1): f1 += pow(math.acos(y), 4) + 51 * k for j in range(1, n + 1): for c in range(1, b + 1): for k in range(1, m + 1): f2 += pow(math.cos(c * c / 20), 3) / 20 + 38 * pow(math.exp(6 * k), 5) + 10 * pow(math.sin(j), 6) f = f1 - f2 return f" "def main(b, a, m, n, z): x = 0 for j in range(1, b + 1): x += 1 - 24 * j ** 5 y = 0 for c in range(1, n + 1): for k in range(1, m + 1): for i in range(1, a + 1): y += 55 * (36 + 97 * z + k ** 3) ** 6 - (44 * i ** 2) ** 2 - c return x - y" "import math def main(a, m, b): sum = 0 for c in range(1, b + 1): for k in range(1, m + 1): sum += math.prod((26 * (96 * k ** 3) ** 5 + math.tan(i) ** 2 + c ** 7 for i in range(1, a + 1))) return sum" "import math def main(n, p, a, b, m): x1 = 0 for c in range(1, n + 1): x1 += p ** 5 - c ** 12 - 1 x2 = 0 for i in range(1, m + 1): for k in range(1, b + 1): for c in range(1, a + 1): x2 += math.tan(p) ** 3 / 64 - 15 * i ** 2 - 45 * (0.01 + k ** 3 + 73 * c ** 2) ** 4 return x1 + x2" "import math def main(b, n, a, p): res = 0 for c in range(1, a + 1): for k in range(1, n + 1): for j in range(1, b + 1): res += k ** 9 - math.tan(55 * j - p ** 2) ** 4 - 91 * abs(c) ** 5 return res" "import math def main(n, a, m, y): sum = 0 sum1 = 0 for c in range(1, a + 1): for i in range(1, n + 1): sum += i - 1 - 1 - c ** 4 / 83 d = a f = n for i in range(1, d + 1): for k in range(1, m + 1): for c in range(1, f + 1): sum1 += (i ** 3 + c + 6 * k ** 2) ** 3 - (1 + 77 * y + k ** 3) ** 5 sum = sum - sum1 return sum" "import math def main(n, a): sum = 0 for c in range(1, n + 1): for j in range(1, a + 1): sum += 90 * pow(math.cos(c * c + 9 * c), 5) - (1 + 10 * j + c * c * c) - 1 return sum" "import math def main(a, p, n, m): x1 = 1 for k in range(1, a + 1): x1 *= 86 * p - 27 * (46 * p + 67 * p ** 3 + k ** 2) ** 7 - k ** 2 x2 = 1 for k in range(1, a + 1): x3 = 0 for j in range(1, m + 1): for i in range(1, n + 1): x3 += math.atan(j) ** 7 - (i ** 3 / 82 - k) ** 6 - (i - 1 - 83 * i ** 2) ** 2 x2 *= x3 return x1 + x2" "import math def main(a, x, b, m, z): c = 1 res = 0 while c < a + 1: res += 72 * x ** 4 - math.sin(c) ** 7 - 45 * (x ** 3 / 20) ** 3 c = c + 1 for k in range(1, m + 1): for c in range(1, b + 1): res += k ** 5 - 31 * z - (36 * c ** 3) ** 7 return res" "from math import * def main(m, b, n, x): sum = 0 for k in range(1, n + 1): for j in range(1, b + 1): for i in range(1, m + 1): sum += (45 * j + 14 * pow(i, 3) + x * x) ** 2 / 45 + 57 * (1 + k * k) ** 6 return sum" "def main(a, n, x): s = 0 for k in range(1, a + 1): m = 4 * k ** 2 - k - (28 + 13 * k ** 3) ** 6 s += m for c in range(1, n + 1): b = (72 * c ** 2 - 27 * x ** 3 - x / 40) ** 3 / 99 s += b return s" "import math import sys def main(b, a, y): j = 1 i = 1 s1 = 0 s2 = 0 while j <= b: s1 = j + s1 j += 1 while i <= a: s2 = 6 * i ** 6 + 58 + 65 * y + s2 i += 1 res = s1 - s2 return res" "def main(a, n, m, b): var_1 = 0 for i in range(1, n + 1): var_2 = 1 for j in range(1, a + 1): var_2 *= j ** 6 + i ** 7 + 17 * j ** 3 var_1 += var_2 var_3 = 0 for j in range(1, b + 1): var_4 = 1 for i in range(1, m + 1): var_5 = 0 for k in range(1, n + 1): var_5 += 64 + (7 * i ** 3 + k / 30 + 1) ** 5 + j ** 3 var_4 *= var_5 var_3 += var_4 return var_1 + var_3" "def main(a, m, n): f = 0 for c in range(1, n + 1): for k in range(1, m + 1): for i in range(1, a + 1): f += 22 * i ** 6 - (7 * k + 1 + c ** 2) - (1 + 63 * k) ** 5 return f" "def main(a, m, n): part_1 = 0 for k in range(1, n + 1): for c in range(1, m + 1): for i in range(1, a + 1): part_1 = part_1 + (i ** 3 / 72 + (k + i ** 3 + 1) ** 4) + c / 38 return part_1" "import math def main(n, m): result3 = 0 for k in range(1, m + 1): for j in range(1, n + 1): result3 += j ** 4 + 60 * math.cos(j) ** 3 + (j ** 2 + k ** 3 + k / 26) ** 2 return result3" "import math def main(m, n, a): part1 = 0 for c in range(1, m + 1): part1 += 56 * math.log10(57 * c ** 3) ** 2 part2 = 0 for j in range(1, a + 1): for c in range(1, n + 1): for i in range(1, m + 1): part21 = 49 * math.cos(c) ** 2 part22 = (76 * i ** 3 - c / 49) ** 7 part23 = math.sin(j) ** 4 part2 += part21 + part22 + part23 return part1 - part2" "import math def main(b, z, n, p): result = 0 for i in range(1, b + 1): result += i * i result += math.pow(98 * z - 65 * i * i * i - i * i, 7) / 98 for k in range(1, n + 1): result += 59 * math.tan(k) - math.pow(math.sqrt(p), 5) return result" "import math def main(b, z): answer = 0 for i in range(1, b + 1): answer += 72 * math.pow(90 - math.pow(i, 2) - math.pow(z, 3), 5) - math.pow(math.pow(i, 3) + z, 6) / 47 - math.log10(i) return answer" "import math def main(b, n, m): x = 1 for j in range(1, m + 1): x1 = 0 for k in range(1, n + 1): for i in range(1, b + 1): x1 += math.sin(10 * j) ** 2 / 58 - 73 * j - (1 + 77 * i ** 3 + 50 * k) ** 7 x *= x1 return x" "import math def main(n, z, m, a, x): answer_1 = 0 answer_2 = 0 for j in range(1, n + 1): answer_1 += math.pow(math.tan(85 * math.pow(j, 3) + 16 * (42 * math.pow(j, 3) - 14 - z) + 91), 6) for j in range(1, n + 1): for c in range(1, a + 1): for k in range(1, m + 1): answer_2 += 21 * math.pow(30 * math.pow(c, 2) + 60, 4) - math.pow(32 * math.pow(j, 3), 6) - math.pow(math.pow(x, 3) - 58 * k, 2) return answer_1 - answer_2" "import math def main(b, n, a): R = 0 for i in range(1, a + 1): for c in range(1, n + 1): for k in range(1, b + 1): R += (0.02 + 42 * i ** 3) ** 5 + math.sin(k) ** 7 + c ** 3 / 13 return R" "import math def main(n, a): value = 0.0 for j in range(1, a + 1): for i in range(1, n + 1): value += math.pow(1 + math.pow(i, 3) / 88, 7) - math.pow(math.cos(31 - math.pow(j, 3) - 34 * j), 5) - math.sin(i) return value" "import math def main(b, n, p): (x, z) = (0, 0) for j in range(1, b + 1): x += 63 * j ** 5 + j ** 4 + 96 * j for i in range(1, b + 1): for c in range(1, n + 1): z += math.cos(68 * p ** 3 + c + i ** 2 / 70) ** 4 - 16 * math.tan(58 * c ** 2) return x + z" "from math import atan, tan def main(n, z, m, a): left = 0 right = 0 for c in range(1, n + 1): left += atan(z) ** 7 / 73 + 28 * c ** 6 for j in range(1, a + 1): for k in range(1, m + 1): right += tan(k) ** 6 + 56 * j + 71 * j * j + 9 * j ** 4 left -= right return left" "from math import tan, pow, atan def compute(i, k, x, c): first_value = pow(tan(1 - i - pow(k, 2)), 4) second_value = pow(x, 2) third_value = pow(atan(pow(c, 3) / 40), 5) return first_value - second_value - third_value def main(a, m, b, x): return sum([compute(i, k, x, c) for i in range(1, a + 1) for c in range(1, m + 1) for k in range(1, b + 1)])" "import cmath import math def f(b, a, z): x = 0 y = 0 for i in range(1, b + 1): x += math.cos(i) ** 2 - 1 - 55 * (i ** 2 - i ** 3 - i) for j in range(1, a + 1): y += 78 * z ** 4 - 62 * (z - j ** 2 - 41) ** 7 - math.ceil(z) ** 6 c = x + y return c.real def main(r, g, m): return f(r, g, m)" "import math def main(a, n, x): answer = 0 for k in range(1, n + 1): for j in range(1, a + 1): answer += math.sin(1 - j ** 3) ** 5 + k + 36 * (48 * x ** 3 + k) ** 2 return answer" "import math def main(a, m, b, z): return sum((sum((sum((float(55) * math.pow(float(j) - float(c) * float(c) * float(c), 4) + float(float(k) / float(65)) + math.pow(math.log(float(z), 10), 2) for c in range(1, a + 1))) for j in range(1, m + 1))) for k in range(1, b + 1)))" "def main(a, z, b, n, y): f = 0 for k in range(1, a + 1): f = f + 27 + abs(z ** 3 + k + 1) / 66 for k in range(1, n + 1): for c in range(1, b + 1): f = f + (y ** 7 + 88 * (73 + c ** 2) ** 2 + k ** 4 / 42) return f" "def main(n, b, m): res = 0 for c in range(1, m + 1): for j in range(1, b + 1): for k in range(1, n + 1): res += 9 * (j ** 3 - j ** 2 - k) ** 6 + 39 * c ** 9 return res" "import math def main(n, m, a, p): s = 0 for k in range(1, a + 1): for j in range(1, m + 1): for i in range(1, n + 1): s += 50 * math.tan(p - 7 * i ** 3) ** 3 - 79 * math.log10(j + 1) ** 6 - k ** 5 return s" "def main(a, n, m): res1 = 0 res2 = 0 for i in range(1, n + 1): for k in range(1, a + 1): res1 += (45 + k ** 3 + k ** 2) ** 7 - i ** 6 for c in range(1, a + 1): for j in range(1, m + 1): for k in range(1, n + 1): res2 += 11 * (j ** 2 + j + c ** 3) ** 4 res2 -= 61 * (28 * k) ** 5 - 25 res = res1 - res2 return res" "import math def firstIter(b, z, i): x = 1 for j in range(1, b + 1): a = math.cos(70 + 14 * z ** 2 + j) ** 4 / 71 + i ** 2 + j ** 6 / 74 x = x * a j = j + 1 return x def main(b, m, z): a = 0 for i in range(1, m + 1): a = a + firstIter(b, z, i) return a" "def main(n, p, a, m, b): sum1 = 0 sum2 = 0 sum3 = 0 sum4 = 0 for i in range(1, n + 1): sum1 += pow(i, 3) - (23 * pow(i, 3) - pow(p, 2) - 27 * p) - 1 for c in range(1, b + 1): for i in range(1, m + 1): for k in range(1, a + 1): pow1 = pow(54 * k + 44 * pow(i, 3) + pow(c, 2), 2) sum2 += pow1 + pow(pow(k, 2) - pow(c, 3) - 1, 7) return sum2" "def main(m, b, n, z): x = 0 for j in range(1, n + 1): for c in range(1, b + 1): for i in range(1, m + 1): x += 74 * j + (82 * z - 0.01 - i ** 3) ** 2 + 83 * (1 + c ** 2) ** 3 return x" "import math def main(m, a, n): res = 0 for k in range(1, n + 1): for j in range(1, a + 1): for c in range(1, m + 1): res += math.pow(math.exp(k), 3) + math.pow(math.pow(c, 3) / 26, 5) + math.pow(math.cos(14 * math.pow(j, 3)), 7) / 77 return res" "import math def main(b, n, x, a, y): result = 0 res = 0 for k in range(1, n + 1): for i in range(1, b + 1): result += x ** 3 - i ** 7 - (92 * k - 1) ** 2 / 16 for j in range(1, n + 1): for c in range(1, a + 1): res += 68 * math.cos(j) ** 4 + 0.01 + (61 * c ** 2 + c + y ** 3) ** 2 / 69 return result + res" "import math def main(n, b, p): SUM = 0 for i in range(1, b + 1): for j in range(1, n + 1): A = (i ** 2 + 64 * j + 41) ** 3 / 95 B = math.log(p, 10) ** 5 SUM += A - B - 76 return SUM" "import math def main(n, m, b): x = 0 for i in range(1, b + 1): for c in range(1, m + 1): for j in range(1, n + 1): x += math.ceil(55 * i ** 3 + 69 * j + c ** 2) + 46 * i ** 3 return x" "def main(n, m, b): res = 0 for k in range(1, b + 1): res1 = 0 for i in range(1, m + 1): res2 = 0 for j in range(1, n + 1): res2 += j ** 3 - i ** 6 - (68 - i - 71 * k ** 3) ** 7 res1 += res2 res += res1 return res" "from math import log, atan def main(b, n, m, a, p): return sum([log(15 + c ** 2) ** 7 / 53 for c in range(1, b + 1)]) - sum([sum([sum([log(76 * k ** 2 + j ** 3 + 1) ** 4 - atan(p) ** 3 - 28 * i ** 5 for j in range(1, n + 1)]) for i in range(1, m + 1)]) for k in range(1, a + 1)])" "from math import * def main(a, b, n): su1 = 0 for c in range(1, n + 1): for j in range(1, b + 1): for i in range(1, a + 1): su1 += pow(j, 6) - (i - pow(i, 3) - pow(i, 2)) - pow(c, 3) return su1" "import math def main(a, n, m): ans1 = 0 ans2 = 0 for k in range(1, a + 1): ans1 += 9 * k ** 7 + math.log(13 * k ** 3 - k / 97 - 1, 2) ** 2 for c in range(1, m + 1): for i in range(1, a + 1): for j in range(1, n + 1): ans2 += math.cos(i ** 2 - j ** 3 - 1) + c ** 6 + 57 * i ** 5 return ans1 - ans2" "def func1(i, j, k): return k - 16 * (38 * j ** 2) ** 3 - i ** 5 / 14 def main(n, m, a): sumi = 0 sumj = 0 sumk = 0 for k in range(1, a + 1, 1): for j in range(1, m + 1, 1): for i in range(1, n + 1, 1): sumi = sumi + func1(i, j, k) sumj = sumj + sumi sumi = 0 sumk = sumk + sumj sumj = 0 return sumk" "def main(m, b, a, p): f = 0 for c in range(1, a + 1): for j in range(1, b + 1): for k in range(1, m + 1): z = 43 * c + 28 * j ** 2 + p ** 3 o = k ** 7 / 17 - 95 * j ** 12 f += o - z return f main(6, 4, 5, -0.74)" "import math def main(m, n, a): f = 0 for j in range(1, a + 1): for k in range(1, n + 1): for i in range(1, m + 1): c = math.fabs(72 * i ** 2) ** 3 b = k ** 7 - (1 - j) ** 5 f += c - b return f main(7, 5, 4)" "import math def main(a, b, m, x): s = 0 p = 0 for i in range(1, a + 1): s = s + (26 * i ** 2 - 24 * i - 1) ** 3 + i ** 5 for i in range(1, b + 1): for k in range(1, m + 1): s = s + 69 * (k + i ** 2 / 9) + 24 * x ** 5 + i ** 6 return s" "from math import log, exp, asin def math_left(i, k): return 42 * i - 37 * k ** 2 - exp(k) ** 4 def math_right(p, c, i): return asin(p) - c ** 4 - log(i) ** 3 / 63 def main(a, m, n, p): sum_left = 0 sum_right = 0 for k in range(1, m + 1): sum_i = 0 for i in range(1, a + 1): sum_i += math_left(i, k) sum_left += sum_i for i in range(1, n + 1): sum_c = 0 for c in range(1, m + 1): sum_c += math_right(p, c, i) sum_right += sum_c return sum_left + sum_right" "import math def main(a, y, b, n): sum1 = 0 sum2 = 0 for i in range(1, a + 1): fa = 2 * i + math.log(y) ** 7 / 44 sum1 += fa for c in range(1, n + 1): for k in range(1, b + 1): fb = 85 * math.atan(k) ** 4 - 24 * math.exp(k / 46) ** 7 - c ** 3 sum2 += fb f = sum1 - sum2 return f" "def main(m, n, z): a = 0 b = 0 for i in range(1, m + 1): a += 86 * pow(i, 6) + 93 * pow(i, 2) for i in range(1, n + 1): b += pow(91 * z ** 2, 6) + 90 * z ** 2 + pow(86 * z - 21 - 76 * pow(i, 3), 4) return a - b" "import math def main(m, a, z): f = 0 for i in range(1, a + 1): for j in range(1, m + 1): b = 82 * pow(i, 4) d = (5 * pow(z, 2) + pow(z, 3)) ** 3 c = pow(23 * pow(j, 3), 7) / 19 f = f + b - c - d return f" "from math import pow, sin, log def f(m, n, a): result = 0 for c in range(1, n + 1): for k in range(1, m + 1): result += pow(c / 20 - k ** 2, 7) for c in range(1, a + 1): for k in range(1, n + 1): for i in range(1, m + 1): result += sin(i - c ** 3 / 3 - 55) ** 2 + 37 * log(k) return float('{:.2e}'.format(result)) main = f" "import math def main(a, y, b, n): result1 = 0.0 result2 = 0.0 for i in range(1, a + 1): result1 += 1 + 51 * (4 * y ** 3 - i ** 2 - 28) ** 7 + y ** 3 for c in range(1, n + 1): for i in range(1, a + 1): for j in range(1, b + 1): result2 += 59 * c ** 18 - 24 * (y + 95 * j ** 2) - 10 * i ** 7 result = result1 + result2 return result" "import math def main(b, a, n): c = 1 j = 1 k = 1 suma = 0 for c in range(1, n + 1): for k in range(1, a + 1): for j in range(1, b + 1): suma += 41 * (k + j ** 2) ** 7 - 1 - 36 * math.atan(j ** 2 + 38 * c) ** 2 return suma" "import math def main(a, n, b): s = 0 s1 = 0 for i in range(1, a + 1): s = s + i - 81 * (95 * i) ** 7 for c in range(1, b + 1): for k in range(1, n + 1): for i in range(1, a + 1): s1 = s1 + 50 * (i ** 3 + 25 + k ** 2) ** 3 + math.exp(c ** 3 + 6 + 21 * k) ** 2 return s - s1" "import math def main(m, b, n): sum = 0.0 for c in range(1, n + 1): for k in range(1, b + 1): for j in range(1, m + 1): sum += 30 - math.atan(k + c ** 2 / 38) - 67 * (42 * j ** 3 - k - 61) ** 4 return sum" "import math def main(a, n, b, m): ans = 0 for c in range(1, a + 1): ans += math.exp(c) - 56 - (c ** 2 + c) ** 7 for j in range(1, m + 1): for c in range(1, b + 1): for i in range(1, n + 1): ans -= 58 * (c ** 3 / 38) ** 3 - 11 * j ** 6 - 79 * (1 + i ** 2 / 14) ** 7 return ans" "def main(b, a, n): s = 0 for j in range(1, n + 1, 1): for k in range(1, a + 1, 1): for c in range(1, b + 1, 1): s += 80 * c ** 6 + 79 * (j ** 3 - c ** 2) ** 7 + (c ** 3 - 1 - k) ** 5 return s" "def main(m, a, n): res = 0 for c in range(1, n + 1): tempsum = 0 for i in range(1, a + 1): tempmult = 1 for k in range(1, m + 1): tempmult *= 43 * pow(pow(c, 3) - 60 * i, 4) - pow(abs(20 + k * k), 6) - pow(k / 67 - 71, 5) tempsum += tempmult res += tempsum return res" "def main(b, a): p = 1 for i in range(1, a + 1): s = 0 for c in range(1, b + 1): s += 41 * (c ** 3 - 38 * c ** 2 - 1) ** 7 + 62 * (67 * i + 70) ** 4 p *= s return p" "def main(m, b, a, n, p): sum1 = 0 for c in range(1, m + 1): sum1 += pow(c, 3) - 0.01 - 52 * pow(c, 6) sum2 = 0 for k in range(1, n + 1): for j in range(1, a + 1): for i in range(1, b + 1): x = pow(5 * pow(i, 3) - 55, 2) y = 65 * (pow(p, 2) - 94 * j) z = pow(20 - 11 * k, 7) / 43 sum2 += x + y + z return sum1 - sum2" "import math def main(b, n): s = 0 for c in range(1, n + 1): for k in range(1, b + 1): s += pow(k, 4) + pow(k, 12) + 47 * (pow(k, 2) + 55 * c * c * c + 54) return s" "import math def main(b, x, a, m): return float('%.2e' % (j_b(b, x) - triple(m, b, a))) def j_b(b, x): list = [] for j in range(1, b + 1): numb = j ** 6 - math.cos(x) ** 4 / 15 - 33 * j ** 10 list.append(numb) return sum(list) def triple(m, b, a): list = [] for i in range(1, m + 1): for j in range(1, a + 1): for k in range(1, b + 1): numb = 1 - (10 * j ** 2 - 13 * k - j ** 3) - (k + i ** 3) ** 5 list.append(numb) return sum(list)" "def main(n, a, x): rez = 0 for c in range(1, a + 1): for i in range(1, n + 1): rez += pow(34 * i + 73 * x ** 3 + 50 * c ** 2, 7) - 65 * i ** 6 return rez" "import math def main(a, b, m): c = 1 res1 = 0 res2 = 0 for k in range(1, b + 1): for i in range(1, a + 1): res1 += 97 * (1 - 97 * k ** 2 - i) ** 2 for j in range(1, a + 1): for i in range(1, m + 1): res2 += i - 8 + (56 * i ** 2 + 23 * j + i ** 3) ** 3 / 7 + 1 k += 1 c += 1 j += 1 return res1 + res2" "from math import log10 def main(n, m, a, b): q = 0 f = 1 for k in range(1, m + 1): for c in range(1, n + 1): q += 86 - (76 * k ** 2 - c) ** 6 - log10(c) ** 2 for j in range(1, m + 1): for k in range(1, b + 1): ff = 1 for c in range(1, a + 1): ff *= (j ** 2 + k ** 3 + 70 * c) ** 7 / 98 + 3 * c ** 2 f += ff o = q - f return o" "import math def main(b, m, y): left_side_of_expr = 0 for j in range(1, b + 1): left_side_of_expr += 21 + 19 * (18 * j ** 3 + 1) ** 2 + 31 * j ** 3 right_side_of_expr = 0 for c in range(1, m + 1): right_side_of_expr = 56 * math.sqrt(c) ** 4 - y ** 6 expr = left_side_of_expr - right_side_of_expr return expr" "import math def main(n, y, m): s1 = 1 s2 = 0 for i in range(1, n + 1): s1 *= (y / 84 + i ** 3 + 1) ** 6 for i in range(1, m + 1): s2 += 1 + i ** 3 return s1 + s2" "import math def main(n, b, p): result = 0 for k in range(1, b + 1): for i in range(1, n + 1): result += 48 * (86 + 97 * i ** 3 + k) ** 2 + math.log(i, 10) - 4 * math.ceil(p) ** 6 return result" "def main(b, n, m): s = 0 for k in range(1, m + 1): for j in range(1, n + 1): for c in range(1, b + 1): s += (56 + j) ** 5 + 67 * (k ** 2 / 57) ** 2 + c ** 4 return s" "def main(b, a, m, y): res = 0 for j in range(1, m + 1): for c in range(1, a + 1): for k in range(1, b + 1): res += 37 * c ** 2 - 56 * k ** 3 - (50 * j + 44 * y ** 3 + 67) ** 6 return res" "from math import atan from math import floor def main(n, m, a, p): r = 0 for k in range(1, a + 1): for c in range(1, m + 1): for i in range(1, n + 1): z = floor(p ** 3 - 75 - c ** 2) ** 4 r += k ** 7 - atan(i) ** 6 - 55 * z return r" "import math def main(a, m, b): s = 0.0 for k in range(1, b + 1): for c in range(1, m + 1): for j in range(1, a + 1): s += (1 + 76 * k ** 3 + 29 * j) ** 7 + (1 + k) ** 5 + 25 * math.tan(c ** 3) ** 2 return s" "import math def main(b, n, m, y): p = 0 z = 0 for k in range(1, n + 1): for i in range(1, b + 1): p = p + 25 * pow(pow(i, 2) / 44 - k, 7) + 1 for k in range(1, m + 1): d = 11 * pow(k, 3) + pow(k, 2) / 31 + y z = z + 63 * pow(y, 2) + pow(math.atan(d), 3) + pow(y, 6) f = p + z return f" "import math def main(m, n, b): s = 0 for k in range(1, b + 1): for c in range(1, n + 1): for i in range(1, m + 1): s += math.log2(i) + pow(math.ceil(54 * i - 76 * pow(c, 2) - 92 * pow(k, 3)), 5) return s" "def main(b, n, m): res = 0 for k in range(1, m + 1): for j in range(1, n + 1): for c in range(1, b + 1): f = 92 * c ** 3 - 92 * k ** 5 - j ** 4 / 3 res = res + f return res" "import math def main(n, b, x): a = 0 s = 0 for i in range(1, b + 1): for j in range(1, n + 1): a += 76 * j + x ** 2 + 57 * i ** 3 + 1 for j in range(1, n + 1): s += 44 * j ** 7 - 35 * j ** 6 - 40 * x ** 4 return a + s" "def main(b, a, m, x): y1 = 1 for i in range(1, m + 1): y2 = 0 for j in range(1, a + 1): y3 = 0 for k in range(1, b + 1): y3 += 90 * j - (74 * i ** 3 - k - x ** 2 / 87) ** 5 y2 += y3 y1 *= y2 return y1" "def main(a, n, b, x): section1 = 0 section2 = 0 section3 = 0 for k in range(1, n + 1): for c in range(1, a + 1): section1 = section1 + ((17 * c ** 3 + 93 * k) ** 7 + c ** 3) for i in range(1, b + 1): for k in range(1, n + 1): for j in range(1, a + 1): section2 = section2 + 88 * i ** 12 + (15 * k ** 2 - j) ** 7 section3 = 21 * (1 + x ** 2 / 78) ** 3 section2 = section2 + section3 return section1 - section2" "import math def main(n, a): ksumm = 0 summ = 0 for k in range(1, n + 1): ksumm += k for i in range(1, a + 1): summ += math.atan(i) ** 3 + (i ** 3 - i ** 2 / 28 - i) ** 6 + i ** 2 return ksumm + summ" "def main(b, n, p): import math s = 0 for i in range(1, n + 1): for j in range(1, b + 1): s += j ** 6 + 38 * math.sqrt(50 * i ** 3 + p * p / 89 + 1) ** 3 return s" "def main(b, m, n): result = 0 for c in range(1, n + 1): for i in range(1, m + 1): for j in range(1, b + 1): result += 9 * j ** 3 + 2 * pow(i ** 3 - c - j ** 2, 2) return result" "def main(m, n, x): a1 = 0 for i in range(1, m + 1): a1 += 14 * pow(i, 6) a2 = 0 for i in range(1, n + 1): for j in range(1, m + 1): a2 += pow(j * j + 1 + 5 * x, 3) - 85 * pow(34 * i * i + i, 7) return a1 + a2" "import math def f(m, n, b): res = 0 for i in range(1, n + 1): for k in range(1, m + 1): res += i ** 9 - abs(k) ** 2 - i res_1 = 1 for k in range(1, n + 1): res_2 = 0 for c in range(1, b + 1): for j in range(1, m + 1): res_2 += 1 + (62 * j ** 2 - 73 - c) ** 4 + 68 * (77 + j ** 2 + 85 * k) res_1 *= res_2 return res - res_1 def main(m, n, b): return f(m, n, b)" "import math def main(m, a, n): k = j = c = 1 r = sum1 = sum2 = 0 for k in range(k, a + 1): for j in range(1, m + 1): sum1 += 27 * j ** 6 + k / 48 for c in range(c, n + 1): sum2 += math.atan(c) ** 4 + math.log(c) ** 5 / 18 r = sum1 - sum2 return r" "import math def main(n, x, m): sum1 = 0 sum2 = 0 for k in range(1, n + 1): sum1 += k ** 3 + (k ** 3 + 45 * x ** 2) ** 2 / 66 + 80 for i in range(1, m + 1): sum2 += 51 + 83 * i ** 2 return sum1 + sum2" "from math import prod def main(b, m, n, z): return sum((prod((sum(((pow(k, 3) - 6 - 0.2 * pow(z, 2)) ** 4 - (j + pow(i, 3) / 73) ** 3 for k in range(1, b + 1))) for j in range(1, m + 1))) for i in range(1, n + 1)))" "import math def main(a, x, n): c = 0 d = 0 for i in range(1, a + 1): c += (74 * i ** 2 + 93 * x + 79) ** 4 + i ** 5 + math.sin(i) ** 2 for k in range(1, a + 1): for i in range(1, n + 1): d += (k / 82 - i ** 3 / 40 - 99 * k ** 2) ** 7 + x ** 8 f = c - d return f" "import math def main(b, n): return f(b, n) def f1(c): return c ** 3 def f2(c, i): return 5 * i + 1 + math.log10(c) ** 4 def f(b, n): f = 0 for c in range(1, b + 1): f += f1(c) for i in range(1, n + 1): f += f2(c, i) return f" "def main(n, b, z): prod = 1.0 sum1 = 0.0 for c in range(1, b + 1): for k in range(1, n + 1): prod *= 93 * (71 * c ** 3) ** 2 - (12 * z ** 3 - k ** 2) ** 3 sum1 += prod prod = 1.0 sum2 = 0.0 sum3 = 0.0 for c in range(1, b + 1): for i in range(1, n + 1): sum2 += 79 * (z + i ** 2) ** 4 - (z ** 2 - 26 * c ** 3) ** 3 - 0.03 sum3 += sum2 sum2 = 0.0 res = sum1 - sum2 return res" "from math import log2 def main(b, a, n, p): r = 0 for c in range(1, n + 1): s_a = 0 for j in range(1, a + 1): p_b = 1 for i in range(1, b + 1): p_b = p_b * (24 * i ** 4 - log2(j) ** 4 / 37 - (p + c ** 2)) s_a += p_b r += s_a return r" "import math def main(n, p, a): result = 0 for c in range(1, n + 1): result += (74 * c) ** 3 - 29 * math.log10(82 + 15 * p ** 2) ** 4 - 74 * math.log(88 - c ** 3, 2) ** 2 for c in range(1, a + 1): result -= 27 * (1 + 23 * p + c ** 2) ** 4 return result" "from math import * def main(m, z, b, p): res = 0 for c in range(1, m + 1): res += (50 * c) ** 6 / 9 + acos(z) + 5 * z ** 2 for k in range(1, m + 1): for i in range(1, b + 1): res += 96 * (91 * k) ** 3 - 76 * p ** 7 - 72 * abs(i) ** 2 return res" "import math def main(b, a, n): ans1 = 0 ans2 = 1 ans3 = 0 for k in range(1, n + 1): for j in range(1, a + 1): for c in range(1, b + 1): ans3 += 34 * (10 * c + j ** 3) ** 3 + math.sin(k) ** 2 + 79 ans2 *= ans3 ans3 = 0 ans1 += ans2 ans2 = 1 return ans1" "import math def main(m, a, b): result = 0 for c in range(1, b + 1): s = 0 for k in range(1, a + 1): p = 1 for j in range(1, m + 1): p += 24 * abs(k) ** 6 + math.sin(0.02 + 45 * c ** 3) ** 3 + math.tan(j) s += p result += s return result" "import math def main(n, p, a): s = 0 t1 = 0 t2 = 0 for i in range(1, n + 1): t1 += 96 * (p + i ** 3 + p ** 2) ** 7 + i + i ** 6 for i in range(1, a + 1): t2 += 27 * math.cos(30 * i ** 2) - i ** 3 - 54 * abs(i) ** 4 s = t1 - t2 return s" "def main(m, a, b): sum_1 = 0 sum_2 = 0 prod = 1.0 for k in range(1, b + 1): for i in range(1, a + 1): for j in range(1, m + 1): sum_1 += (7 * k ** 2 + 68 * i ** 3 + 0.03) ** 4 + 48 + j ** 7 prod *= sum_1 sum_1 = 0 sum_2 += prod prod = 1 return sum_2" "from math import sin as sin def main(n, a, y): s = 0 for k in range(1, a + 1): for c in range(1, n + 1): p1 = (1 - c) ** 6 - y ** 3 p2 = sin(k ** 3 - y - 1) ** 4 s += p1 - p2 return s" "import math def main(n, z, a, p): sum1 = 0 sum2 = 0 for c in range(1, n + 1): sum1 += 60 * z * z - math.exp(5) * (z ** 3 / 47 - 45 * c * c - 1) for j in range(1, a + 1): sum2 += 77 * (j - 79) - 5 * p ** 3 - 8 * pow(p * p / 35 - 79 * j ** 3 - 1, 7) return sum1 - sum2" "def main(a, m, n, y): x = 0 for c in range(1, n + 1): for j in range(1, m + 1): for i in range(1, a + 1): x += c ** 5 + j / 97 + 37 * (70 * i + c ** 3 + y ** 2) ** 2 return x" "import math def main(b, n, z, p): sum_of_seq = 0 for i in range(1, n + 1): for c in range(1, b + 1): sum_of_seq += math.log10(c) ** 7 - z - 48 * math.log2(i ** 3 / 5 + 54) ** 2 for k in range(1, n + 1): sum_of_seq -= math.sin(k) ** 2 - 1 - math.atan(p) ** 6 return sum_of_seq" "def main(m, a): p = 1 for k in range(1, a + 1): s = 0 for c in range(1, m + 1): s += (87 * k ** 2) ** 6 + (27 * k ** 2) ** 7 + (16 * c ** 2 - 1) ** 2 p *= s return p" "import math def main(a, m, n): f = 0 for j in range(1, n + 1): for c in range(1, m + 1): for k in range(1, a + 1): f += k ** 3 + math.fabs(k ** 2 + j / 8 + 1) ** 6 / 77 + 99 * c ** 2 return f" "import math def main(n, m, z): sum = 0 for c in range(1, m + 1): for k in range(1, n + 1): sum += 33 * c - 63 * (18 * c) ** 7 - (74 * z + k ** 2 + 43) ** 2 return sum" "import math def main(b, n, a, x): S = 0 for i in range(1, a + 1): for c in range(1, n + 1): su = 1 for j in range(1, b + 1): w = math.ceil(j ** 2 - c - 24) ** 2 + math.ceil(63 * i ** 3) ** 6 su *= w S += su return S" "import math def main(a, m, b): sum = 0 for i in range(1, b + 1): for c in range(1, m + 1): for k in range(1, a + 1): sum += math.tan(35 * c ** 3 - 49 * k ** 2) ** 2 - 20 * (1 + i) ** 3 return sum" "from math import log2 def main(m, b, a): value1 = 0 for i in range(1, m + 1): value1 += 31 * (i ** 3 + i ** 2) - 77 * (i ** 2 / 8) ** 3 value2 = 0 for i in range(1, a + 1): for k in range(1, b + 1): value2 += log2(47 * i ** 2 + 83 * k + i ** 3) ** 3 + i ** 6 return value1 - value2" "def main(b, n, m, p): sum = 0 for c in range(1, m + 1): for j in range(1, n + 1): for k in range(1, b + 1): sum += (k ** 3 + 6 * p + c * c) ** 6 - j * j return sum" "def main(n, m, b, p): sum = 0 for c in range(1, b + 1): for k in range(1, m + 1): for i in range(1, n + 1): sum += (c ** 2 / 65) ** 7 + (23 * k ** 2 + p ** 3 / 61 + 1) ** 4 + i return sum" "import math def main(b, a, m): sum = 0 for i in range(1, m + 1): for k in range(1, a + 1): for c in range(1, b + 1): sum += 61 * (k ** 3 - 91 * c - 28) ** 7 - 42 * (i - 29) ** 6 return sum" "import math def main(n, m, z): sum = 0 for k in range(1, m + 1): th = 1 for j in range(1, n + 1): fi = 53 * (k ** 3 - 99 * z ** 2 - j) ** 6 se = 13 * (z ** 0.5) ** 3 th = th * (fi - se - 1) sum += th return sum" "import math def main(n, a, z): sum = 0 for i in range(1, a + 1): for j in range(1, n + 1): sum += math.atan(i - j ** 3 - 1) ** 3 - 32 * (56 * i ** 2 - z) return sum" "def part1(k, c): return 32 + 57 * (85 + 37 * c) ** 7 + (k / 76 + c + 1) ** 4 def main(m, n): prod_second = 1 for i in range(1, n + 1): sum_first = 0 for j in range(1, m + 1): sum_first += part1(j, i) prod_second *= sum_first return prod_second" "import math def main(m, x, n, a): result1 = 0 result2 = 0 for j in range(1, m + 1): result1 += j ** 6 + x ** 4 + 1 for k in range(1, a + 1): for i in range(1, m + 1): for c in range(1, n + 1): result2 += 80 * math.cos(i) + 17 * (c ** 2 - k / 42) ** 5 result = result1 + result2 return result" "import math def main(b, n, m, x): s = 0 for i in range(1, m + 1): for c in range(1, n + 1): for j in range(1, b + 1): s += pow(35 * j * j * j - x, 6) + c / 7 + 22 * pow(math.log(73 + x + i * i), 3) return s" "import math def main(a, b, n, z): s1 = 0.0 for i in range(1, n + 1): s2 = 0.0 for k in range(1, b + 1): summa = 1.0 for c in range(1, a + 1): o = pow(33 - 98 * k - 47 * pow(z, 2), 6) summa = summa * (o - pow(math.log(i, 2), 7) - math.cos(c)) s2 = s2 + summa s1 = s1 + s2 return s1" "from math import * def main(n, p, b, a): j = k = c = 1 sum1 = 0 while j <= n: sum1 += 18 * log(pow(j, 3) + 1 + 70 * p) j += 1 func = sum1 for k in range(1, a + 1): for j in range(1, b + 1): for c in range(1, n + 1): func += pow(pow(k, 3) / 47, 5) - pow(cos(c), 7) - pow(1 - k - pow(j, 3) / 83, 2) return func main(5, 0.8, 2, 2)" "from math import log def main(m, z, a, n, y): sum1 = 0.0 sum2 = 0.0 for j in range(1, m + 1): sum1 += 99 * z ** 5 + log(j, 2) ** 4 + 6 for i in range(1, m + 1): for j in range(1, n + 1): for c in range(1, a + 1): sum2 += 52 * y ** 5 - 44 * c * c - 60 * abs(i * i - y * y * y - j) ** 4 return sum1 - sum2" "import math def main(m, b, z): res = 0 for i in range(1, b + 1): for j in range(1, m + 1): p1 = (36 * i ** 3 - 1) ** 0.5 p2 = (54 - 40 * j ** 3 - j) ** 5 p3 = math.acos(z) ** 2 res += p1 + p2 + p3 return res" "import math def main(a, m, n): sum = 0 for i in range(1, n + 1): for k in range(1, m + 1): for c in range(1, a + 1): a1 = 53 * (43 + 96 * i) ** 4 a2 = math.tan(c - k ** 2 - 81) ** 2 / 52 a3 = 7 * c sum += a1 + a2 + a3 return sum" "import math def main(m, y, a, n, b, p): res1 = 0 for j in range(1, m + 1): res1 += pow(7 + pow(y, 2), 6) + math.tan(j ** 2) res = 0 for k in range(1, b + 1): s1 = 0 for i in range(1, n + 1): s = 1 for j in range(1, a + 1): s *= 1 + pow(0.03 - 22 * j - pow(i, 2), 4) + pow(pow(k, 2) - pow(p, 3), 6) s1 += s res -= s1 return res" "import math def main(m, b, a, y): res = 0 for k in range(1, a + 1): for i in range(1, b + 1): for c in range(1, m + 1): res += pow(c - pow(c, 2), 5) - pow(45 * pow(y, 3) + pow(i, 2), 6) - 14 * pow(k, 7) c += 1 i += 1 k += 1 return res" "import math def main(a, b, n, x): number = 0 for k in range(1, int(b) + 1): for j in range(1, int(a) + 1): number += k ** 7 - j ** 5 / 74 for j in range(1, int(a) + 1): for i in range(1, int(n) + 1): number += 37 * i ** (5 / 2) + 16 * i ** 6 + math.exp(47 * x ** 3 + j + 34) return number" "def main(n, m, a, p): s1 = 0 for i in range(1, a + 1): s2 = 1 for j in range(1, m + 1): s3 = 0 for k in range(1, n + 1): s3 += 93 * (66 * k ** 3 + 73 * j + p ** 2) ** 7 - i ** 6 s2 *= s3 s1 += s2 return s1" "import math def main(m, b): left = 0 for k in range(1, b + 1): for j in range(1, m + 1): left += 90 * k ** 7 + (k ** 3 + 41) ** 2 + j ** 12 right = 0 for k in range(1, m + 1): right += k - 97 * math.floor(34 * k ** 3 - k - k ** 2) ** 5 return left - right" "def main(m, p, y): S = 0 P = 1 for i in range(1, m + 1): S += 75 * (p ** 2 + i ** 3 + 32 * p) ** 6 P *= 69 * i + 9 * i ** 3 + i ** 2 / 66 - 71 * y ** 7 return S - P" "import math def main(a, n, b, y): j = 1 i = 1 k = 1 temp = 0 for j in range(b): j = j + 1 for i in range(n): i = i + 1 for k in range(a): k = k + 1 temp = temp + (98 * pow(46 - pow(y, 2) - k / 22, 4) + pow(math.cos(j), 7) + 83 * pow(i, 6)) return temp main(7, 2, 2, 0.17)" "from math import sqrt def main(b, a, y): result = 1 for k in range(1, a + 1, 1): temp = 0 for j in range(1, b + 1, 1): temp += 36 * sqrt(k) + 41 * pow(k + 10 * pow(j, 2) + 57 * pow(y, 3), 5) result = result * temp return float(result)" "import math def main(n, p, b, m, y): x1 = x2 = 0 for i in range(1, n + 1): x1 = x1 + (71 * (p - 31 * i ** 3) ** 4 - 65 * (93 * p ** 3 + 1) ** 6 - i ** 5) for j in range(1, m + 1): for k in range(1, b + 1): x2 = x2 + (j ** 6 / 98 + 80 * math.sin(81 * k - y ** 3 / 52 - 33)) f = x1 - x2 return f" "import math def main(a, y, n): x = 0 x1 = 0 for j in range(1, a + 1): x = x + (y ** 3 + j ** 7) for i in range(1, n + 1): x1 = x1 + (75 * (1 + i + i ** 3) ** 5 + 1 + 29 * (22 * i ** 2 + i + 0.02) ** 4) return x + x1" "import math def main(m, b, x): i = 0 p = 1 for k in range(1, b + 1): for j in range(1, m + 1): z = 84 * j ** 3 + 81 * x + j ** 2 p *= 66 * z ** 7 - 23 * (89 * k) ** 6 i += p p = 1 return i" "import math def main(b, m, p): res = 0 res1 = 0 for c in range(1, b + 1): res += 29 - 87 * math.cos(c) for j in range(1, m + 1): res1 += 7 * pow(pow(p, 2) / 5 + 56 * pow(j, 3) + 1, 3) return res - res1" "from math import * def main(b, m, n): f = 0 for i in range(1, n + 1): for j in range(1, m + 1): for c in range(1, b + 1): f += tan(j ** 3) ** 6 / 70 + (c ** 3 - i ** 2 - 98) ** 2 return f" "import math def main(b, a, p): answer = 0 for i in range(1, a + 1): for k in range(1, b + 1): answer += k + 1 + 88 * math.pow(math.pow(p, 2) + p, 2) + 89 * math.pow(math.pow(i, 3) + math.pow(i, 2), 5) return answer" "import math def main(a, b, m, n): res = 0 totala = 1 totalb1 = 0 totalb2 = 0 totalm = 0 totaln = 0 for i in range(1, b + 1): for k in range(1, a + 1): res = math.tan(i) - 59 * (33 * k ** 2) ** 7 - k ** 5 totala *= res totalb1 += totala totala = 1 for c in range(1, n + 1): for j in range(1, b + 1): for k in range(1, m + 1): res = 47 * c ** 6 - j - 91 * math.tan(k) ** 3 totalm += res totalb2 += totalm totalm = 0 totaln += totalb2 totalb2 = 0 return totalb1 + totaln" "def main(a, x, n, y): b = 0 for k in range(1, a + 1): b = b + (k ** 5 + x ** 7) s = 0 for j in range(1, a + 1): for k in range(1, n + 1): s += 85 * k ** 7 - y ** 12 - (0.03 + 85 * y + 54 * j ** 2) ** 3 / 55 return b + s" "from math import log10 def main(x, y, z): res = 0 for k in range(1, y + 1): temp1 = 1 - k ** 3 for i in range(1, x + 1): res += (temp1 - 62 * i) ** 2 + 20 * log10(i) ** 3 + 26 for c in range(1, x + 1): temp1 = c ** 2 temp2 = temp1 ** 3 for j in range(1, z + 1): res += temp1 + j + temp2 return res" "import math def main(b, a): r1 = 1 r2 = 0 for k in range(1, a + 1): for i in range(1, b + 1): r2 += 0.01 + 55 * k - 12 * (90 * k ** 2) ** 4 - 97 * i ** 7 r1 *= r2 r2 = 0 return r1" "import math def main(m, p, n, b): return f(m, p, n, b) def f(m, p, n, b): gm = 0 tm = 0 for i in range(m): g = 25 * (i + 1) ** 5 - 70 * (54 * p) ** 3 - 1 gm = gm + g for c in range(b): for i in range(n): t = math.sin(73 * (c + 1) ** 2) ** 6 + (i + 1) ** 2 tm = tm + t gt = gm + tm return gt" "def main(b, n): result = 0 for c in range(1, n + 1): for j in range(1, b + 1): result += 61 * abs(53 * j - c ** 2) ** 5 - 76 * pow(j, 3) - 12 * pow(j, 2) return result" "def main(n, a, x): z = 0 for i in range(1, a + 1): for c in range(1, n + 1): z += 1 - (18 * i ** 3) ** 2 / 36 - (c ** 2 + 10 * x ** 3) ** 7 return z" "import math def main(a, n, y, m, z): i = 1 c = 1 result = 0 result1 = 1 while i <= n: k = 1 while k <= a: result1 *= math.sqrt(i) ** 3 - k ** 7 / 16 - 84 * y ** 4 k += 1 result += result1 result1 = 0 i += 1 result1 = 0 while c <= n: k = 1 while k <= m: result1 += z ** 7 + 60 * (3 * c + 1 + 52 * c ** 3) ** 4 + k ** 3 k += 1 c += 1 return result - result1" "import math def main(m, b, n): s = 0 for j in range(1, m + 1): s += 97 - 96 * j ** 5 - math.cos(j ** 2 + j / 41) / 64 for c in range(1, n + 1): for i in range(1, b + 1): s += 40 * i + (c ** 2 + i) ** 4 return s" "import math def func(m, z, a, n, p): x = 0 for j in range(1, m + 1): x += 20 * math.log(13 - z ** 2 - j + 22) ** 2 for j in range(1, m + 1): for i in range(1, n + 1): for k in range(1, a + 1): x += (p - 1 - i ** 2) ** 5 - 60 * abs(0.12 + 26 * k ** 2 + j ** 3) return x def main(m, z, a, n, p): res = func(m, z, a, n, p) return res" "def main(m, a, b, p): res1 = 0 res2 = 0 for j in range(1, m + 1): res1 += j ** 5 / 26 + 80 * j ** 3 + 45 * j ** 4 for k in range(1, b + 1): for j in range(1, a + 1): res2 += 73 * (p ** 2 + j + 1) ** 4 - 27 * k - j ** 2 return res1 - res2" "import math def main(b, a, z): res1 = 0 res2 = 0 for j in range(1, b + 1): res1 += 19 * math.log(54 * j ** 3 - 0.02) ** 4 for i in range(1, a + 1): res2 += (15 + 33 * i ** 3 + z) ** 7 / 86 return res1 - res2" "import math def main(m, a, x): rez = 0 for i in range(1, a + 1): for j in range(1, m + 1): rez += 66 * j ** 7 + 53 * (i + 30 * i ** 3) ** 5 + math.tan(x) ** 6 return rez" "import math def main(n, b, m, y): res1 = 0 res2 = 0 res3 = 1 for j in range(1, b + 1): for i in range(1, n + 1): res1 += 52 * (i ** 2 + j + i ** 3 / 85) res3 *= res1 res1 = 0 for j in range(1, b + 1): for k in range(1, m + 1): for i in range(1, n + 1): res2 += math.cos(i) ** 7 + 82 * y ** 3 + 73 * (k + 50 * j ** 2) sum = res3 - res2 return sum" "import math def main(n, b, a): a1 = 0 for j in range(1, a + 1): for k in range(1, b + 1): for c in range(1, n + 1): a1 += k ** 5 + 11 * c ** 4 + 82 * (22 * k ** 2 + 90 * j ** 3 + 23) return a1" "from math import ceil def main(n, m, y, b): (res1, res2) = (0, 1) for i in range(1, m + 1): for c in range(1, n + 1): res1 += 19 * c ** 3 - (0.2 + 90 * i ** 3 + y) for k in range(1, n + 1): temp = 0 for i in range(1, b + 1): temp += 77 * i ** 4 + 30 * ceil(1 + 32 * k ** 2) ** 3 + 70 res2 *= temp return res1 - res2" "def main(b, a, n): result = 0 for i in range(1, n + 1): for k in range(1, a + 1): for c in range(1, b + 1): result += 11 * (6 * i - k ** 2) ** 3 - (k ** 3 + 41 * c + 60 * k ** 2) ** 2 return result" "def main(a, m, n, z): res = 0 for k in range(1, n + 1): for i in range(1, m + 1): for j in range(1, a + 1): res += 41 * (17 * z ** 3 + 99 * k ** 2 + 40 * j) + 85 * i ** 6 + 14 return res" "import math def main(a, n, x): c = 1 res = 0 for j in range(1, a + 1): for c in range(1, n + 1): res += 1 - j ** 6 - (c ** 2 / 65 + j + 31 * x ** 3) ** 4 c += 1 j += 1 return res" "import math def main(a, p, n): result = 0 s1 = 0 for c in range(1, a + 1): s1 += (90 * p ** 2 + 98 * c) ** 7 + p ** 9 + 1 r1 = 0 for c in range(1, n + 1): s2 = 0 for k in range(1, a + 1): s2 += 45 * math.tan(61 * c - 1 - k ** 2) + 1 r1 += s2 result = s1 - r1 return result" "import math def main(a, m, z): result = 0 s1 = 0 for j in range(1, m + 1): s1 += 38 * j + j ** 3 + 32 * (z ** 3 / 82 + j ** 2 / 57) ** 2 r1 = 0 for k in range(1, m + 1): s2 = 0 for c in range(1, a + 1): s2 += 86 * k ** 5 - 30 * c r1 += s2 result = r1 - s1 return result" "import math def main(b, a, x): result = 0 for i in range(1, a + 1): for j in range(1, b + 1): result += math.tan(x ** 2) ** 6 + abs(i) ** 7 + j ** 3 for c in range(1, a + 1): result -= 1 - c ** 6 - c ** 5 return result" "import math def main(m, n, a, y): result = 0 for c in range(1, a + 1): for i in range(1, n + 1): for j in range(1, m + 1): result = result + (14 * j ** 3 + i * i + c) ** 6 - (43 * y ** 3) ** 4 - y ** 3 return result" "import math def main(n, a, b): num = 0 for c in range(1, b + 1): for k in range(1, a + 1): for j in range(1, n + 1): num = num + (58 * (9 * c ** 2 - 92 * c ** 3) ** 6 + (c - k ** 2) ** 3 + 9 * j) return num" "import math def main(a, b, m, y): sum1 = 0 for c in range(1, m + 1): sum2 = 0 for j in range(1, b + 1): mul3 = 1 for i in range(1, a + 1): mul3 *= 88 * (34 * j) ** 5 - math.log2(i * i + c ** 3) ** 6 - math.fabs(y) ** 4 sum2 += mul3 sum1 += sum2 return sum1" "def main(n, m, a, x): prod = 1 for c in range(1, a + 1): sum1 = 0 for i in range(1, m + 1): sum2 = 0 for k in range(1, n + 1): sum2 += 48 * c ** 5 + i * i / 47 + (1 - k - x * x * x) ** 7 sum1 += sum2 prod *= sum1 return prod" "import math def main(b, n, m): su = 0 sum1 = 0 sum2 = 0 sum3 = 1 k = 0 for k in range(1, b + 1): su += 44 * math.log(1 + 40 * k + 94 * k ** 3) ** 3 + 98 for i in range(1, n + 1): for k in range(1, b + 1): j = 0 sum1 += 29 * (k ** 3 + i + 1) ** 3 + 51 * math.sin(j) ** 2 for j in range(1, m + 1): sum3 *= sum1 hui = su - sum3 return hui" "from math import log def math(k, c, i): return k ** 6 + 33 * c + log(5 + 30 * i ** 3 + 83 * k ** 2) ** 5 def main(m, a, b): sum_b = 0 for i in range(1, b + 1): sum_k = 0 for k in range(1, a + 1): sum_c = 0 for c in range(1, m + 1): sum_c += math(k, c, i) sum_k += sum_c sum_b += sum_k return sum_b" "def main(n, b, a): a1 = 0 a2 = 0 ans = 0 for j in range(1, a + 1): a2 += a1 a1 = 0 for i in range(1, b + 1): a1 += ans ans = 0 for k in range(1, n + 1): ans += 74 * (39 * j ** 2 - 27 - 64 * k) ** 4 ans += (51 * i ** 3) ** 7 ans += 30 * j ** 5 return a2 + a1 + ans" "def main(m, a, n): summ = 0 sum1 = 0 sum2 = 0 suma = 0 sumn = 1 for i in range(1, n + 1): for j in range(1, a + 1): for k in range(1, m + 1): sum1 = (k ** 2 - j) ** 6 / 14 sum2 = 89 * i ** 4 + 13 * i ** 3 summ += sum1 + sum2 suma += summ summ = 0 sumn *= suma suma = 0 return sumn" "import math def main(m, n, b): res = 0 for i in range(1, m + 1): res += 1 + 12 * i ** 2 res_1 = 0 for j in range(1, b + 1): for c in range(1, n + 1): res_11 = (j ** 2 + 48 * c ** 3 + 59) ** 2 res_12 = 21 * math.sin(c) ** 4 res_1 += res_11 - res_12 c = res - res_1 return c" "import math def main(a, b, m, y): S = 0 for k in range(1, m + 1): for i in range(1, b + 1): for c in range(1, a + 1): if 1 + y + 51 * k ** 3 > 0: S += i ** 2 + c ** 3 + 88 * math.log2(1 + y + 51 * k ** 3) return S" "import math def main(n, z, b): j = 1 res = 0 while j < n + 1: res += 40 * (1 - j) ** 6 - math.tan(z) ** 7 j += 1 for j in range(1, n + 1): for k in range(1, b + 1): res += abs(j) ** 6 / 37 - 8 * j ** 2 - 23 * (48 * k ** 3 + 1) k += 1 j += 1 return res" "from math import sin def main(m, a, z, b, n): f_mul = float(1) for j in range(1, a + 1): f_sum = float(0) for i in range(1, m + 1): f_sum += 41 * sin(j) ** 2 - (52 - z ** 3 - i ** 2) ** 3 - 1 f_mul *= f_sum f_mul_2 = float(1) for k in range(1, n + 1): f_sum_2 = float(0) for j in range(1, a + 1): f_sum_3 = float(0) for c in range(1, b + 1): f_sum_3 += 1 - 54 * (j ** 3 + c + 32) ** 3 - 44 * sin(k ** 3 / 50 - 63 * c) ** 4 f_sum_2 += f_sum_3 f_mul_2 *= f_sum_2 return f_mul + f_mul_2" "def main(n, z, b, a, y): result = 1 for k in range(1, n + 1): result *= abs(68 * k ** 3 - 24 * z ** 2 - 62) ** 4 for c in range(1, a + 1): for j in range(1, b + 1): for k in range(1, n + 1): result += 43 * y ** 2 + 10 * (k + 1 + 68 * c ** 2) ** 4 + (65 * j ** 3) ** 5 return result" "def main(m, n, a): result = 0 for i in range(1, m + 1): result += 9 * i ** 5 for c in range(1, a + 1): for i in range(1, n + 1): result -= 88 * i ** 3 + 42 * c ** 6 + abs(c) ** 5 / 75 return result" "def main(b, a, n): result = 0 for c in range(1, n + 1): s = 0 for k in range(1, a + 1): s3 = 0 for i in range(1, b + 1): s3 += 99 - pow(c, 4) - 60 * pow(1 + k + pow(i, 2), 3) s += s3 result += s return result" "import math as mt def main(a, n, m, z): Pr1 = 1 Pr_A = 1 for i in range(1, a + 1): c = 80 * (i ** 3 + 14 * i + 46) ** 5 b = 97 * mt.atan(i ** 2 - 51 * i - 36) ** 3 Pr_a = c + b Pr1 = Pr1 * Pr_a Pr_C = 0 Pr_B = 0 for i in range(1, m + 1): for k in range(1, n + 1): for j in range(1, a + 1): Pr_b = j ** 5 - 69 * z ** 3 - 99 * (k ** 2 + 39 * i ** 3) Pr_C = Pr_C + Pr_b Pr_B = Pr_B + Pr_C Pr_C = 0 Pr_A = Pr_A * Pr_B Pr_B = 0 f = Pr1 + Pr_A return f" "import math def main(b, m, a): ans = 0 for c in range(1, a + 1): sum1 = 0 for j in range(1, m + 1): prod1 = 1 for k in range(1, b + 1): prod1 *= 99 * j ** 2 + (78 * c - 53 - 95 * k ** 3) ** 3 + math.log(j, 10) sum1 += prod1 ans += sum1 return ans" "import math def main(n, b): res = 0 for i in range(1, b + 1): for j in range(1, n + 1): res += math.log(j, 10) ** 6 - i ** 14 for i in range(1, n + 1): res += i ** 6 return res main(2, 6) '\n'" "import math def main(b, n, y): result = 0 for j in range(1, n + 1): for k in range(1, b + 1): result += math.log(51 * j ** 2 + k + 33 * y ** 3) ** 6 / 93 - y ** 7 return result" "def main(a: int, m: int, b: int, n: int, z: float): part1 = 0 part2 = 0 for c in range(1, a + 1): part1 += c - (c ** 2 - 89) ** 7 for c in range(1, n + 1): for j in range(1, b + 1): for i in range(1, m + 1): part2 += 48 * (39 * i ** 3 - j ** 2 - 1) ** 2 - (z + c ** 2) ** 4 return part1 + part2" "import math def main(n, z, a, b): res = 0 for j in range(1, n + 1): res += j * j - 52 * (44 * z * z * z - 9) - math.pow(j, 7) for i in range(1, b + 1): for c in range(1, a + 1): res -= math.pow(i * i - 0.02 - 44 * c, 3) - 1 - 2 * (18 * c * c + 24 * c + 1) return res" "from math import acos from math import log10 def main(a, n, b, z): summary: int = 0 for j in range(1, b + 1, 1): for i in range(1, n + 1, 1): for c in range(1, a + 1, 1): summary += log10(c) - 51 * (i ** 2 / 51 + 55 * j ** 3) ** 3 - acos(z) ** 6 return summary main(3, 6, 7, -0.06) main(5, 3, 8, -0.07)" "import math def main(b, m, n, p): first = 0 second = 0 for k in range(1, m + 1): for j in range(1, b + 1): first += (77 * k ** 2) ** 4 + abs(j) / 23 for c in range(1, b + 1): for i in range(1, n + 1): second += c ** 5 + 7 * (20 * i ** 3 - p ** 2 / 99) ** 3 + i ** 7 return first - second" "import math def main(m, b, p, a, n, y): temp1 = 0 for k in range(1, b + 1): for j in range(1, m + 1): temp1 += (p ** 2 + k + k ** 3 / 31) ** 2 + 2 * j ** 6 temp2 = 0 for j in range(1, b + 1): for i in range(1, n + 1): for k in range(1, a + 1): temp2 += i + 60 * (64 * k ** 3 - j - i ** 2) ** 6 + math.ceil(y / 4 + 95) ** 4 return temp1 - temp2" "import math def main(b, p, z): result = 0 a1 = 0 for i in range(1, b + 1): a1 += pow(p, 3) / 45 + pow(math.atan(i), 2) for k in range(1, b + 1): result += pow(35 * pow(k, 5) + 59 * (pow(k, 3) + 87 * z * z), 3) + pow(math.exp(25 - z * z), 2) return a1 - result" "def main(b, a, n, y): first_cycle = 1 for k in range(1, n + 1): second_cycle = 0 for j in range(1, a + 1): third_cycle = 1 for i in range(1, b + 1): third_cycle *= 69 * (45 * y * y + 1 + k * k * k) ** 4 + 86 * (j + i * i + 0.01) ** 3 second_cycle += third_cycle first_cycle *= second_cycle return first_cycle" "def main(n, z, b, p): q = 0 for j in range(1, n + 1): q = q + (j ** 6 + (1 - z ** 3 / 38 - j) ** 7) for j in range(1, b + 1): q = q + (j ** 2 - 15 * j ** 7 - 51 * p ** 5) return q" "def main(m, p, n, b, x): a = 0 for k in range(1, m + 1): q = (55 - 94 * p ** 3) ** 3 / 46 + 12 * p ** 3 - 63 * k a = a + q c = 0 for j in range(1, b + 1): for i in range(1, n + 1): q = x - j ** 2 - 47 * (i ** 2 - i / 43 - i ** 3 / 6) ** 6 c = c + q return a - c" "import math def main(b, p, m, a, y): mul = 1 k = 1 while k <= b: mul *= 87 * k - (k ** 2 - p ** 3 - 1) ** 4 - 1 k += 1 i = 1 s1 = 0 while i <= a: s2 = 0 k = 1 while k <= m: s2 += y + 43 * k ** 4 + 33 * math.log10(20 * i ** 2) ** 5 k += 1 s1 += s2 i += 1 return mul + s1" "import math def main(a, n, p): result = 0 for c in range(1, n + 1, 1): for i in range(1, a + 1, 1): q = math.pow(c, 3) w = 53 * math.pow(math.pow(c, 2) - 15 * i, 6) e = 1 + 66 * math.pow(p, 2) result += q - w - e return result" "import math def main(b, n, a, x): res = 0 for i in range(1, a + 1): for c in range(1, n + 1): for j in range(1, b + 1): res += (46 * c + 40 * j ** 3 + x * x) ** 4 + 22 * math.sqrt(i) ** 7 return res" "import math def main(b, n): ans = 0 for c in range(1, n + 1): for i in range(1, b + 1): step = 0 temp1 = 99 * c * c + c temp1b = pow(math.atan(temp1), 5) temp2 = c + 15 + 28 * i * i * i temp2b = temp2 * temp2 * temp2 step = temp1b - temp2b ans += step return ans" "import math def main(a, p, b, n, m): result_mult = 1 result_sum = 0 for k in range(1, a + 1): result_mult *= 50 * math.log10(p + p ** 3) - (60 * k ** 2) ** 6 / 45 - k ** 4 for c in range(1, m + 1): for j in range(1, n + 1): for i in range(1, b + 1): result_sum += (c + 28 * p ** 2) ** 2 - j ** 4 - 53 * i ** 3 return result_mult + result_sum" "from math import * def main(a, n, m): value = 0 for k in range(1, m + 1): for i in range(1, n + 1): for c in range(1, a + 1): value += 48 + 3 * c ** 3 + 89 * (93 * k ** 3 - i) return value" "from math import * def main(a, n): value = 0 for j in range(1, n + 1): for i in range(1, a + 1): value += (j ** 2 / 99) ** 4 + 75 * (90 * j ** 3 + 54 + j) ** 5 + i ** 6 / 99 return value" "def main(n, a, b, z): LA = list(range(1, a + 1)) LN = list(range(1, n + 1)) LB = list(range(1, b + 1)) sum = 0 for k in LA: for j in LN: rab = abs(pow(k, 3)) sum = sum + j * j - pow(rab, 7) - j for j in LA: for c in LB: rab = 31 * pow(z, 3) + j + 57 sum = sum + pow(abs(c), 4) + 14 * pow(rab, 2) return sum" "import math def main(m, b, p): c = 1 f = 0 j = 1 f1 = 0 while j <= b: k = 1 while k <= m: f = f + 23 * j + 62 * (k ** 3 / 84 + 28 * p ** 2) ** 4 k += 1 j += 1 while c <= m: f1 = f1 + 9 * math.log(c, math.e) c += 1 return f1 - f" "def main(b, a, m): x = 0 for k in range(1, m + 1): for j in range(1, a + 1): for c in range(1, b + 1): x += k - (j ** 2 - 1 - 97 * c) ** 3 - (54 + 70 * j ** 2) ** 5 return x" "import math def main(n, m, a, y): res = 0 for j in range(1, n + 1): res += math.log2(0.02 + j + 49 * j ** 2) for j in range(1, a + 1): for i in range(1, m + 1): res += 17 * math.sqrt(49 * i ** 3) + 50 * y ** 4 + 62 * j ** 5 return res" "import math def main(b, m, n, x): res = 0 for k in range(1, n + 1): for i in range(1, m + 1): for j in range(1, b + 1): res += (87 - i ** 2) ** 2 + x ** 7 + 1 - j ** 3 - k ** 2 return res" "import math def main(a, z, b, n, m, x): (left, right) = (0, 0) for i in range(1, a + 1): left += (z ** 3 / 86 + i ** 2 / 65 + 5) ** 3 + math.log10(i ** 2 + i) ** 6 for c in range(1, m + 1): for i in range(1, n + 1): for j in range(1, b + 1): right += 63 * j ** 7 + (i ** 2 - x ** 3 - 3 * c) ** 5 return left - right" "def main(b, n, a, x): ans = 0 for c in range(1, a + 1): for k in range(1, n + 1): for i in range(1, b + 1): ans += (k + c ** 2) ** 4 - i ** 3 / 85 - 11 * x return ans" "from math import fabs def main(b, m, x): f = 0 T = 0 Q = 0 for k in range(1, m + 1): for j in range(1, b + 1): f = (k ** 2 + 89) ** 6 / 23 - (16 * j - 14 * x ** 2) ** 3 - j ** 5 Q = Q + f return Q" "import math def main(m, n, z): itog = 0 for c in range(1, n + 1): for i in range(1, m + 1): scob1 = (23 * z ** 3 - 51 - 61 * z ** 2) ** 5 chast1 = scob1 / 2 razn1 = chast1 - c itog = itog + (razn1 - math.log10(i) ** 7) return itog" "from math import * def main(b, n, a, x): u = 1 for k in range(1, n + 1): for c in range(1, b + 1): u = u * (0.14 + c ** 5 + 19 * (1 - 3 * k ** 2 - c) ** 6) s = 0 for j in range(1, a + 1): for k in range(1, n + 1): for i in range(1, b + 1): s += 44 * x ** 7 - k ** 3 - (50 * j ** 2 + 12 * i) ** 5 return u - s" "def func1(i, c): return 95 - 65 * i ** 3 - c ** 6 def func2(i, j, k, z): s1 = z / 22 s2 = 66 * (j ** 2 - 1 - 27 * i ** 3) ** 6 s3 = 70 * (41 - k ** 3) ** 3 return s1 + s2 + s3 def main(b, n, a, z): sum_c = 0 for c in range(1, n + 1): prod_i = 1 for i in range(1, b + 1): prod_i *= func1(i, c) sum_c += prod_i sum_i = 0 for i in range(1, a + 1): sum_k = 0 for k in range(1, n + 1): sum_j = 0 for j in range(1, b + 1): sum_j += func2(i, j, k, z) sum_k += sum_j sum_i += sum_k return sum_c - sum_i" "import math from math import * def main(m, b): x1 = 0 x2 = 0 for c in range(1, b + 1): for k in range(1, m + 1): x1 = x1 + ((95 * k ** 3 - 24 - c ** 2) ** 2 / 46 + c ** 7) x2 = x2 + (math.acos(k / 37) ** 6 + 2 * (49 - k) + sqrt(c) ** 3) return x1 - x2" "def main(b, a, z, m): res1 = 0 for j in range(1, a + 1): for k in range(1, b + 1): res1 += 7 * z ** 6 - 71 * j - k ** 14 res2 = 0 for c in range(1, m + 1): res2 += 77 * (77 * c - 87) ** 5 - 91 - c ** 4 return res1 + res2" "import math def main(m, n, a): result = 0 for k in range(1, a + 1): s = 0 for c in range(1, n + 1): p = 1 for j in range(1, m + 1): p += 1 - math.log(k, 10) ** 6 - 85 * (k ** 2 - 79 * c - 57 * j ** 3) ** 4 s += p result += s return result" "def main(*args): b = args[0] m = args[1] s = 0 s1 = 0 fs = 0 for c in range(1, b + 1): c = c ** 6 - 62 * c ** 4 - 1 s += c for j in range(1, b + 1): for k in range(1, m + 1): v = 92 * (j - k ** 3) ** 4 s1 += v fs = s - s1 return fs" "def main(a, m, y, n, b): sum1 = 0 for i in range(1, m + 1): mult1 = 1 for c in range(1, a + 1): mult1 *= 66 * (c / 94 + 1 + 96 * y ** 3) ** 4 + i ** 6 sum1 += mult1 mult2 = 1 for c in range(1, b + 1): sum2 = 0 for k in range(1, n + 1): sum2 += 54 * (c ** 2 + c + 23 * k ** 3) ** 2 mult2 *= sum2 return sum1 + mult2" "import math def main(n, b, z): A = 0 B = 0 for j in range(1, n + 1): A = A + j / 72 for c in range(1, b + 1): B = B + 48 * (c ** 2 / 70 + z / 12 + 1) ** 3 + 0.04 + 41 * abs(z) ** 4 return A + B" "def main(n, a, b, z): result = 0 for k in range(1, b + 1): for i in range(1, a + 1): for j in range(1, n + 1): result += 3 ** 7 + (91 * j + 32 * k ** 2 + j ** 3) ** 6 + z ** 4 return result" "import math def main(n, x, a): f1 = 0 f2 = 0 for c in range(1, n + 1): f1 += 1 - x - pow(math.log10(x ** 3 + 91 * c ** 2 + c), 3) for c in range(1, a + 1): for i in range(1, n + 1): f2 += 50 * pow(math.ceil(c ** 2 + i + c ** 3), 6) f = f1 + f2 return f" "from math import log10 def main(n, a, b): s1 = 0.0 s2 = 0.0 s3 = 0.0 s4 = 0.0 m = 1.0 for i in range(1, a + 1): for c in range(1, n + 1): s1 += log10(i) ** 3 + 98 + c s4 += s1 for i in range(1, n + 1): for j in range(1, b + 1): for c in range(1, a + 1): s2 += (13 * i ** 2 - 90 * j ** 3) ** 4 - 16 * (95 * j + 23 + c ** 3) ** 3 m *= s2 s2 = 0 s3 += m m = 1 return s4 - s3" "def main(m, a, b, p): res = 0 for j in range(1, b + 1): for i in range(1, a + 1): for k in range(1, m + 1): res += j ** 2 - (55 * i ** 2 + 51 * p ** 3 + k) ** 3 return res" "from math import log, log2 def main(b, n, p): mult = 1 for i in range(1, n + 1): sum = 0 for k in range(1, b + 1): sum += log(k) ** 3 - (90 * i ** 2 + 1 + p) ** 6 - 34 * log2(k) ** 4 mult *= sum return mult" "from math import ceil, log def main(n, b, m): res1 = 0 for c in range(1, n + 1): res1 += (c ** 3 - c ** 2) ** 3 res2 = 0 for j in range(1, n + 1): for k in range(1, m + 1): for c in range(1, b + 1): res2 += ceil(k) ** 6 + j ** 7 + 68 * log(c) return res1 - res2" "import math def main(m, p, a, b): sum1 = 0 sum2 = 0 for i in range(1, m + 1): sum1 = sum1 + math.floor(i * i * i) - 2 * p * p * p * p * p * p - 38 * math.pow(math.log(i, 2), 4) for j in range(1, b + 1): for k in range(1, m + 1): for c in range(1, a + 1): sum2 = sum2 + math.pow(c / 9 - p * p * p, 6) + 93 * math.pow(j - 77 * p * p * p - 68 * k * k, 2) return sum1 + sum2" "def main(b, n): result = 0 for i in range(1, n + 1): for c in range(1, b + 1): result += (39 - 83 * c - c ** 2) ** 2 + 91 * int(i) ** 4 + 47 * c ** 5 return result" "import math def main(b, y, n): s = 0 p = 1 for k in range(1, b + 1): s += 38 * y ** 6 + math.atan(k) ** 3 + math.atan(1 - k ** 3 / 29) ** 4 for j in range(1, n + 1): s_loc = 0 for c in range(1, b + 1): s_loc += (c - 9 * j ** 2 - 25 * j ** 3) ** 7 p *= s_loc return s + p" "def main(m, n): result = 0 for i in range(1, n + 1): mult = 1 for j in range(1, m + 1): mult *= (62 * i ** 3 + j ** 2 / 3 + 0.02) ** 4 - 0.01 - 53 * j ** 7 result += mult return result" "from math import tan def main(b, n, a): result = 0 for i in range(1, a + 1): for c in range(1, n + 1): for k in range(1, b + 1): result += (c ** 3 + 79 * i + 1) ** 5 + 94 * tan(k) ** 7 * k + 77 return result" "import math def main(a, m, x): f = 0 for k in range(1, m + 1): for i in range(1, a + 1): f += math.sin(k ** 2 + 66 * i ** 3 + 46 * i) + 22 * x ** 18 return f" "from math import * def sum_1(b, c): result = 0 for j in range(1, b + 1): result += 8 * pow(pow(j, 3) - 70 * c - 70 * pow(j, 2), 2) return result def mul_1(n, b): result = 1 for c in range(1, n + 1): result *= sum_1(b, c) return result def sum_3(a, c): result = 0 for j in range(1, a + 1): result += pow(abs(c), 3) + 35 * pow(j, 6) return result def sum_4(n, a): result = 0 for c in range(1, n + 1): result += sum_3(a, c) return result def main(b, n, a): result = mul_1(n, b) + sum_4(n, a) return result" "import math def main(a, m, y): return first_series(a) + second_series(m, y) def first_series(a): result = 0 for i in range(1, a + 1): result += 16 * i ** 3 + i / 92 return result def second_series(m, y): result = 0 for k in range(1, m + 1): result += (1 - y * y) ** 6 - math.tan(k) ** 3 return result" "def main(a, b, n): sum = 0 for k in range(1, n + 1): for j in range(1, b + 1): for i in range(1, a + 1): sum += (j - k ** 2 / 11) ** 4 / 64 + 5 * (i + k ** 3) ** 6 return sum" "import math def main(*args): m = args[0] x = args[1] a = args[2] s = 0 s1 = 0 s2 = 0 s3 = 0 fs = 0 for k in range(1, m + 1): k = x ** 5 - math.log(46 * x ** 2 + k) ** 3 s += k for c in range(1, a + 1): c = 59 * math.sin(c ** 3 - 1 - 42 * c ** 2) ** 6 s1 += c for c in range(1, a + 1): c = 54 * (32 * c ** 2 + 0.02) ** 2 s2 += c s3 = s1 - s2 fs = s + s3 return fs" "import math def main(a=5, x=0.95): firstsum = 0 secondsum = 0 for i in range(1, a + 1): firstsum += i ** 7 / 86 - i ** 4 - 18 * i for i in range(1, a + 1): secondsum += (65 * i) ** 4 - 1 - math.tan(33 * x - 11 - 26 * x ** 2) ** 6 return firstsum - secondsum" "import math def main(b, n, a, p): sum = 0 for i in range(1, a + 1): for c in range(1, n + 1): for k in range(1, b + 1): str1 = math.pow(59 * c, 2) str2 = math.pow(p, 7) str3_1 = math.pow(k, 2) / 78 str3 = math.pow(str3_1 - i, 4) sum += str1 + str2 + str3 return sum" "from math import sin, log10 def main(n, m, x): res1 = 0 for c in range(1, m + 1): for j in range(1, n + 1): res1 += 18 * j ** 4 - sin(c ** 2) ** 3 / 20 res2 = 1 for c in range(1, n + 1): res2 *= 45 * (x ** 3 - 61 * c ** 2 - x) ** 3 - log10(x) ** 4 return res1 + res2" "def main(m, a, n): res1 = 0 for c in range(1, m + 1): res1 += 66 * (95 - c ** 3 - 17 * c ** 2) ** 5 res2 = 0 for k in range(1, m + 1): for j in range(1, n + 1): for c in range(1, a + 1): res2 += (3 * c ** 2 - 74 * j ** 3 - k) ** 2 + 1 + 12 * (1 + j) ** 4 return res1 - res2" "import math def main(b, a, x): sum1 = 0 for k in range(1, b + 1): sum1 += 97 * math.log10(7 * k ** 2 + 93 + k) ** 6 pr1 = 1 for i in range(1, b + 1): sum2 = 0 for j in range(1, a + 1): x1 = (59 * x ** 3 + 50 * j ** 2) ** 5 x2 = x1 / 97 x3 = 18 * math.floor(i) ** 4 sum2 += x2 + x3 pr1 *= sum2 return sum1 + pr1" "import math def main(n, x, m): s1 = 0.0 for k in range(1, n + 1): s1 += math.sin(x) ** 7 - k ** 4 s2 = 0.0 for k in range(1, m + 1): for c in range(1, n + 1): s2 += c ** 4 + 56 * k ** 7 + k ** 12 / 46 return s1 + s2" "def main(n, m, z): str1 = 0 for j in range(1, m + 1): for i in range(1, n + 1): str1 += 39 * (43 * j + i ** 2) - 25 * (z ** 2 + 24 * i) ** 7 return str1" "from math import * def main(n, a, m, b, y): t = 0 for j in range(1, n + 1): s = 95 * tan(j) ** 6 + 7 * j ** 7 + 69 * (j ** 3 + j ** 2) ** 5 t = t + s ms = 0 for c in range(1, b + 1): for j in range(1, m + 1): for k in range(1, a + 1): h = j ** 3 + 48 * log10(c) ** 4 + (y ** 2 - 10 * k ** 3) ** 2 ms += h return t - ms main(4, 7, 6, 6, -0.36)" "import math def main(m, p, n, x): answer = 0 a = sum([math.log2(p ** 3 + 1 + j ** 2) ** 4 / 6 for j in range(1, m + 1)]) b = sum([(i + i ** 3 + x ** 2) ** 4 - 1 - 30 * math.ceil(i) ** 2 for i in range(1, n + 1)]) answer = a + b return answer" "from math import ceil, log, acos def main(m, n, p): res1 = 0 for j in range(1, n + 1): for c in range(1, m + 1): res1 += c ** 5 / 12 - ceil(c) - 73 * j ** 3 res2 = 0 for j in range(1, n + 1): res2 += log(p / 86 + 1 + 13 * p ** 3) ** 2 - 6 * j - acos(p) ** 6 return res1 + res2" "import math def main(a, m, n): f = 0 for j in range(1, n + 1): f2 = 1 for k in range(1, m + 1): f1 = 0 for i in range(1, a + 1): f1 += 71 - math.pow(i, 3) - 27 * math.pow(73 * k - 48 - math.pow(j, 2) / 66, 6) f2 *= f1 f += f2 return f" "def main(b, n, a, x): s1 = 0 s3 = 0 for c in range(1, n + 1): for j in range(1, b + 1): s2 = c ** 6 + j ** 4 s1 += s2 for j in range(1, a + 1): for c in range(1, b + 1): s4 = c ** 6 - 56 * (97 + 74 * x ** 2 + j ** 3) ** 4 s3 += s4 result = s1 + s3 return result" "import math def main(a, b, m): suma = 0 summ = 0 sumb = 0 summa = 0 for c in range(1, a + 1): suma += 1 - 67 * math.ceil(c ** 3 + 43 * c + c ** 2) ** 3 for i in range(1, m + 1): for j in range(1, b + 1): sumb += 69 * (2 * i ** 3 - 82 * i - 1) ** 3 + j ** 2 + 58 * math.log1p(i) ** 5 summ += sumb sumb = 0 summa = summ + suma return summa" "import math def main(m, a, p, b): res_1 = 0 for j in range(1, a + 1): for c in range(1, m + 1): res_11 = (47 + c) ** 7 / 9 res_1 += j ** 5 + p ** 4 + res_11 res_2 = 0 for j in range(1, b + 1): res_21 = j + j ** 3 + j ** 2 res_2 += 65 * res_21 ** 7 c = res_1 - res_2 return c" "import math from math import floor def main(b, n): result = 0 for k in range(1, n + 1): for c in range(1, b + 1): result += 1 + (84 * k ** 3 + k ** 2 + c) ** 4 for c in range(1, n + 1): for k in range(1, b + 1): result += k ** 6 / 20 - k ** 21 / 94 - 25 * math.floor(c) ** 4 return result" "from math import tan def main(a, p, m, x): res1 = 0 for c in range(1, a + 1): res1 = res1 + 41 * tan(56 * p ** 3 + p ** 2) ** 5 + 90 * c + 34 res2 = 1 for i in range(1, m + 1): res2 = res2 * (34 * (15 * x * x - x - 97 * i * i * i) + (x * x / 70 + 37 * x) ** 6) return res1 + res2" "import math def main(n, a, b, p): value = 0 for c in range(1, b + 1): for j in range(1, a + 1): for i in range(1, n + 1): value += (p + 37 * j ** 3) ** 6 / 15 - (c ** 2 - 78 - i ** 3) / 25 return value" "def math(i, k, j): return 59 + (i / 67 - k ** 3 - j ** 2) ** 2 + 60 * (k ** 3 + 9 * i) ** 3 def main(a, m, n): sum_k = 0 for k in range(1, n + 1): sum_j = 0 for j in range(1, m + 1): mul_i = 1 for i in range(1, a + 1): mul_i *= math(i, k, j) sum_j += mul_i sum_k += sum_j return sum_k" "def main(a, n, m): left = 0 right = 0 for j in range(1, n + 1): for i in range(1, a + 1): left += 46 * (10 + i + 26 * j ** 2) ** 5 for j in range(1, a + 1): for c in range(1, n + 1): for k in range(1, m + 1): right += j ** 5 - (39 * c - j ** 2) ** 2 - (k / 49 - 85) ** 7 left -= right return left" "import math def main(n, b, a): x = 0 for j in range(1, a + 1): for k in range(1, b + 1): for c in range(1, n + 1): det1 = (47 * k ** 3) ** 5 det2 = 54 * math.log(j) ** 2 det3 = abs(c) ** 7 det = det1 - det2 - det3 x += det return x" "import math def main(m, b, n): a1 = 0 a2 = 0 ans = 0 for i in range(1, n + 1): a2 += a1 a1 = 0 for j in range(1, b + 1): a1 += ans ans = 0 for c in range(1, m + 1): ans += (29 * j ** 2 + 12 + i ** 3) ** 6 ans += math.log10(35 * c ** 3) ** 7 return a2 + a1 + ans" "from math import floor, tan def main(m, a, p): res1 = 0 for j in range(1, m + 1): res1 += 89 * j ** 7 res2 = 0 for c in range(1, a + 1): for j in range(1, m + 1): res2 += floor(3 - j - p ** 3) + 52 * tan(c) ** 7 return res1 + res2" "def main(m, a, n): num = 0 for i in range(1, a + 1): for j in range(1, m + 1): num += 7 * i ** 2 - 15 * j - i ** 6 / 16 for k in range(1, n + 1): for j in range(1, m + 1): num += (k + j ** 3 + 24 * j ** 2) / 59 return num" "import math def main(n, m, a): a1 = 0 a2 = 0 ans = 0 for k in range(1, a + 1): a2 += a1 a1 = 0 for j in range(1, m + 1): a1 += ans ans = 0 for c in range(1, n + 1): ans += k / 11 ans -= (c ** 2 - 1) ** 4 ans -= 9 * (76 * j ** 3) ** 5 return a2 + a1 + ans" "import math def main(n, a): b = 0.0 s = 0.0 r = 0.0 res = 0.0 for c in range(1, a + 1): for k in range(1, n + 1): b += 62 * c ** 5 - k ** 3 - math.sin(k) ** 2 s += b for j in range(1, a + 1): r += j ** 3 + j ** 6 + (j ** 2 - j) ** 5 res = s - r return res" "from math import log def main(m, z, x): res1 = 0 for j in range(1, m + 1): res1 += 39 * z ** 2 - z ** 4 - (41 * j ** 3 - 58 * z ** 2 - 13 * z) ** 5 res2 = 0 for k in range(1, m + 1): res2 += 1 - 64 * k ** 5 - 71 * log(x) ** 6 return res1 + res2" "def main(a, x, m): result = 0 result2 = 0 for c in range(1, a + 1): result += 16 * (x + 88 + 77 * c ** 2) ** 2 for i in range(1, m + 1): result2 += (40 * i - 72 * i ** 3) ** 7 + i / 2 f = result + result2 return f" "def main(n, a, z, b, m, p): s = 0 for i in range(1, a + 1): for k in range(1, n + 1): s += 73 * (1 - 30 * k - z * z) ** 3 + 81 * i * i for i in range(1, m + 1): for j in range(1, a + 1): for c in range(1, b + 1): s -= i ** 4 + 63 * p ** 5 + (j * j - 85 * c) ** 2 return s" "import math def main(a, p, n, y): sum = 0 sum2 = 0 sum3 = 0 itog = 0 for i in range(1, a + 1): sum += math.exp(p + 14) ** 6 + i ** 7 for i in range(1, n + 1): sum2 += i + (3 + i / 30 + y ** 3) ** 6 sum3 += math.atan(i ** 3 - i ** 2 / 96) ** 4 itog = sum + sum2 + sum3 return itog" "def main(b, m, a): f = 0 for k in range(1, a + 1): for i in range(1, m + 1): for c in range(1, b + 1): f += i + 59 * (52 * k ** 2 - k) ** 3 + (77 * c ** 3) ** 7 return f main(5, 3, 3)" "def main(a, b, x): return sum([sum([73 * (x / 25 - k ** 2 - k ** 3) ** 3 - k ** 7 - j ** 5 for k in range(1, a + 1)]) for j in range(1, b + 1)])" "def main(n, b, a, p): res = 1 for j in range(1, a + 1): for k in range(1, b + 1): ress = 0 for i in range(1, n + 1): ress += i ** 2 + (93 * j ** 2 - k / 70 - p ** 3) ** 3 res *= ress return res" "from math import fabs def main(n, m, b, a): fsum = 0 for j in range(1, n + 1): fsum += 48 * (j - 51 * (j * j)) ** 7 + 1 ssum = 0 for i in range(1, a + 1): for k in range(1, m + 1): for j in range(1, b + 1): ssum += 56 * i ** 4 + 35 * k ** 6 + j ** 7 / 17 f = fsum - ssum return f" "import math def main(b, n): x = 0 y = 0 for c in range(b): c += 1 x += (c + 56) ** 2 - math.tan(33 * c) ** 4 for c in range(n): c += 1 y += (55 + c + c ** 3 / 74) ** 2 + c ** 4 + 86 * c z = x - y return z" "from math import * def main(n, a, b): value = 0 for i in range(1, b + 1): for k in range(1, a + 1): for c in range(1, n + 1): value += 73 * cos(k) ** 4 - c ** 3 - cos(i ** 3 - 1 - c) return value" "from math import * def main(n, a, p): value = 0 for k in range(1, a + 1): for i in range(1, n + 1): value += 30 * (i + i ** 2 + 1) ** 6 + 9 * ceil(p) ** 5 + 42 * k ** 3 return value" "def main(n, p, m): first_sum = sum((p ** 4 - (c - 79 * c ** 2 - c ** 3) ** 3 for c in range(1, n + 1))) second_sum = sum((59 * (61 * i) ** 6 + 1 + (49 * j + 65 * j ** 2) ** 2 / 34 for i in range(1, m + 1) for j in range(1, n + 1))) return first_sum + second_sum" "import math def main(a, z, b, y): ans1 = 0 ans2 = 0 for c in range(1, a + 1): ans1 += 0.02 + 54 * (98 - 94 * c ** 3 - z) ** 7 for c in range(1, b + 1): for i in range(1, a + 1): ans2 += 40 * math.log2(c) ** 4 - (y ** 3 + 81 * i + 1) ** 7 - i ** 6 return ans1 - ans2" "import math def main(b, n, a): _sum = 0.0 for c in range(1, a + 1): for i in range(1, n + 1): for j in range(1, b + 1): first = math.atan(c) ** 7 / 42 second = c ** 2 / 60 third = math.sin(21 * j ** 2 - 97 * i) ** 5 _sum += first + second + third return _sum" "import math def main(n, a, x, m): sum1 = 0 for j in range(1, a + 1): for c in range(1, n + 1): sum1 += pow(j, 7) + (c ** 3 - 9 * c * c) ** 5 + x ** 6 sum2 = 0 for j in range(1, m + 1): for i in range(1, a + 1): for k in range(1, n + 1): sum2 += k ** 6 + 47 * pow(i * i + 69 * j + j ** 3, 5) return sum1 + sum2" "def main(b, n): sum1 = 0 for k in range(1, b + 1): sum1 += k ** 15 / 21 + 19 * (18 * k + k ** 3 / 92 + 1) ** 4 + k ** 7 sum2 = 0 for i in range(1, b + 1): for j in range(1, n + 1): sum2 += (19 * j ** 2 - 0.01) ** 3 + i ** 5 / 76 return sum1 + sum2" "def main(a, n, m, z): res_mult = 1 for j in range(1, m + 1): res_sum = 0 for c in range(1, n + 1): for k in range(1, a + 1): res_sum += 51 * (43 + k ** 2 + z ** 3) ** 5 - (c ** 2 / 37 - 48 * j ** 3) ** 6 res_mult *= res_sum return res_mult" "def main(m, n, p, b, a, x): sum1 = 0 for c in range(1, n + 1): sum2 = 1 for j in range(1, m + 1): sum2 *= 52 * c ** 4 - 75 * (8 * p ** 2 + j ** 3) ** 7 sum1 += sum2 sum3 = 0 for c in range(1, m + 1): for k in range(1, a + 1): for i in range(1, b + 1): sum3 += 67 * (k - c ** 2 - 2 * x ** 3) ** 4 + i ** 6 return sum1 + sum3" "import math def main(m, b, n, p): s = 0.0 r = 0.0 for c in range(1, n + 1): for k in range(1, b + 1): for j in range(1, m + 1): s += 49 * math.log2(c) ** 4 + 67 * j + 47 * (p ** 2 + 28 * k ** 3) ** 5 r += s return r" "def main(b, a, n, z): summ2 = 0 summ1 = 0 for j in range(1, n + 1): for i in range(1, a + 1): pr = 1 for c in range(1, b + 1): pr *= (i ** 2 + 75 * z + j ** 3) ** 5 / 68 - (89 * c ** 3) ** 4 / 65 summ1 += pr summ2 += summ1 summ1 = 0 return summ2" "from math import atan def main(n, m): s = 0 for c in range(1, m + 1): for j in range(1, n + 1): s += (16 * c * c - 79 * j ** 3 - 1) ** 6 / 98 s -= atan(c) ** 3 return s" "def main(a, n, b, z): s = 0 for i in range(1, b + 1): for c in range(1, n + 1): for j in range(1, a + 1): s += 53 * j ** 3 + 62 * i ** 6 s += 98 * (z ** 3 + 53 * c) ** 4 return s" "def main(n, a, p, b): s1 = 0 s2 = 0 for j in range(1, a + 1): for i in range(1, n + 1): s1 += 87 * j ** 2 - 74 * i - p ** 4 for c in range(1, b + 1): s2 += (p / 60) ** 7 - c ** 3 / 83 return s1 - s2" "def main(n, a, b): z = 0 for k in range(1, b + 1): for j in range(1, a + 1): for i in range(1, n + 1): z += 1 - i ** 3 - (j - k ** 2) ** 6 return z" "import math def main(b, y, a, m, z): sum1 = 0 for c in range(1, b + 1): sum1 += 1 - 90 * math.log10(c + y ** 2 / 62) ** 5 - 88 * math.atan(c) ** 7 sum2 = 0 for i in range(1, m + 1): sum3 = 0 for c in range(1, a + 1): sum4 = 0 for k in range(1, b + 1): sum4 += (c ** 2 / 19 - 89 * i - k ** 3) ** 2 + z ** 6 + 19 * math.sin(z) ** 7 sum3 += sum4 sum2 += sum3 return sum1 - sum2" "from math import log2 def main(b, m, a, y): f = 0 for c in range(1, a + 1): f1 = 0 for i in range(1, m + 1): f2 = 0 for j in range(1, b + 1): f2 += 98 * c ** 2 + 44 + j ** 3 / 36 f2 -= log2(y) ** 6 + 90 * i ** 3 f1 += f2 f += f1 return f" "def main(b, a, z): result = 0 for j in range(1, a + 1): for k in range(1, b + 1): result += 0.02 - z ** 6 - 14 * (1 + 76 * k + j ** 3 / 21) return result" "import math def main(a, b, m, n, p): A = 0 for c in range(1, a + 1): A += 91 * math.sin(c) ** 6 B = 0 for i in range(1, n + 1): for k in range(1, m + 1): for j in range(1, b + 1): B += 18 * (j ** 2 + j ** 3 + k) ** 6 - p ** 7 - 63 * math.log1p(i - 1) ** 5 return A + B" "def main(b, a, n): result_1 = 0 result_2 = 0 result_3 = 1 for j in range(1, n + 1): for i in range(1, a + 1): for k in range(1, b + 1): result_3 *= (0.04 + j + 96 * k ** 3) ** 2 + 0.02 + i ** 2 + 48 * i result_2 += result_3 result_3 = 1 result_1 += result_2 result_2 = 0 return result_1" "from math import sin def main(m, b, n, p): (res1, res2) = (0, 0) for k in range(1, m + 1): res1 += (k - 0.08 - k ** 3) ** 3 for j in range(1, m + 1): for k in range(1, n + 1): for i in range(1, b + 1): res2 += sin(j) ** 6 - (p - 1) ** 2 / 47 - (14 * i ** 3 - k ** 2 - 0.08) ** 5 return res1 + res2" "import math def main(n, y, b): a = 0 c = 0 for k in range(1, n + 1): a = a + 54 * math.atan(k) ** 4 - round(k) ** 7 - 92 * y ** 5 for k in range(1, n + 1): for j in range(1, b + 1): c = c + 89 * k ** 4 - math.cos(19 + j + k ** 3) ** 6 return a - c" "def getFirst(m): ans = 1 for c in range(1, m + 1): ans *= 26 * pow(c, 7) - pow(c, 10) return ans def getSecond(a, b, x): ans = 0 for k in range(1, b + 1): for j in range(1, a + 1): ans += (x + pow(j, 2)) / 6 + 98 * pow(k, 5) return ans def main(m, a, b, x): ans = getFirst(m) + getSecond(a, b, x) return ans" "import math def main(m, n, a): summa1 = 0 for j in range(1, m + 1): o1 = 56 * math.log(j ** 3 + j ** 2 + 1, math.exp(1)) ** 4 summa1 = summa1 + o1 summa2 = 0 for c in range(1, a + 1): for j in range(1, n + 1): o2 = 96 * j ** 6 o3 = 96 * c ** 3 o4 = o2 + o3 summa2 = summa2 + o4 p = summa1 - summa2 return p" "def main(m, n, a, x): f = float() for i in range(a): i += 1 for k in range(n): k += 1 for c in range(m): c += 1 f += k ** 2 + 22 * i ** 3 + 1 + (c - x ** 2 - 57) ** 3 return f" "import math def main(m, z, a, y): res = 0 for j in range(1, m + 1): res += 85 * z ** 4 - math.tan(z) - math.log1p(52 * j) ** 5 for i in range(1, a + 1): res += (79 * i ** 2) ** 3 - 99 * y ** 4 - 94 * y ** 7 return res" "import math def main(a, b, n): result = 0 result1 = 1 result2 = 0 for j in range(1, n + 1): for c in range(1, b + 1): for i in range(1, a + 1): result2 += 76 * (c ** 2 + i ** 3) ** 7 + 52 * math.sqrt(i ** 3 + 1 + 99 * j) ** 6 result1 *= result2 result2 = 0 result += result1 result1 = 1 return result main(7, 2, 5) main(6, 8, 6)" "import math def main(n, p, a, b): res_1 = 0 for j in range(1, n + 1): res_11 = 65 * j ** 2 res_12 = math.atan(98 * p ** 2) res_1 += res_11 + res_12 ** 3 res_2 = 1 for c in range(1, b + 1): res_21 = 0 for j in range(1, n + 1): res_22 = 0 for i in range(1, a + 1): res_221 = 23 * i - 85 res_222 = 26 * c ** 2 - i ** 3 / 52 - i res_22 += j ** 3 - res_221 ** 6 - res_222 ** 2 res_21 += res_22 res_2 *= res_21 ans = res_1 + res_2 return ans" "import math def main(a, b, c): d = 1 e = 1 f = 0 s1 = a + 1 s2 = b + 1 while e <= b: d = 1 while d <= a: pows_in = pow(e, 3) parc_in = c / 62 bracets = pows_in - parc_in arctg = math.atan(bracets) alpha = 44 * e beta = 23 * pow(arctg, 3) delta = pow(d, 7) summary = 19 * delta - alpha - beta f += summary d += 1 e += 1 return f" "import math def main(n, a, m, p): ret = 0 for k in range(1, a + 1): for j in range(1, n + 1): ret += math.log1p(j) - 6 * k ** 2 - 1 for c in range(1, m + 1): for i in range(1, a + 1): ret += (p ** 2 - 12) ** 7 - math.tan(c) ** 6 / 40 - 79 * i ** 2 return ret" "import math as m def main(b, a, z): fin_sum = 0 for i in range(1, a + 1): for k in range(1, b + 1): fin_sum += m.pow(m.sin(16 - 52 * i - 3 * z * z), 6) / 20 fin_sum += m.pow(m.log(k), 4) + m.pow(m.log(k, 10), 5) return fin_sum" "import math def main(m, n, x, b, y): summ = 0 for k in range(1, n + 1): for c in range(1, m + 1): z = 34 * math.sin(x) ** 2 + c ** 6 + k ** 5 summ = summ + z summ1 = 0 for j in range(1, b + 1): v = 53 * j ** 2 - math.tan(j ** 3 - 35 * y ** 2 - 91) ** 4 / 20 summ1 = summ1 + v r = summ + summ1 return r main(7, 2, -0.16, 4, -0.79)" "import math from math import sqrt def main(b, n, m): result = 0 for k in range(1, m + 1): for i in range(1, n + 1): for j in range(1, b + 1): tmp1 = (0.01 + i) ** 5 tmp2 = (1 - 66 * k ** 3) ** 4 result += tmp1 - tmp2 - 49 * sqrt(j) ** 6 return result" "from math import ceil, floor def main(m, b, n, y): res0 = 0 res1 = 1 for k in range(1, n + 1): for i in range(1, b + 1): for c in range(1, m + 1): res1 *= ceil(y) ** 7 / 51 + 1 + floor(c ** 2 - i ** 3 - 76 * k) ** 2 res0 += res1 res1 = 1 return res0" "from math import * def main(m, a, p): cap = 1 sum = 0 for i in range(1, a + 1): for c in range(1, m + 1): sum += 81 * pow(c, 2) - pow(c, 3) + pow(ceil(i * i - 85 * pow(p, 3) - 22), 2) / 64 cap *= sum sum = 0 return cap" "import math from math import fabs def main(m, n, x): res_1 = 0 for i in range(1, n + 1): res_2 = 0 for c in range(1, m + 1): res_21 = x ** 3 + 88 * x ** 2 res_22 = fabs(1 - i) res_2 += res_21 ** 6 + c ** 7 + res_22 ** 3 res_1 += res_2 res = res_1 return res" "import math def f(a, n, m, b): res = 0 for j in range(1, n + 1): for c in range(1, a + 1): res += 40 * c ** 7 - j ** 5 / 47 - (26 * j ** 3) ** 2 for i in range(1, b + 1): for j in range(1, a + 1): for c in range(1, m + 1): res += 68 * (i ** 3 - c - 1) ** 2 + math.tan(i) ** 6 + 5 * j ** 5 return res def main(a, n, m, b): return f(a, n, m, b)" "from math import pow, cos def main(a, m, y): result = 0 for c in range(1, m + 1): for j in range(1, a + 1): first = pow(cos(0.17 - 8 * y), 6) / 78 second = 6 * pow(c - 0.06, 3) third = 71 * pow(j, 2) result += first - second - third return result" "import math def main(n, m, a, z): f = 0 for j in range(1, a + 1): for c in range(1, m + 1): for i in range(1, n + 1): f += 68 + 59319 * j ** 6 + 30 * (z * z + i * i * i + 56 * c) ** 2 return f" "def main(b, z, a, n): A = 0 for c in range(1, b + 1): A += 37 * (29 * z ** 3 + z ** 2 + 66) ** 4 + 74 * c ** 3 B = 0 for k in range(1, n + 1): for j in range(1, b + 1): for c in range(1, a + 1): B += (43 * k ** 3 + c ** 2 + 76 * j) ** 7 - (c + j ** 3) return A - B" "from math import * def main(n, z, a, b, m): tmp = sum((pow(log(23 * pow(z, 3)), 6) + 1 + pow(i, 7) for i in range(1, n + 1))) r1 = 0 for i in range(1, m + 1): for k in range(1, b + 1): for c in range(1, a + 1): r1 += i ** 7 / 6 r1 += 82 * pow(log(67 * k ** 2 + 30 * c ** 3 + 45 * k), 4) return float('%.3g' % (tmp + r1))" "import math def main(n, b, m, p): f = 0 for j in range(1, m + 1): for k in range(1, b + 1): for c in range(1, n + 1): f += 66 * (k / 67 - j ** 3) ** 4 - p ** 18 - math.cos(c) ** 2 return f main(6, 8, 8, -0.1)" "from math import log, ceil, floor def main(m, y, a, x): res1 = 0 for k in range(1, m + 1): res1 += 69 * log(k) ** 6 - 61 * ceil(99 * y + 95) res2 = 0 for i in range(1, a + 1): for k in range(1, m + 1): res2 += 1 + x ** 2 - 64 * i ** 6 - floor(k) ** 7 return res1 - res2" "import math def main(a, n): sum1 = 0 for k in range(1, n + 1): for c in range(1, a + 1): sum1 += 9 * c ** 2 - 68 * k ** 3 - k + 54 * math.tan(k) ** 6 return sum1 main(5, 3)" "def main(b, a, m): answer = 0 answer2 = 0 for c in range(1, b + 1): answer += pow(1 - 76 * c * c - 87 * c, 4) + 1287 * c for c in range(1, m + 1): for k in range(1, a + 1): for j in range(1, b + 1): answer2 += 19 * pow(pow(c, 3) + 94 * j, 7) + k / 52 return answer - answer2" "import math def main(b, a): B = 0 A = 0 for i in range(1, b + 1): B0 = math.pow(math.log2(87 * math.pow(i, 2)), 3) B1 = math.pow(math.cos(math.pow(i, 3) / 7), 5) / 49 B = B0 + B1 for k in range(1, a + 1): A = A + 29 * math.pow(math.pow(k, 2) - math.pow(k, 3) - 71, 5) return B - A" "import math def main(n, y, a, b): ans = 0 for i in range(1, n + 1): ans += 34 * (y ** 2 - i ** 3) ** 3 h = 0 for c in range(1, b + 1): for k in range(1, a + 1): h += 19 * math.sqrt(c) ** 5 - (c ** 2 / 22 + 48 * c + 33) ** 4 - 75 * k ** 3 return h + ans" "import math def main(a, n, m, x): first = 0 sec = 0 for i in range(1, n + 1): for c in range(1, a + 1): first += math.pow(math.tan(math.pow(i, 3)), 2) - math.pow(c, 5) - 19 for j in range(1, a + 1): for c in range(1, m + 1): sec += 35 * math.log(84 * math.pow(x, 2) - 1, 2) + math.pow(math.pow(j, 3) - 2 * math.pow(c, 2) - c, 7) + 14 res = first - sec return res" "def main(a, n, b, y): res1 = 0 for j in range(1, b + 1): res2 = 1 for i in range(1, n + 1): res3 = 0 for k in range(1, a + 1): res3 += 12 * j ** 7 + (54 * i + 5 + 71 * y ** 3) ** 2 + (69 * k ** 3 - 59) ** 6 res2 *= res3 res1 += res2 return res1" "import math def main(a, m, z): sum = 0.0 for j in range(1, m + 1): for c in range(1, a + 1): sum += j ** 3 + math.ceil(z) ** 2 / 16 + 31 * (44 * c - 9 * z ** 2) ** 4 return sum" "from math import * def main(a, m, x): res = 0 res1 = 0 for j in range(1, m + 1): for k in range(1, a + 1): res += 62 * (7 * j ** 3 + x) - j ** 5 res1 += fabs(k + k ** 2) ** 6 return res - res1" "from math import * def main(a, n): res = 0 for c in range(1, n + 1): for i in range(1, a + 1): res += 22 * i ** 7 + sqrt(c ** 2 + 42 * c ** 3) ** 3 + i ** 4 return res" "import math def main(m, a, n, x): ans = 0 for c in range(1, n + 1): for k in range(1, a + 1): for j in range(1, m + 1): ans += (69 * x ** 3 - j - 98 * c ** 2) ** 6 + 45 * (k ** 3 + j ** 2) ** 2 return ans" "from math import tan def main(a, n, b): res1 = 0 for k in range(1, a + 1): res1 += 77 * tan(k) ** 5 res2 = 0 for i in range(1, b + 1): for j in range(1, n + 1): res2 += i + 20 * j ** 7 return res1 - res2" "def main(a, m, p, b): mul = 1 for k in range(m): sum1 = 0 for i in range(a): aa = (90 * (i + 1) - p ** 2) ** 5 aaa = aa + 42 + abs(k + 1) ** 3 sum1 += aaa mul *= sum1 sum2 = 0 for i in range(b): bb = (i + 1) ** 3 + 17 sum2 += bb return mul - sum2" "from math import * def main(n, b): s1 = 0 s2 = 0 for i in range(1, n + 1): for j in range(1, b + 1): s1 += j ** 4 + i ** 3 s2 += 12 * pow(abs(80 * i ** 2 + j + 1), 6) return s1 + s2" "def main(a, n, m, z): res1 = 1 for i in range(1, m + 1): res2 = 0 for j in range(1, n + 1): for k in range(1, a + 1): res2 += j ** 2 + (z - i ** 2) ** 6 / 70 + k res1 *= res2 return res1" "def main(b, a, m): res1 = 1 for k in range(1, m + 1): res2 = 0 for i in range(1, a + 1): for j in range(1, b + 1): res2 += j ** 3 - k + abs(i) ** 6 + 1 res1 *= res2 return res1" "from math import sin, tan def main(m, n, b, y): res = 0 for c in range(1, b + 1): for i in range(1, n + 1): for k in range(1, m + 1): res += 13 * sin(k - 46 * i ** 3 - 52) ** 6 - 58 * c ** 7 - 73 * tan(y) ** 5 return res" "import math def main(n, a, m, z): _sum = 0 for i in range(1, a + 1): for j in range(1, n + 1): _sum += 7 * math.pow(j, 14) + 70 * math.pow(i, 3) for c in range(1, n + 1): for k in range(1, m + 1): _sum += k / 87 + z ** 2 + c ** 6 return _sum" "def math(k, i, j): return (k ** 3 - i) ** 3 / 26 - (j ** 3 - j) ** 2 def main(n, m, b): sum_b = 0 for j in range(1, b + 1): sum_m = 0 for k in range(1, m + 1): sum_n = 0 for i in range(1, n + 1): sum_n += math(k, i, j) sum_m += sum_n sum_b += sum_m return sum_b" "import math def main(b, m, y, a): x1 = 0 x2 = 0 for j in range(1, m + 1): for k in range(1, b + 1): x1 = math.log10(75 * y - j ** 2) ** 6 + math.tan(71 * k ** 3) / 91 + x1 for j in range(1, a + 1): for i in range(1, m + 1): x2 = (i ** 3 - j / 29) ** 4 + x2 return x1 - x2" "from math import log2, log def math(p, j, k, c): return log2(p ** 3 + j ** 2) ** 5 - 94 * log(k) ** 4 - c ** 6 def main(m, a, n, p): sum_b = 0 for c in range(1, n + 1): sum_m = 0 for k in range(1, a + 1): sum_n = 0 for j in range(1, m + 1): sum_n += math(p, j, k, c) sum_m += sum_n sum_b += sum_m return sum_b" "import math def main(a, b, n, x): y = 0 for k in range(1, n + 1): for c in range(1, b + 1): for j in range(1, a + 1): y1 = math.cos(94 * c - x ** 3 / 90 - 1) y2 = -abs(1 - k ** 2) ** 6 - 43 * j ** 4 y = y1 + y2 + y return y" "from math import log def math_left(i): return i ** 5 + 70 def math_right(i, j, c): return (73 - 29 * i ** 3 - 35 * j) ** 5 - 1 - log(c) ** 7 def main(m, b, n): sum_m = 0 for i in range(1, m + 1): sum_m += math_left(i) mul_n = 1 for j in range(1, n + 1): sum_m1 = 0 for c in range(1, m + 1): sum_b = 0 for i in range(1, b + 1): sum_b += math_right(i, j, c) sum_m1 += sum_b mul_n *= sum_m1 return sum_m + mul_n" "def main(b, m, a, z): suma = 0 summ = 0 sumb = 0 sumb1 = 0 for j in range(1, a + 1): for c in range(1, m + 1): for i in range(1, b + 1): sumb1 = (j ** 2 + 63 * i ** 3 + 66) ** 3 sumb += 17 * z ** 2 + 64 * c ** 6 + 57 * sumb1 summ += sumb sumb = 0 suma += summ summ = 0 return suma" "from math import cos def math(i, k, c): return 1 - (1 + 42 * i ** 3 + 78 * i ** 2) ** 6 - cos(k ** 3 + c) ** 3 / 12 def main(b, n, a): sum_a = 0 for c in range(1, a + 1): sum_n = 0 for i in range(1, n + 1): sum_b = 0 for k in range(1, b + 1): sum_b += math(i, k, c) sum_n += sum_b sum_a += sum_n return sum_a" "import math def main(n, a, m): sum = 0 for i in range(1, m + 1): for j in range(1, a + 1): for k in range(1, n + 1): sum += 73 * (9 * k ** 3 - 1) - math.ceil(j ** 2 / 64 + 63 * i ** 3) ** 2 return sum" "import math def main(m, a, n, x): f1 = 0 for j in range(1, a + 1): for k in range(1, m + 1): f11 = math.pow(math.tan(85 * j), 3) f12 = 63 * math.pow(math.atan(k), 5) + k f1 += f11 + f12 f2 = 0 for j in range(1, n + 1): for c in range(1, a + 1): for i in range(1, m + 1): f21 = 58 * math.pow(math.log(math.pow(x, 3)), 4) f22 = 75 * math.pow(c, 7) + math.pow(j, 3) / 67 + 52 * math.pow(i, 2) f2 += f21 + f22 return f1 - f2" "import math def main(m, a): res1 = 0 for k in range(1, a + 1): for c in range(1, m + 1): res1 += 1 - c ** 2 - k / 21 - 39 * (40 * k ** 2 + k) ** 5 return res1" "import math def main(a, n, b, y): first = 0 sec = 0 for c in range(1, a + 1): first += pow(c, 3) / 82 - 6 * pow(c, 18) for j in range(1, b + 1): for k in range(1, a + 1): for i in range(1, n + 1): sec += pow(33 * k ** 3 - i ** 2, 3) - 3 - 20 * pow(y ** 3 + 76 * j ** 2 + 1, 6) res = first - sec return res" "import math def sum_b(b): sum = 0 for c in range(1, b + 1): sum += (60 - 59 * c - c ** 3 / 10 - c ** 2) ** 6 return sum def sum_a(k, c, a): suma = 0 for i in range(1, a + 1): suma += 85 * pow(math.ceil(pow(k, 2) + 88 * pow(c, 3) + i), 5) return suma def mull_n(k, n, a): mulln = 1 for c in range(1, n + 1): mulln *= sum_a(k, c, a) return mulln def sum_m(m, n, a): summ = 0 for k in range(1, m + 1): summ += mull_n(k, n, a) return summ def main(b, a, n, m): return sum_b(b) - sum_m(m, n, a)" "def main(a, n, b): e = 0 for k in range(1, b + 1): for c in range(1, n + 1): for j in range(1, a + 1): e += (76 * j ** 2 - c ** 3) ** 4 - 66 * k ** 5 return e" "import math def main(m, p, a, n): s = 0 for c in range(1, m + 1): s += math.floor(0.08 + c) ** 7 + 99 * p ** 5 for j in range(1, n + 1): for i in range(1, m + 1): for k in range(1, a + 1): s -= (59 * k ** 2 - 0.05) ** 2 / 98 - (30 + i + i ** 3) ** 6 - (j / 14) ** 5 return s" "import math def main(m, b, y): result = 0 for c in range(1, b + 1): sum = 0 for i in range(1, m + 1): sum += 1 + (57 - c - 51 * y ** 3) ** 7 + (60 * i ** 2) ** 2 / 62 result += sum return result" "import math def main(m, n, b): s = 0 for i in range(1, b + 1): for j in range(1, n + 1): for c in range(1, m + 1): s = s + math.log2(13 * i ** 2 - 1) ** 2 / 39 + c ** 4 + 13 * j ** 3 return s" "from math import * def main(n, a, y): sum1 = 0 for c in range(1, a + 1): for k in range(1, n + 1): sum1 += 1 + k ** 3 / 90 + 6 * y ** 2 - (k ** 2 + y ** 3 + 18 * c) ** 4 return sum1" "import math def main(m, a, b, z): f = 0 for i in range(1, b + 1): for k in range(1, a + 1): for c in range(1, m + 1): n = 25 * math.sin(i ** 2 + z) ** 5 - 67 * (48 * k ** 2) ** 7 - abs(c) ** 2 f += n return f" "import math def main(m, b, n, a, x): first = 0 second = 0 for c in range(1, b + 1): for i in range(1, m + 1): first += (0.03 + c + i ** 3) ** 3 - math.log(c, 2) ** 4 / 35 for i in range(1, a + 1): for k in range(1, n + 1): second += 63 * k ** 3 - 20 * x ** 3 - 18 * math.log(42 + i, 10) ** 6 return first - second" "import math as m def main(a, b, p): res = 0 for c in range(1, b + 1): for k in range(1, a + 1): res += 42 * (27 * k ** 3) ** 4 + 34 * m.log(73 * p ** 3 + 24 + 32 * c ** 2, 2) ** 7 return res" "def main(n, m, y): return sum([(y ** 3 / 10) ** 5 / 11 - (k + 0.02 + i ** 2) ** 3 - 50 * k ** 2 for k in range(1, n + 1) for i in range(1, m + 1)])" "from math import atan def main(m, n, p): res = 0 for j in range(1, n + 1): s = 0 for c in range(1, m + 1): s += 33 + 83 * (1 + p ** 2 / 24 + 25 * c) ** 6 s += 57 * atan(j) res += s return res" "def main(n, a, m, p): _sum1 = 0 for j in range(1, n + 1): _sum1 += (44 * j ** 3) ** 6 _sum2 = 0 for c in range(1, m + 1): for k in range(1, a + 1): _sum2 += k ** 7 + (44 + p + c ** 2) ** 6 return _sum1 - _sum2" "import math def main(b, m, p): f = 0 r = 0 for i in range(1, m + 1): for j in range(1, b + 1): f += 72 * pow(pow(p, 2) - pow(i, 3) - p, 4) r += 27 * pow(math.cos(i), 2) + pow(j, 5) result = f + r return result" "import math def main(m, b, n): s1 = 0 s2 = 0 for k in range(1, b + 1): for i in range(1, m + 1): p = 66 * k ** 2 - 34 * math.log(i) s1 = s1 + p for j in range(1, b + 1): for k in range(1, m + 1): for i in range(1, n + 1): t1 = math.atan(i ** 3 + j ** 2 / 10) ** 7 t2 = 49 * (k ** 3 / 90 + 55) ** 6 s2 = s2 + t1 + t2 r = s1 + s2 return r" "import math def main(n, m, x): res = 0 for k in range(1, m + 1): for j in range(1, n + 1): res += pow(j, 6) + pow(x, 5) + 9 * pow(k + 49 * pow(x, 3) + 24, 4) j += 1 k += 1 return res" "import math def main(a, n, m): s1 = 0 for j in range(1, m + 1): for c in range(1, n + 1): for k in range(1, a + 1): s1 = s1 + math.log(c, 2) ** 7 / 69 s1 = s1 + 18 * (28 * c ** 3 - 89 * j - k ** 2 / 14) ** 5 return s1" "from math import log def main(n, b, z): my_sum = 0 for j in range(1, b + 1): for i in range(1, n + 1): my_sum += 44 * pow(log(pow(i, 3) / 32), 6) - 18 * pow(79 + 61 * j + z ** 2, 2) - 99 return my_sum" "def main(n, a, m, p): result = 0 for j in range(1, m + 1): sum2 = 0 for k in range(1, a + 1): sum1 = 1 for i in range(1, n + 1): sum1 *= 77 * i + (78 * k ** 2 - j ** 3 - 1) ** 3 + (j ** 3 + 56 * p) ** 4 sum2 += sum1 result += sum2 return result" "def main(n, b, a, z): h = 0 for i in range(1, a + 1): g = 0 for j in range(1, b + 1): f = 1 for c in range(1, n + 1): f = f * (83 * (18 * c ** 3 - z ** 2) ** 3 - (56 * j ** 2 - i ** 3) ** 5) g += f h += g return h" "import math def main(a, m, n): total = 0 for c in range(1, n + 1): for i in range(1, m + 1): for k in range(1, a + 1): left = math.log2(c ** 3 + i ** 2) ** 2 right = 78 * k ** 3 total += left + right return total" "import math def main(b, m, a, z): ans = 0 for k in range(1, a + 1): for i in range(1, m + 1): for j in range(1, b + 1): ans += 82 * z ** 4 + math.ceil(j) ** 5 + 65 * math.sin(26 * i + k ** 3 / 49 + 1) ** 6 return ans" "def main(b, m): res = 0 for i in range(1, b + 1): res += (i ** 2 / 90 + 83 + i) ** 6 / 85 for j in range(1, m + 1): res += 58 * (j - 82 * j ** 3 - 49 * j ** 2) ** 7 return res" "from math import ceil def main(m, y, b, n, z): sum_c = 0 for k in range(1, m + 1): sum_c += 74 * (1 - 67 * y - k ** 3) ** 6 sum_r = 0 for i in range(1, n + 1): sum_b = 0 for j in range(1, m + 1): sum_a = 0 for k in range(1, b + 1): sum_a += 1 - j / 95 - ceil(68 * z ** 2 - k ** 3 - 28 * i) ** 5 sum_b += sum_a sum_r += sum_b return sum_c + sum_r" "import math def main(a, z, n): ans = 0 lop = 0 for j in range(1, a + 1): lop += math.cos((90 + z ** 2) ** 5 - math.floor(j) ** 2 / 67) b = 0 for i in range(1, n + 1): b += math.atan(i) + z ** 7 + (55 * z + i ** 3) ** 3 ans = lop - b return ans" "import math def main(m, n, b, z): ans = 0 for i in range(1, b + 1): for k in range(1, n + 1): for c in range(1, m + 1): ans += abs(93 * z ** 3 + 1 + 70 * i) ** 2 - 94 * k ** 5 - c ** 6 / 31 return ans" "def main(n, b): a = 0 s = 0 for j in range(1, n + 1): a += 27 * (69 * j - 1) ** 2 for i in range(1, b + 1): s += i ** 7 - 85 * (i - 1) ** 3 - i ** 6 return a - s" "def main(b, m, n, x): sums = 0 a = 1 for i in range(1, n + 1): for c in range(1, m + 1): for k in range(1, b + 1): sums += (x ** 3 + x) ** 2 / 91 + (k / 25 - i ** 2 - c ** 3) ** 3 a *= sums sums = 0 return a" "import math def main(b, n, m): summa = 0 for c in range(1, m + 1): for i in range(1, n + 1): for j in range(1, b + 1): o1 = math.pow(i + 0.01, 6) o2 = 34 * math.pow(c + j ** 2, 4) + 56 o3 = o1 + o2 summa += o3 return summa" "from math import fabs def main(m, a): f = 0 for k in range(1, a + 1): for c in range(1, m + 1): f += 24 * fabs(c + c ** 3 / 13 + 14 * k ** 2) ** 2 + c ** 6 return f" "import math def main(b, m, y): f = 0 for c in range(1, b + 1): f += 62 * math.ceil(c) ** 5 for c in range(1, b + 1): for i in range(1, m + 1): f -= (c ** 3 + 81 * y ** 2) ** 2 + (76 * i - c ** 3) ** 7 return f" "def main(m, b, a, p): result1 = 0 for c in range(1, a + 1): result2 = 0 for i in range(1, b + 1): result3 = 1 for k in range(1, m + 1): result3 *= 76 * (72 + 67 * p ** 2) ** 6 - 42 * (55 * i + 78 * c ** 2) - 94 * k ** 3 result2 += result3 result1 += result2 return result1" "import math def main(a, n): (sum1, sum2) = (0, 0) for k in range(1, n + 1): for i in range(1, a + 1): sum1 += 48 * (i ** 3 + 97) ** 4 + 1 + k ** 6 for i in range(1, a + 1): for k in range(1, n + 1): s = 62 * i ** 4 sum2 += 45 * k - 13 * math.cos(i ** 3 + k ** 2 + 8) ** 2 - s return sum1 - sum2" "import math def main(m, b, a, x): ac = 0 for j in range(1, a + 1): for c in range(1, b + 1): for i in range(1, m + 1): ac += 87 * (c ** 2 / 52) ** 2 - math.ceil(x) ** 5 - math.sin(j ** 3 - 24 * i) return ac" "import math def main(a, n): sum = 0 for i in range(1, n + 1): for j in range(1, a + 1): sum += pow(91 * pow(j, 3) - j - 1, 3) + 36 * i + 44 * pow(j, 6) return sum" "from math import pow, log2 def main(n, a): tmp1 = 0 for k in range(1, a + 1): tmp2 = 1 for i in range(1, n + 1): tmp2 *= pow(pow(i, 2) / 69 + 69 * i + pow(k, 3), 6) tmp1 += tmp2 tmp3 = 0 for k in range(1, n + 1): tmp3 += pow(k, 7) - 66 * pow(log2(k), 4) return tmp1 + tmp3" "from math import pow def main(n, m, x): sum_ = 0 mult = 1 for j in range(1, m + 1): for c in range(1, n + 1): mult *= 41 * pow(c, 2) - 90 * pow(96 * pow(j, 3) + 1 + 53 * pow(x, 2), 4) sum_ += mult mult = 1 return sum_" "def main(b, a, n, x): _sum = 0 for i in range(1, n + 1): for j in range(1, a + 1): for k in range(1, b + 1): _sum += 38 * (x ** 3 / 57 + j + 89 * i ** 2) ** 7 + 83 * k ** 3 return _sum" "from math import floor, sin def main(m, n, b, p): res = 0 for c in range(1, b + 1): for k in range(1, n + 1): for j in range(1, m + 1): res += floor(k) ** 7 - c ** 5 - sin(p ** 3 + j) ** 3 return res" "from math import ceil def main(b, m, a, x): (res1, res2) = (0, 0) for k in range(1, m + 1): for c in range(1, b + 1): res1 += 67 * abs(k) ** 5 - ceil(k) - c ** 6 for i in range(1, b + 1): for k in range(1, a + 1): for c in range(1, m + 1): res2 += 1 + k ** 18 + (x ** 3 + i ** 2 + 87 * c) ** 3 return res1 - res2" "import math def main(m, a, b, p): total = 0 for i in range(1, b + 1): for j in range(1, a + 1): for k in range(1, m + 1): left = p ** 4 right = (i ** 3 + k + j ** 2) ** 5 total += left + right return total" "import math def main(a, p, m, b, y): one = 0 for j in range(1, a + 1): one += 43 * p ** 2 - math.tan(27 * j ** 2 + 81 * p ** 3 + 0.02) ** 3 two = 0 for c in range(1, a + 1): for i in range(1, b + 1): for k in range(1, m + 1): two += (80 * i ** 2 + y + c ** 3 / 9) ** 5 return one + two + 1 + k ** 7" "from math import ceil def main(n, a, m, z): res = 0 for k in range(1, m + 1): for j in range(1, a + 1): for i in range(1, n + 1): res += (1 + 79 * j ** 3 + k ** 2) ** 5 + (z ** 3 - z - 56 * i ** 2) ** 3 return res" "import math def main(n, m, a): left = 0 right = 0 for i in range(1, m + 1): for j in range(1, n + 1): left += 1 - 28 * (i ** 3 + j ** 2) ** 7 for c in range(1, n + 1): for k in range(1, a + 1): right += 81 * (72 + i ** 3 / 79) ** 7 +12 * c ** 3 +47 * k ** 6 return left - right" "import math def main(m, n, b, z): f = 0.0 for i in range(1, b + 1): for j in range(1, n + 1): for c in range(1, m + 1): f = f + (26 * (j ** 3 + i ** 2 + 69 * c) ** 4 + z ** 3 / 91) return f" "def main(n, a, x): total = 0 for j in range(1, a + 1): for c in range(1, n + 1): left = (x - 1 - c ** 2) ** 6 / 52 middle = 62 * c ** 7 right = 54 * j ** 4 total += left - middle - right return total" "import math def main(n, a, z, m): first = 0 second = 0 for c in range(1, a + 1): for k in range(1, n + 1): first += 6 * math.log(z, 2) ** 6 - c ** 5 - 89 * math.log(k, 2) for i in range(1, m + 1): for c in range(1, a + 1): second += i ** 2 + 1 + 65 * c ** 7 return first - second" "import math def main(a, m, n): total = 0 for c in range(1, n + 1): for i in range(1, m + 1): for k in range(1, a + 1): left = math.log2(c ** 3 + i ** 2) ** 2 right = 78 * k ** 3 total += left + right return total" "from cmath import sin def main(b, y, n, a, p): res = 0 for c in range(1, b + 1): res += pow(1 - pow(y, 3), 6) - 42 * pow(sin(c), 7) - pow(y, 3) res1 = 0 for j in range(1, a + 1): for c in range(1, n + 1): res1 += pow(c ** 2 - p, 2) - 88 - pow(j, 4) / 43 result = res + res1 return result.real" "import math def main(m, b, n): total = 1 for i in range(1, n + 1): subtotal = 0 for k in range(1, b + 1): for j in range(1, m + 1): left = math.atan(i + 70 * k * k * k) ** 2 right = 8 * math.cos(1 - j * j) ** 5 subtotal += left + right total *= subtotal return total" "import math def main(n, z): summa1 = 0 for j in range(1, n + 1): o1 = (1 - j ** 2 - j ** 3) ** 3 summa1 = summa1 + o1 summa2 = 0 for k in range(1, n + 1): o2 = math.log(1 + 19 * k + 19 * z ** 3, math.exp(1)) ** 7 + 28 + z ** 6 summa2 = summa2 + o2 p = summa1 - summa2 return p" "import math def main(a, b, p): total = 0 for c in range(1, b + 1): for j in range(1, a + 1): left = j ** 7 + (93 * c ** 2 - 0.07 - p ** 3) ** 2 right = 19 * math.log(57 * p) ** 6 total = total + left + right return total" "import math def main(m, a): rez = 0 for j in range(1, a + 1): for k in range(1, m + 1): rez += (13 * j + k ** 3) ** 6 + 94 * j ** 7 + (k ** 3 + 1) ** 3 / 72 return rez.real" "def main(m, b, n, p): s = 0 for j in range(1, n + 1): for i in range(1, b + 1): for k in range(1, m + 1): s += j ** 6 s -= (k / 69 - i * i) ** 4 s -= 86 + p return s" "import math def main(b, y, m, n): temp1 = 0 temp2 = 0 c = 1 for c in range(1, b + 1): temp1 += (1 + 90 * c) ** 5 + math.cos(y) ** 7 + c ** 4 / 69 c = 1 i = 1 j = 1 for j in range(1, b + 1): for c in range(1, m + 1): for i in range(1, n + 1): temp2 += i ** 5 + 35 * c ** 4 + 15 * (41 * j + y ** 2 + 1) ** 3 return temp1 - temp2" "import math def main(m, a, b): ret = 0 for k in range(1, b + 1): for i in range(1, a + 1): for c in range(1, m + 1): ret += math.log2(36 * i ** 2 + c) + k ** 3 return ret" "from math import * def main(n, m, b): sum1 = 0 for c in range(1, n + 1): sum1 += log10(c ** 3) ** 4 sum2 = 0 for j in range(1, n + 1): for i in range(1, b + 1): for c in range(1, m + 1): sum2 += (i ** 2 - c) ** 4 - ceil(15 * i ** 3) ** 2 - (28 * j ** 2) ** 5 return sum1 + sum2" "import math def main(n, a, m): total = 0 sum = 0 for i in range(1, n + 1): sum += i ** 2 for j in range(1, m + 1): for c in range(1, n + 1): for i in range(1, a + 1): yrov1 = math.log(c) ** 6 yrov2 = 75 * (1 + i ** 3 + 65 * j ** 2) ** 4 yrov3 = yrov1 + yrov2 total += sum - yrov3 return total" "import math def main(m, n, a, p): f1 = 0 for k in range(1, m + 1): f1 += math.atan(k) ** 5 f2 = 0 for k in range(1, a + 1): for c in range(1, n + 1): for i in range(1, m + 1): f2 += math.log2(24 * k ** 2 + i ** 3 + c) ** 7 / 70 - 57 * math.sin(p) ** 5 return f1 + f2" "import math def main(a, x): res1 = 0 res2 = 1 for i in range(1, a + 1): res1 += x ** 12 - 80 * math.log(i, 10) ** 5 - math.sin(x) ** 4 for k in range(1, a + 1): res2 *= 45 * k ** 6 return res1 + res2" "def main(a, n, z): result = 0 for k in range(1, n + 1): s = 0 for i in range(1, a + 1): p = 1 p *= z ** 3 + 83 * (1 + 33 * k ** 3 + z ** 2) ** 7 + 83 * (i ** 2 - 1) ** 2 s += p result += s return result" "from math import ceil def main(n, a, m): result = 0 for j in range(1, n + 1): result += j ** 6 + (j ** 3 / 92 - 1 - j) ** 4 / 14 for j in range(1, m + 1): for k in range(1, n + 1): for i in range(1, a + 1): result += ceil(i) ** 3 + (30 * k - 48 - 67 * j ** 3) ** 5 + k ** 4 return result" "from math import pow, sqrt def main(n, a): result = 0 for c in range(1, a + 1): for i in range(1, n + 1): result += 36 * pow(14 * c + pow(i, 2), 5) - pow(c, 3) - pow(sqrt(51 * c - 1), 4) return result" "def main(a, m, n): r2 = 0 result = 0 for k in range(1, m + 1): r1 = 1 for j in range(1, a + 1): r1 += 70 * (j + 1) ** 7 + 1 + k r2 += r1 r4 = 0 for i in range(1, a + 1): r3 = 1 for j in range(1, n + 1): r3 *= 7 * j ** 5 - 17 * (89 * i ** 3 - 12) ** 4 r4 += r3 result = r2 + r4 return result main(4, 2, 6)" "def main(b, a, n): sum = 0 for j in range(1, n + 1): for k in range(1, a + 1): for c in range(1, b + 1): sum += 88 * (j + k ** 2 + c ** 3) ** 7 - 1 - 64 * c return sum" "def main(n, b, m, p): a = 0 for c in range(1, m + 1): for j in range(1, b + 1): for i in range(1, n + 1): a += 55 * c ** 2 + 61 * p + 9 * (1 + j + 15 * i ** 3) ** 4 return a" "import math def main(a, m, n, z): ans = 0 for j in range(1, n + 1): for k in range(1, m + 1): for c in range(1, a + 1): ans += 81 * math.atan(c / 3) ** 6 - 73 * (j + z ** 3 + 0.01) - k ** 4 return ans" "def main(n, m, b): result = 0 for j in range(1, b + 1): s = 0 for k in range(1, m + 1): p = 0 for c in range(1, n + 1): p += (1 + k + c ** 2) ** 5 - 84 * j ** 6 s += p result += s return result" "def main(a, n, b): f = 0 for j in range(1, n + 1): f2 = 0 for c in range(1, a + 1): f2 += (0.14 - 92 * j ** 3 - c ** 2) ** 4 + 2 * j ** 5 f += f2 f3 = 0 for j in range(1, b + 1): f3 += (j ** 3 / 79 - j ** 2 / 48 - 83 * j) ** 6 + 41 * j ** 7 f -= f3 return f" "def main(n, b, a): result = 1 for j in range(1, a + 1): f = 0 for c in range(1, b + 1): for i in range(1, n + 1): f += 56 * (1 + 10 * i * i + j) + (j * j * j - c) ** 5 + j * j result *= f return result" "import math def main(n, b, x): sum_1 = 0 for j in range(1, b + 1): for i in range(1, n + 1): sum_1 += 48 * (1 - j ** 2 / 69) ** 3 - math.log10(i) ** 4 - x ** 5 return sum_1" "def main(a, z, n): summ = 0 i = 1 for i in range(i, a + 1): summ += 1 + i ** 9 + 2 * z ** 5 summ1 = 0 j = 1 for j in range(j, n + 1): summ1 += 34 * (35 * j * j - 3 - 83 * j) ** 6 return summ - summ1" "from math import sqrt, ceil def main(m, a, b, z): res1 = 1 for j in range(1, b + 1): res2 = 0 for i in range(1, a + 1): for k in range(1, m + 1): res2 += (58 * z ** 2 + 88 + j) ** 6 + 79 * sqrt(i ** 3) ** 3 + ceil(k ** 2) ** 2 res1 *= res2 return res1" "import math def main(a, b): total = 0 for j in range(1, b + 1): for c in range(1, a + 1): left = (1 - j ** 3 / 19 - j / 94) ** 3 right = 32 * math.floor(c) ** 4 total += left - right return total" "def func(n, b, y): result = 0 for k in range(1, b + 1): for j in range(1, n + 1): result += j ** 4 - 23 * k ** 7 for k in range(1, b + 1): result += (71 * y ** 3) ** 5 - (56 * k ** 3 - y - y ** 2) ** 2 result = '%.2E' % result return result def main(n, b, y): return float(func(n, b, y)) main(3, 5, -0.2)" "import math def main(n, m): result = 0 for i in range(1, m + 1): s = 0 for k in range(1, n + 1): p = 57 * abs(k) ** 6 - math.cos(17 * i ** 2 + 92 * k + 18 * i ** 3) s += p result += s return result" "from math import log10 def main(n, x, b, m): result = 0 for i in range(1, n + 1): result += log10(i) ** 3 - x ** 2 for c in range(1, m + 1): for k in range(1, b + 1): result += (1 + 21 * c ** 2 + 43 * k) ** 6 result += k ** 7 return result" "from math import sin, floor def math_left(j): return 33 * sin(j) ** 5 def math_right(c, y, i): return 83 * floor(c ** 3 / 71 - 97 * y - i ** 2) ** 7 + 81 * y def main(b, a, m, y): mul_j = 1 for j in range(1, b + 1): mul_j *= math_left(j) sum_i = 0 for i in range(1, m + 1): mul_c = 1 for c in range(1, a + 1): mul_c *= math_right(c, y, i) sum_i += mul_c return mul_j + sum_i" "def main(m, n): c1 = 0 for oj in range(m): j = oj + 1 c1 += 97 * (1 + j + j ** 2) ** 5 c2 = 0 for oc in range(m): c = oc + 1 for ok in range(n): k = ok + 1 c2 += 34 * c - 71 * k ** 5 - 79 * k ** 7 return c1 + c2" "import math def main(m, b, y): res = 0 for c in range(1, b + 1): for j in range(1, m + 1): res += 83 * (80 + c ** 2 + j) ** 3 + math.ceil(y - 34) ** 5 / 76 return res" "import math def main(n, a, b, y): result = 0 for j in range(1, b + 1): for c in range(1, a + 1): for k in range(1, n + 1): iter_a = pow(22 - 35 * pow(y, 2) - c, 2) iter_b = pow(j, 4) iter_c = pow(43 * k, 3) iter_res = iter_a + iter_b + iter_c result = result + iter_res return result" "import math def main(b, n, a): f = 0 for k in range(1, a + 1): for c in range(1, n + 1): for i in range(1, b + 1): f += 45 * k ** 7 - 3 * (34 + 13 * k + 88 * c ** 2) ** 5 - 88 * i ** 3 return f" "import math def main(b, n, x, m): res1 = 0 res2 = 0 val1 = 1 val2 = 1 for k in range(1, n + 1): for i in range(1, b + 1): res1 += x ** 3 - i ** 5 - math.exp(k) ** 6 for c in range(1, m + 1): mul = 1 for j in range(1, b + 1): val1 = 55 * (x ** 0.5) ** 7 + 33 * math.log(c, 2) ** 4 val2 = (1 - 87 * c ** 2 - j ** 3) ** 3 mul *= val1 + val2 res2 += mul return res1 - res2" "def main(m, b, a, p): f1 = 0 for i in range(1, a + 1): f2 = 0 for j in range(1, b + 1): f3 = 0 for k in range(1, m + 1): f3 += (k ** 3 - 1 - i ** 2) ** 5 / 4 - 63 * j ** 7 - (66 * p ** 2 - 1) ** 4 f2 += f3 f1 += f2 return f1" "import math def main(m, y, b, x): iter1 = 0 for i in range(1, m + 1): iter1 += 82 * (i ** 2 - 1) ** 5 + 63 * y ** 2 iter2 = 0 for c in range(1, b + 1): iter2 += 30 * math.asin(x) ** 6 + math.log2(x) ** 2 + 86 + c return iter1 + iter2" "import math def main(n, b, m, z): res = 0 for i in range(1, m + 1): for c in range(1, b + 1): for k in range(1, n + 1): res += 79 * k + 98 * pow(c, 2) + math.sqrt(96 * pow(c, 2) + pow(z, 3) + i) ** 5 k += 1 c += 1 i += 1 return res" "import math def main(n, b, a, z): ans = 0 for c in range(1, a + 1): for k in range(1, b + 1): for i in range(1, n + 1): A = math.pow(math.fabs(k * k - c), 3) B = math.pow(i, 2) C = math.pow(33 * z * z - math.pow(i, 3), 4) ans += A - B - C return ans" "import math def main(n, m, z): total = 0 for k in range(1, m + 1): for i in range(1, n + 1): lesser = math.acos(z) ** 7 + 16 * (93 * k ** 2 + i) ** 3 total += math.sqrt(z ** 2 / 15) + lesser return total" "def main(m, b): result1 = 0 for j in range(1, b + 1, 1): temp = 0 for k in range(1, m + 1, 1): temp += 58 * (k - k ** 2 - j ** 3) ** 6 result1 += temp result2 = 0 for j in range(1, m + 1, 1): temp = 0 for k in range(1, b + 1, 1): temp += 66 * j + (84 - j) ** 3 + (j + k ** 2) ** 4 / 78 result2 += temp result = result1 - result2 return float(result)" "import math def main(b, m, x): total = 0 for c in range(1, m + 1): for j in range(1, b + 1): left = (14 / 100 - 95 * j) ** 4 right = (72 * c ** 2 + c ** 3 / 38 + 1) ** 7 - math.acos(x) ** 5 total += left - right return total" "from math import * def main(a, m, b): f = 0 for i in range(1, b + 1): f1 = 0 for c in range(1, m + 1): f2 = 0 for k in range(1, a + 1): f2 += log10(i) ** 5 + k ** 21 + c ** 6 f1 += f2 f += f1 return f" "from math import floor, log def math_left(z, k): return 86 * floor(z ** 2) ** 6 - 1 - k ** 4 def math_right(k, z, c): return log(k) ** 3 + 60 * z ** 2 + (30 * c ** 3 + 46 * c ** 2 + 1) ** 6 / 90 def main(m, z, b): sum_k = 0 for k in range(1, m + 1): sum_k += math_left(z, k) sum_k1 = 0 for k in range(1, m + 1): sum_c = 0 for c in range(1, b + 1): sum_c += math_right(k, z, c) sum_k1 += sum_c return sum_k - sum_k1" "from __future__ import annotations import math def sum_1(m, b, p) -> int | float: summ = 0 for i in range(1, m + 1): for j in range(1, b + 1): summ += math.cos(p) - j ** 7 - 95 * i ** 4 return summ def sum_2(n, b, m) -> int | float: summ = 0 summ1 = 0 for i in range(1, n + 1): for j in range(1, b + 1): for k in range(1, m + 1): summ += math.tan(0.06 + 96 * j ** 2) ** 3 - 44 * i ** 4 summ1 += math.fabs(k) ** 7 return summ - summ1 def main(b, m, p, n) -> int | float: return sum_1(m, b, p) - sum_2(n, b, m)" "def main(m, a, p): ans = 0 lop = 1 for j in range(1, a + 1): for k in range(1, m + 1): lop *= 96 * k ** 4 - (p - j ** 2) / 22 - (28 * k ** 2 + 80) ** 5 ans += lop lop = 1 return ans" "from math import tan def main(m, a, n): sum = 0 for c in range(1, n + 1): for i in range(1, a + 1): for j in range(1, m + 1): sum += 57 * (c ** 2 + 42 * i ** 3 + j) ** 4 - tan(j - 46) ** 5 return sum" "def main(a, n, b, m, p): sum1 = 0 for k in range(1, n + 1): for j in range(1, a + 1): res = (46 - k - 31 * k ** 3) ** 2 + j ** 5 sum1 = sum1 + res sum2 = 0 for j in range(1, m + 1): for i in range(1, a + 1): for k in range(1, b + 1): res2 = 6 * (p + i ** 3) ** 6 - 64 * (j ** 2 - k ** 3 - 99) sum2 = sum2 + res2 return sum1 + sum2" "from math import exp def main(a: int, m: int, n: int, x: float): res = 0 for i in range(1, n + 1): for j in range(1, m + 1): for k in range(1, a + 1): r = exp(x) ** 5 - (i ** 2 - 79 * k - j ** 3) res += r return res" "from __future__ import annotations import math def sum_1(b) -> int | float: summ = 0 for k in range(1, b + 1): summ += 71 * (46 * k ** 2 + 40) ** 7 - 6806 * k ** 2 return summ def sum_2(m, n, z) -> int | float: summ = 0 summ1 = 0 for k in range(1, m + 1): for j in range(1, n + 1): summ += 76 * math.fabs(k ** 3 - 1 - z) ** 2 summ1 += 33 * math.fabs(96 * k + 79 * j ** 2) ** 4 return summ - summ1 def main(b, n, m, z) -> int | float: return sum_1(b) - sum_2(m, n, z)" "import math def main(n, p, m): f = 0.0 g = 0.0 for k in range(1, n + 1): f += 25 + 49 * (k ** 3 - 9 * p) ** 4 for c in range(1, m + 1): for k in range(1, n + 1): g += 1 + math.floor(1 + 7 * k + c ** 3) ** 3 / 20 res = f + g return res" "import math def main(b, y, a): res = 0 res1 = 0 for c in range(1, b + 1): res += 44 - 46 * math.cos(c - 73 * y ** 2) ** 5 for k in range(1, b + 1): for c in range(1, a + 1): res1 += c / 63 + k ** 3 + 52 * math.sin(k) ** 4 return res - res1" "def main(a, n, b, y): result = 0 for c in range(1, b + 1, 1): for k in range(1, n + 1, 1): for j in range(1, a + 1, 1): result += 1 + abs(38 * j ** 3 + y ** 2) ** 3 + 75 * k ** 3 + 75 * c return float(result)" "def main(m, y, n, b, a, p): rez1 = 0 rez2 = 0 for c in range(1, a + 1): rez1 += 64 * c - 1 - 99 * y ** 3 for c in range(1, a + 1): for j in range(1, b + 1): for i in range(1, n + 1): rez2 += 16 * (36 * p) ** 6 + c + (i ** 3 + j ** 2 / 50 + p) ** 3 return rez1 - rez2" "from math import * def main(b, n, x): _sum = 0 for k in range(1, n + 1): for j in range(1, b + 1): _sum += atan(75 * j ** 3 - k ** 2) ** 3 - 43 * (x - 14 * x ** 3) ** 6 return _sum" "from math import sin def main(n, m, a): result = 0 for i in range(1, n + 1): result += 57 * i ** 6 for j in range(1, n + 1): for i in range(1, a + 1): for k in range(1, m + 1): result += sin(i) ** 2 + 95 * (k ** 3 + 7 + j) ** 6 return result" "def main(m, n): sum = 0 pr = 1 for k in range(1, n + 1): sum = 0 for j in range(1, m + 1): sum += 87 * j ** 7 + (1 + k + k ** 3) ** 6 + abs(k + 43) ** 2 pr *= sum return pr" "import math def main(n2, x2, a2, m2, b2): k1 = 0 for j in range(1, n2 + 1): c2 = 18 + 26 * pow(j, 5) + pow(17 * j * j - j - 85 * pow(x2, 3), 6) k1 = k1 + c2 f = 0 for k in range(1, b2 + 1): for i in range(1, m2 + 1): for c in range(1, a2 + 1): d2 = i * i - 40 * pow(c, 7) - pow(77 * k - 95 * i * i, 4) f = f + d2 return k1 + f" "import math def main(n, m): part_1 = 0 part_2 = 0 for c in range(1, n + 1): part_1 += c ** 4 - 82 * (89 * c ** 3 + 65 * c + 32) ** 5 for k in range(1, n + 1): for c in range(1, m + 1): part_2 += abs(k) + 95 * (69 * k ** 2 - 20) ** 5 + 18 * math.sin(c) ** 6 return part_1 + part_2" "import math def main(b, a, m, n): f1 = 0 f2 = 0 for j in range(1, a + 1): for k in range(1, b + 1): f1 += 88 * pow(math.sqrt(8 * k ** 3), 5) - 86 * j for j in range(1, n + 1): for c in range(1, m + 1): f2 += 54 * (j - c ** 2 / 39) ** 2 - 75 * pow(j, 3) result = f1 + f2 return result" "from math import exp def main(n, x, b, a, z): result1 = 0 for j in range(1, n + 1, 1): result1 += 81 * (26 * x - 1 - 57 * j ** 2) ** 7 - 68 * x ** 6 - (j - 1) ** 4 / 6 result2 = 0 for i in range(1, a + 1, 1): for j in range(1, b + 1, 1): for c in range(1, n + 1, 1): result2 += exp(35 + z ** 3 / 31) ** 5 - c ** 2 / 2 - 47 * (51 * i ** 2 - j) ** 3 result = result1 - result2 return float(result)" "from math import log def main(b, a, y, m, n): (res1, res2) = (0, 0) for i in range(1, a + 1): for j in range(1, b + 1): res1 += i ** 5 - log(20 - y ** 3 - j) ** 7 for k in range(1, n + 1): for c in range(1, m + 1): for j in range(1, b + 1): res2 += 45 * (c ** 2 / 99 + j + k ** 3) ** 3 - 34 * j - j ** 7 return res1 - res2" "def main(b, n, a): result = 0 for j in range(1, a + 1): for k in range(1, n + 1): for c in range(1, b + 1): first_term = (23 * c - j ** 2) ** 4 second_term = 87 * (j - 31 * k ** 3 - 1) ** 5 result += first_term - 1 - second_term return result" "from math import tan def main(b, z, n, p): x = sum([tan(k ** 2 + 26 * z) ** 3 / 17 for k in range(0, b + 1)]) y = sum([26 * (25 * i + p ** 3) ** 4 + (p ** 3 + 8 * p + 1) ** 3 + 16 * i for i in range(0, n + 1)]) return x - y" "from math import * f = pow def main(n, a, x): s = 0 for j in range(1, a + 1): for c in range(1, n + 1): s += 74 * (75 * c ** 2 + 1) ** 5 - (x ** 3 - 48 * j ** 2) ** 2 - 1 return s" "from math import * def main(b, a, m): sum = 0 for k in range(1, m + 1): for i in range(1, a + 1): for j in range(1, b + 1): sum += 43 * log(59 * k + 26 * j ** 3) + 93 * i ** 6 return sum" "def main(a, x, m, z): (sum_one, sum_two) = (0, 0) for c in range(1, a + 1): per = x ** 6 + 46 * (x + x ** 2 + c ** 3) + 1 sum_one += per for c in range(1, m + 1): vto = (52 * c ** 2) ** 4 + 96 * z + 1 sum_two += vto return sum_one - sum_two" "import math def main(a, n): x1 = sum([c ** 2 for c in range(1, a + 1)]) x2 = sum([j ** 12 - math.cos(99 * j + 76 * j ** 3 + 35 * j ** 2) for j in range(1, n + 1)]) return x1 + x2" "def main(n, m, a, z): (s_one, s_two, s_three) = (0, 0, 0) for i in range(1, a + 1): for k in range(1, m + 1): for j in range(1, n + 1): one = 6 - 96 * (z / 5 + j ** 2 + 18) ** 5 two = (56 * i ** 3 + k / 62) ** 6 s_one += one - two s_two += s_one s_one = 0 s_three += s_two s_two = 0 return s_three" "from math import pow, floor def main(n, a): tmp1 = 1 for k in range(1, a + 1): tmp2 = 0 for c in range(1, n + 1): tmp2 += pow(floor(c), 2) / 42 - pow(25 * pow(c, 3) - k - 10 * pow(k, 2), 6) tmp1 *= tmp2 return tmp1" "import math def main(b, m, n, z): s = 0 for i in range(1, n + 1): for j in range(1, m + 1): for k in range(1, b + 1): s += math.cos(z) ** 5 / 46 - i - (45 * k ** 3 - j ** 2 - 1) ** 6 return s" "from math import sin, acos def main(a, x, m): (sum1, sum2) = (0, 0) for c in range(1, a + 1): sum1 += c + 81 + acos(x) for k in range(1, m + 1): sum2 += 18 * (87 * k) ** 3 - 0.05 - 94 * sin(k) res = sum1 + sum2 return float('%.2e' % res) assert main(6, -0.64, 7) == 9290000000.0 assert main(6, 0.85, 6) == 5230000000.0" "import math def main(n, a, b): lop = 0 for i in range(1, n + 1): lop += (78 * i ** 3) ** 2 pol = 0 d = 0 j = 1 for i in range(1, b + 1): for k in range(1, a + 1): for c in range(1, n + 1): d += 6 * (c - 62 * i ** 3) ** 4 + 1 + 24 * k j *= d d = 0 pol += j j = 1 return lop - pol" "def main(b, m): part1 = 1 for j in range(1, b + 1): part1 = part1 * 99 * j part2 = 0 for j in range(1, m + 1): for k in range(1, b + 1): part2 = part2 + (55 * k ** 6 + j ** 7 + 24 * j ** 5) return part1 + part2" "import math def main(a, x, m): part_1 = 0 for i in range(1, a + 1): part_1 = part_1 + (x ** 6 / 16 + 1 + math.log10(i) ** 7) part_2 = 0 for c in range(1, m + 1): part_2 = part_2 + c ** 6 return part_1 + part_2" "def main(n, a, y): sum1 = 0 for j in range(1, n + 1): sum1 += pow(j, 5) sum2 = 0 for c in range(1, n + 1): for k in range(1, a + 1): step = int(c - c ** 3 / 68) sum2 += 98 * pow(56 * k + 0.01 + 9 * y ** 2, 4) + step result = sum1 + sum2 return result" "def main(n, z, b): m = float(0) t = float(0) for k in range(1, n + 1): m += (k ** 2 + 11 * z ** 3) ** 7 + (47 * z ** 2) ** 5 for i in range(1, b + 1): t += i ** 7 - i ** 6 - (91 * i ** 3 + 1) ** 2 return m - t" "def main(b, n): f = 0 for i in range(1, b + 1): f += 1 + (i / 30 - i ** 2) / 10 + (43 - i - 51 * i ** 2) ** 2 for i in range(1, n + 1): for j in range(1, b + 1): f -= j ** 5 - (j ** 2 - 93 - i ** 3) ** 4 return f" "import math def main(m, a, b, y): f1 = 0 f2 = 0 for j in range(1, m + 1): f1 = f1 + (69 * (j / 80) ** 6 - 17 * math.floor(j) - 23 * j ** 4) for k in range(1, b + 1): for i in range(1, a + 1): f2 = f2 + (abs(k) ** 3 + 76 * (y / 24 - y * y - 1) ** 4 + 64 * math.ceil(i ** 6)) f = f1 + f2 return f" "from math import atan, ceil def math_left(i, c, y): return atan(i) ** 3 + ceil(1 + 14 * c) ** 7 + y ** 15 / 25 def math_right(i, c): return 22 * atan(9 * i ** 3) + (c ** 3 - 69 * i ** 2 - 1) ** 7 / 80 def main(a, b, y, n): sum_i = 0 for i in range(1, b + 1): sum_c = 0 for c in range(1, a + 1): sum_c += math_left(i, c, y) sum_i += sum_c sum_c = 0 for c in range(1, b + 1): mul_i = 1 for i in range(1, n + 1): mul_i *= math_right(i, c) sum_c += mul_i return sum_i - sum_c" "def main(n, a, b): result = 0 j = 1 i = 1 c = 1 for d in range(j, n + 1): for e in range(i, a + 1): for f in range(c, b + 1): result += (64 * d ** 3 + e + f ** 2) ** 2 return result" "import math def main(n, a, y): S = 0 for i in range(1, a + 1): for j in range(1, n + 1): S += 20 * (11 * i - y ** 3 - 90 * i ** 2) + 97 * math.log2(j) ** 6 + 1 return S" "import math a = 8 a1 = 2 def main(b, m): sum = 0 for k in range(1, m + 1): for j in range(1, b + 1): r1 = 21 * math.log2(k + 35 + 75 * j ** 2) ** 3 r2 = math.log10(j) ** 7 / 80 result = r1 - r2 sum = sum + result return sum main(a, a1)" "import math def main(n, p, b, a): (summa_one, summa_two, summa_first) = (0, 0, 0) for c in range(1, a + 1): for j in range(1, b + 1): x = math.log2(45 * c) - math.sqrt(p ** 2 - p) ** 5 - j ** 6 summa_one += x summa_two += summa_one summa_one = 0 for i in range(1, n + 1): x = i ** 4 / 40 - i ** 7 - p ** 3 summa_first += x return summa_first - summa_two" "def math(x, j, k, c): return (x ** 2 + j + 2 * x ** 3) ** 2 / 8 - (48 * k - c ** 3 - 1) ** 5 def main(m, a, n, x): mul_k = 1 for k in range(1, n + 1): sum_j = 0 for j in range(1, a + 1): sum_c = 0 for c in range(1, m + 1): sum_c += math(x, j, k, c) sum_j += sum_c mul_k *= sum_j return mul_k" "import math def main(a, b, m, x): f_sum = 0 for i in range(1, m + 1): for c in range(1, b + 1): for k in range(1, a + 1): f_sum += math.atan(i ** 2 - 1 - 19 * x) - 24 * c ** 5 - 36 * k ** 7 return f_sum" "def main(a, m, b, z): _sum = 0 for j in range(1, b + 1): for k in range(1, m + 1): prod = 1 for c in range(1, a + 1): prod *= c ** 7 / 31 + (k ** 2 - 30 * j - 77) / 70 + z ** 2 _sum += prod return _sum" "from math import * def main(m, n, b): value = 0 for k in range(1, b + 1): for j in range(1, n + 1): for c in range(1, m + 1): value += 77 * (27 * k ** 2 + c ** 3 / 75 + j / 8) ** 5 + 22 + tan(k) ** 4 return float('%.2e' % value)" "from math import sin def main(b, m, z): res = 0 for j in range(1, m + 1): for c in range(1, b + 1): res += 43 * (j + 73 * z ** 3 + j ** 2) ** 4 - sin(c ** 2) return res" "import math def main(a, b, m, x): total = 0 for j in range(1, m + 1): for c in range(1, b + 1): for k in range(1, a + 1): tmp = 95 * k ** 5 - math.log(x + 32 * c ** 3 + j ** 2) ** 6 - 78 * c ** 7 total += tmp return total" "from math import ceil def main(m, b, n, p): f = 0 for j in range(1, n + 1): f1 = 1 for k in range(1, b + 1): f2 = 0 for c in range(1, m + 1): f2 += 28 * ceil(k - c ** 3 - j ** 2) ** 2 - 96 * p ** 4 - c ** 6 / 27 f1 *= f2 f += f1 return f" "import math def main(n, m, p): s = 0 for i in range(1, m + 1): pr = 1 for c in range(1, n + 1): pr *= 80 * math.cos(i / 83 - 6 * c ** 2) ** 2 + p ** 5 + 3 * math.sqrt(c) ** 3 s += pr return s" "import math def main(b, y, n): sum1 = 0 for k in range(1, b + 1): sum1 += 31 * math.floor(y) ** 2 - 65 * k ** 6 - (1 - 23 * k ** 3) ** 5 sum2 = 0 for k1 in range(1, n + 1): res1 = 52 * y ** 2 - 44 * k1 - y ** 3 / 39 res2 = 70 * pow(math.sin(res1), 5) sum2 += res2 return sum1 - sum2" "def main(m, y, a, n, b): sum_j = 0 for j in range(1, m + 1): sum_j += y ** 6 + (7 - j - j ** 3) ** 7 part1 = sum_j sum_j = 0 for j in range(1, b + 1): sum_i = 0 for i in range(1, n + 1): sum_k = 0 for k in range(1, a + 1): sum_k += (i ** 2 / 13 + 22 * k + 1) ** 2 + 17 + 73 * (j ** 2 / 13) ** 4 sum_i += sum_k sum_j += sum_i part2 = sum_j return part1 - part2" "import math def main(n, m, b, p): sum1 = 0 for i in range(1, b + 1): for k in range(1, m + 1): for j in range(1, n + 1): num1 = 14 * math.ceil(p) ** 6 num2 = (32 * i - 55 * j ** 2) ** 3 + 26 * k sum1 += num1 + num2 return sum1" "def main(a, m, z): res = 0 for k in range(1, m + 1): r = 1 for c in range(1, a + 1): r *= 84 + (53 * k ** 2 - 1 - 32 * c) ** 3 res += r return res" "from math import * def main(a, b, y): value = 0 for c in range(1, b + 1): for i in range(1, a + 1): value += log(y, 2) / 53 - (c ** 3 + 1 + 24 * i) ** 3 for k in range(1, a + 1): value += 26 - sin(k) ** 7 - k ** 2 / 61 return float('%.2e' % value)" "from math import * def main(a, b, m): _sum = 0 for j in range(1, m + 1): for k in range(1, b + 1): for c in range(1, a + 1): _sum += k ** 5 - log(j) - 28 * ceil(54 * k ** 2 + c / 15) ** 7 return _sum" "def main(a, n, b): result = 0 for i in range(1, b + 1): s = 0 for c in range(1, n + 1): s1 = 0 for k in range(1, a + 1): s1 += (24 * c + k ** 3 / 24) ** 2 - (1 - 40 * k - 66 * i ** 3) ** 6 s += s1 result += s return result" "import math def main(n, b, a, p): s1 = 0 for k in range(1, a + 1): s2 = 0 for c in range(1, b + 1): s3 = 0 for i in range(1, n + 1): s3 += math.tan(k) ** 4 / 3 + math.sin(c ** 3 - 0.02 - 3 * p ** 2) + i ** 5 / 5 s2 += s3 s1 += s2 return s1" "def main(b, a, x): s = 0 for c in range(1, a + 1): for j in range(1, b + 1): s += 0.02 + (59 * c - 1 - 6 * j ** 3) ** 5 + 4 * x ** 6 return s" "def main(a, b, p): total = 0 left = 1 left1 = 0 right = 0 for c in range(1, b + 1): for j in range(1, a + 1): left1 += 96 * (c ** 2 - 55 * j ** 3) - (8 + j ** 3) ** 2 right += (81 + p / 32) ** 4 / 17 + abs(p ** 3 - 1 - c) + 73 * j ** 2 left = left * left1 left1 = 0 total = left + right return total" "def main(n, b, a): result1 = result2 = result = 0 for k in range(1, a + 1): for j in range(1, b + 1): for i in range(1, n + 1): result1 = (47 + 63 * k ** 3 + 82 * j ** 2) ** 2 result2 = 30 * i ** 4 + 1 result += result1 + result2 return result" "def main(m, n, y): v = 0 for i in range(1, n + 1): for c in range(1, m + 1): v1 = (86 * y ** 3) ** 7 + 5 * (y - 69 - i ** 2) ** 5 v2 = c ** 6 v += v1 + v2 return v" "def main(b, a, x): f = 0 for i in range(1, a + 1): f1 = 0 for c in range(1, b + 1): f1 += 93 * x ** 3 + c / 63 + 54 * x ** 7 + i ** 3 f += f1 return f" "from math import * import math def main(n, y): sum1 = 0 for c in range(1, n + 1): sum1 += (y ** 2 + 5) ** 2 + math.floor(c) ** 7 sum2 = 1 for k in range(1, n + 1): sum2 *= (1 + 96 * k ** 3) ** 2 + 0.1 return sum1 + sum2" "import math def main(m, a, x): total1 = 0 total2 = 0 for i in range(1, m + 1): total1 += 0.02 + 3 * math.exp(i ** 2 - i ** 3) ** 4 for j in range(1, m + 1): for k in range(1, a + 1): total2 += 28 * k + 81 + 22 * (1 - 52 * x ** 2 - 50 * j) ** 7 return total1 - total2" "from math import log, log2, tan def main(a, m, b): sum_k = 0 for k in range(1, m + 1): sum_c = 0 for c in range(1, a + 1): sum_c += 73 * log(k) ** 4 - 73 * log2(c) ** 7 - 35 sum_k += sum_c sum_i = 0 for i in range(1, b + 1): sum_i += tan(82 * i - 69 - i ** 3) ** 3 return sum_k - sum_i" "from math import fabs def main(n, b): f = 0 for j in range(1, b + 1): for c in range(1, n + 1): f += 38 * (19 * j) ** 7 - fabs(27 * j ** 3) ** 6 - 12 * (16 * c ** 3 - c) ** 5 return f" "import math def main(b, n, x, m, a): number = 0 number1 = 0 for k in range(1, n + 1): for j in range(1, b + 1): number += 39 * (x ** 3 + k + 7 * j ** 2) ** 3 + math.sin(x) for c in range(1, a + 1): for i in range(1, m + 1): for k in range(1, n + 1): number1 += abs(60 * i ** 3 + 4 + c ** 2) ** 6 - k ** 3 return number - number1" "def main(n, a): r = 0 for i in range(1, n + 1): r += 94 * i + i ** 3 + 30 for k in range(1, a + 1): r += (44 * k ** 3 - 54 * k - k ** 2 / 13) ** 2 return r" "import math def main(b, m, a, y): total = 0 for j in range(1, a + 1): for k in range(1, m + 1): for c in range(1, b + 1): left = (33 * j ** 3 - 10 - c ** 2) ** 4 right = 40 * (y ** 3 + k + 91) ** 6 total += left + right + 1 return total" "import math def main(m, n, a): total_first = 0 total_second = 0 for i in range(1, n + 1): for k in range(1, m + 1): tmp = 18 * (i ** 3 - 26 - 28 * k) + 5 total_first += tmp for j in range(1, m + 1): for c in range(1, a + 1): for k in range(1, n + 1): total_second += k ** 4 - math.log(13 * j ** 2 + 78 * c + k ** 3) ** 7 / 97 return total_first + total_second" "import math def main(n, b, m): f = 0 s = 0 for k in range(1, n + 1): f += 61 * (1 - 56 * k - 80 * k ** 3) ** 4 for j in range(1, m + 1): for i in range(1, b + 1): s += 86 * j ** 4 - (i + i ** 2) - 57 * (74 + 20 * i + j ** 2) ** 5 return f + s" "def main(a, b, m): f1 = 0.0 f2 = 1.0 f4 = 0.0 f = 0 for c in range(1, a + 1): f1 += pow(c, 4) for k in range(1, m + 1): for j in range(1, b + 1): f2 = 1.0 for i in range(1, a + 1): f2 *= 24 * pow(56 * i - pow(i, 3), 7) - 65 * pow(k, 2) - pow(95 * pow(j, 2), 6) f4 += f2 f3 = f1 + f4 return float(f'{f3:.2e}')" "from math import * def main(b, m, n): value = 0 for c in range(1, n + 1): for j in range(1, m + 1): for k in range(1, b + 1): left = (1 + 48 * k ** 3) ** 6 / 62 right = log(j, 10) ** 4 value += left + (8 * c ** 2 - 1) ** 3 / 53 + right return float(value)" "from math import * def main(a, p, b, m): f = 0 for j in range(1, a + 1): f += atan(4 * p) ** 5 + 29 * (8 * j ** 2) ** 2 + j ** 3 f1 = 0 for i in range(1, m + 1): f2 = 0 for j in range(1, b + 1): f2 += (j ** 2 - j - i ** 3) ** 2 + 9 * i - 1 + sqrt(59 * i ** 2) ** 3 f1 += f2 return f + f1" "import math def main(a, n, y): ans = 0 for j in range(1, n + 1): for k in range(1, a + 1): ans += (j ** 3 - 44 * y ** 2) ** 7 - math.tan(k - y ** 2 - 1) ** 5 - 1 return ans" "import math def main(m, p, a): total = 0 sectotal = 0 another = 0 for k in range(1, m + 1): another += 87 * (k - p ** 2) for c in range(1, a + 1): for j in range(1, m + 1): left = (95 * c ** 2 - c ** 3 - 1) ** 6 middle = 32 * c ** 5 right = (61 + j) ** 3 total += left + middle + right sectotal += total + another return sectotal" "import math def main(a, n, m, z): first = 0 for i in range(1, n + 1): for k in range(1, a + 1): first += i ** 5 - math.sqrt(i ** 2 / 95 + k + i ** 3) ** 3 second = 0 for k in range(1, a + 1): for c in range(1, m + 1): second += 14 * k ** 3 + k + 42 - (c ** 3 + z ** 2) ** 4 return first - second" "from math import log10 def main(m, n, b): sum_j = 0 for c in range(1, b + 1): for k in range(1, n + 1): for j in range(1, m + 1): sum_j += log10(c) ** 5 + (k - 59 * j ** 2) / 61 return sum_j" "from math import floor, log2 def main(m, b, n): a1 = 0 for j in range(1, n + 1): for c in range(1, b + 1): for k in range(1, m + 1): a1 += 37 * floor(j) ** 6 - 82 * log2(k) ** 5 - c ** 7 / 21 return a1" "import math def main(n, a, b, m): f = 0.0 for k in range(1, n + 1): f = f + (k ** 12 / 91 + 1 + math.tan(k - 12 * k ** 2) ** 4) d = 0.0 for i in range(1, m + 1): for j in range(1, b + 1): for c in range(1, a + 1): d = d + (42 * math.cos(1 + i ** 2 + i) ** 6 - math.sqrt(c) ** 5 - j ** 4) p = f + d return float('%.2e' % p)" "import math def main(n, m, b): x = 0 for k in range(b + 1): for j in range(m): for i in range(n): x += j ** 6 / 81 - 71 * math.exp(k ** 2 + 1 + k ** 3) ** 7 - i ** 2 return x" "def main(n, m, b, z): f = 1 for i in range(1, b + 1): f1 = 0 for j in range(1, m + 1): for k in range(1, n + 1): f1 += 10 * (k ** 2 - 80 * z) - 92 * (z + j ** 2 / 41) ** 2 - 27 * i ** 4 f *= f1 return f" "def main(a, b, n): _sum = 0 for i in range(1, n + 1): for k in range(1, b + 1): for j in range(1, a + 1): _sum += 63 * (i - 26 * k ** 2 - 1) ** 6 - int(j) ** 4 - (j ** 2 / 85 - 40) ** 2 return _sum" "import math def main(b, n): s = 0 for c in range(1, n + 1): for i in range(1, b + 1): x = math.log(i) ** 5 y = c ** 3 z = (i / 51 - 80 - 30 * c ** 3) ** 2 s += x - y - z return s" "def main(b, z, m, x): first = 0 for c in range(1, b + 1): first += (11 * z ** 2 + c ** 3) ** 7 second = 0 for i in range(1, m + 1): second += x ** 7 + 38 * i + 69 return first - second" "from math import log2 def main(n, a, m, z): sum_i = 0 for i in range(1, m + 1): sum_k = 0 for k in range(1, a + 1): sum_j = 0 for j in range(1, n + 1): sum_j += k ** 5 + log2(j + i ** 3) ** 6 + 85 * z sum_k += sum_j sum_i += sum_k return sum_i" "def main(b, n, x): total = 0 for i in range(1, n + 1): for j in range(1, b + 1): total += i ** 6 - j ** 5 - (5 * x ** 3 + i ** 2 + 33 * x) ** 4 / 3 return total" "import math def main(a, b, m): sum1 = 0 sum2 = 0 for k in range(1, b + 1): work = 1 for i in range(1, a + 1): work *= i ** 7 - 67 * k ** 6 sum1 += work for k in range(1, m + 1): sum2 += k ** 7 - math.log(k, 2) ** 4 - 1 res = sum1 - sum2 return float('%.2e' % res)" "import math def main(b, m, n): f = 0 for i in range(1, m + 1): for k in range(1, b + 1): f += (i - 25) ** 3 + 79 * k ** 6 for k in range(1, b + 1): for j in range(1, n + 1): f += 37 * math.log(j, 2) ** 5 + 55 * (k ** 3 + 1) ** 6 + 1 return f" "import math def main(m, b, p): f = 0 for i in range(1, b + 1): for c in range(1, m + 1): f += 42 * p ** 2 + 32 * math.log(75 - 15 * p - c ** 2) ** 4 + i ** 3 / 93 return f" "def main(a, b, m, n, y): part_1 = 0 for i in range(1, b + 1): for c in range(1, a + 1): part_1 = part_1 + (1 - (31 * i ** 2 - c ** 3 / 10 - 34 * i) ** 5) part_2 = 0 for c in range(1, n + 1): for i in range(1, a + 1): for j in range(1, m + 1): part_2_1 = 24 * c ** 6 + 27 * (85 * y ** 3 - 53 - j) + i ** 2 part_2 = part_2 + part_2_1 return part_1 - part_2" "def main(b, n, m): sum_ = 0 for k in range(1, m + 1): for j in range(1, n + 1): for c in range(1, b + 1): sum_ += 49 * (j ** 2 / 36 - 1 - k) ** 5 - 98 * c ** 2 - k ** 3 return sum_" "import math def main(a, y, b): res = 0 res1 = 0 for k in range(1, a + 1): res += k ** 7 / 15 + (77 * y ** 2 + 1 + 72 * y ** 3) ** 5 for j in range(1, b + 1): res1 += 78 * j ** 5 + (20 * j + j ** 2 / 2 + 1) ** 4 return res + res1" "import math def main(b, m, y, a, z): res = 0 res1 = 0 for j in range(1, m + 1): for c in range(1, b + 1): res += y ** 7 + (j ** 3 / 92 - 35 * c ** 2) ** 3 for i in range(1, b + 1): for c in range(1, a + 1): res1 += (c ** 3 - i ** 2 / 9) ** 5 - 1 - (19 + 23 * z ** 2 + c) ** 4 / 45 return res + res1" "def math(c, k): return c ** 7 / 65 - 24 * (71 - k ** 3 - k ** 2) ** 3 - k ** 6 / 50 def main(a, m): mul_c = 1 for c in range(1, m + 1): sum_k = 0 for k in range(1, a + 1): sum_k += math(c, k) mul_c *= sum_k return mul_c" "import math def what(b, a, m, i): res = 0 for j in range(1, a + 1): for c in range(1, b + 1): res += math.ceil(12 * c ** 3 + 60 + j) ** 5 + 9 * c ** 3 + 78 * i ** 2 return res def main(b, a, m): res = 0 res1 = 1 for i in range(1, m + 1): res1 *= what(b, a, m, i) return res1" "import math def main(a, p, b): left = 0 right = 0 x = 0 for i in range(1, a + 1): left += 81 * (77 - 70 * i ** 2 - p) ** 2 - 40 * p ** 4 - math.log2(i) ** 3 for c in range(1, b + 1): right += c ** 10 - math.atan(c ** 2 - c ** 3) ** 4 return left - right" "import math def main(b, n, m): sum = 0 for c in range(1, m + 1): for k in range(1, n + 1): delta = 1 for i in range(1, b + 1): delta *= (1 + c ** 2) ** 2 - 69 * k ** 4 - (58 * i - 67 * c ** 3 - i ** 2) sum += delta return sum" "import math def main(n, b): res1 = 0 res2 = 0 for j in range(1, n + 1): res1 += math.tan(j) ** 7 + 31 * j ** 2 - j - j ** 3 + 87 * j ** 2 for i in range(1, n + 1): for k in range(1, b + 1): res2 += 62 - (50 * i ** 2) ** 3 - 87 * math.ceil(9 * k + i ** 2) ** 6 return res1 + res2" "def main(n, m, b, x): (res1, res2) = (0, 0) for k in range(1, n + 1): res1 += 71 * (27 * k + 1 + 10 * k ** 3) ** 5 for j in range(1, b + 1): res3 = 1 for c in range(1, m + 1): res3 *= 92 * (x ** 3 + 40 + 60 * x) ** 5 + (62 * j ** 2 + 54 * c ** 3 + 94) ** 3 res2 += res3 return res1 + res2" "import math def main(b, m, n, x): A = 0 B = 0 for i in range(1, b + 1): A += 78 * i ** 6 - math.log2(i) ** 4 for c in range(1, b + 1): for k in range(1, n + 1): for i in range(1, m + 1): B += 19 * (x + 72 + i ** 3 / 69) + math.sin(40 - c ** 2 - k ** 3) ** 6 return A - B" "import math def main(a, y): total = 0 for i in range(1, a + 1): left = 36 * i ** 3 + y right = 11 * (68 - i ** 3) ** 2 mid = left - right total += mid return total" "def main(b, z, m): summa1 = 0 for i in range(1, b + 1): summa1 = summa1 + (2 * i ** 6 - 46 * (36 * i ** 3 - z - 1) ** 3) summa2 = 0 for i in range(1, m + 1): summa2 = summa2 + (i - (i ** 2 + 97 * i) ** 3 - i ** 6 / 44) return summa1 + summa2" "import math def main(a, m, b): res = 0 for j in range(1, b + 1): for i in range(1, m + 1): for k in range(1, a + 1): res += i ** 4 + (56 + i) ** 2 + 32 * (49 * k ** 3 - k ** 2 - j) return res" "import math def main(n, m): left = 0 right = 0 for c in range(1, n + 1): left += (0.03 + c * c) ** 2 - c for j in range(1, m + 1): right += 7 - math.sqrt(j * j * j / 11 + j * j) ** 6 return left - right" "import math def main(a, m, p): res1 = 0 res2 = 0 for k in range(1, a + 1): res1 += (k ** 2 + 65 * k + 17) ** 7 - math.log(41 + k, 2) ** 4 for i in range(1, a + 1): for j in range(1, m + 1): res2 += math.fabs(48 - i ** 3 / 86 - 56 * p) ** 6 - j ** 4 return res1 + res2" "import math def main(b, p, a): left = 0 for k in range(1, b + 1): left += 59 * (k ** 3 + p ** 2 + 74) ** 3 - 52 right = 1 for k in range(1, b + 1): x = 0 for i in range(1, a + 1): x += 4 * (k + 42 + i ** 3) ** 6 - 17 * i - 91 * k ** 4 right *= x total = left - right return total" "import math def main(n, a, m, y): res = 0 for c in range(1, m + 1): for k in range(1, a + 1): for i in range(1, n + 1): res += math.floor(c + k ** 2 + y ** 3) ** 3 - c ** 6 - i ** 7 return res" "import math def main(m, a, n, b): total1 = 0 for k in range(1, a + 1): for c in range(1, m + 1): total1 += 96 * (k ** 3 + c / 30) ** 6 total3 = 1 for j in range(1, m + 1): total2 = 0 for k in range(1, b + 1): for i in range(1, n + 1): total2 += (1 - 17 * j ** 3 - i) ** 5 / 59 + (95 * k - i ** 3 - k ** 2) ** 3 total3 *= total2 return total1 - total3" "def main(b, n, m): ans = 0 p = 1 for c in range(1, m + 1): for k in range(1, n + 1): for i in range(1, b + 1): p *= 77 * (53 - k ** 3 - i ** 2) ** 7 - c ** 5 - (k ** 2 + 4 * i) ** 4 ans += p p = 1 return ans" "import math def main(m, a): return sum((i ** 3 + 23 * i ** 7 + 62 * i ** 4 for i in range(1, m + 1))) + sum((sum(((78 * c + 59 * k ** 3) ** 5 for k in range(1, m + 1))) for c in range(1, a + 1)))" "def main(n, b, y): res = 0 for i in range(1, b + 1): for c in range(1, n + 1): res += 47 * (c ** 2 - c ** 3) ** 5 - 19 * (i ** 3 + y ** 2) ** 7 - 69 return res" "import math def main(b, m, a, x): sum1 = 0 for i in range(1, a + 1): for c in range(1, m + 1): for j in range(1, b + 1): result1 = math.sin(x ** 2) ** 3 + pow(math.exp(44 * j - 72), 5) result2 = 11 * (9 * pow(9, 2) - 43 * i) sum1 = sum1 + result1 + result2 return sum1" "import math def main(b, a, z, y): res = 0 for i in range(1, a + 1): res += math.pow(i, 12) + math.pow(y, 5) for j in range(1, b + 1): res += 1 - 75 * math.pow(i, 6) - 84 * math.pow(1 - 64 * z * z * z - j, 7) return res" "import math def f(b, a, x, n): res = 0 first = 0 second = 0 q = 0 w = 0 for k in range(1, a + 1): for i in range(1, b + 1): q = 79 * pow(math.log2(i), 6) w = math.tan(pow(x, 3) + 1 + 77 * pow(k, 2)) first += q - w for j in range(1, n + 1): for i in range(1, b + 1): second += 27 * pow(23 * j - 42 * pow(i, 3) - pow(j, 2), 4) res = first - second return res def main(*args): return f(*args)" "from math import ceil def math(i, x, k): return (i ** 3 - x) ** 5 - ceil(i / 47) ** 4 - (86 * k ** 2 + i) ** 3 def main(b, a, x): mul_i = 1 for i in range(1, a + 1): mul_k = 1 for k in range(1, b + 1): mul_k *= math(i, x, k) mul_i *= mul_k return mul_i" "def main(b, m, a, p): f = 0 for c in range(1, b + 1): f += c ** 5 - 64 * c ** 6 f1 = 0 for k in range(1, a + 1): tmp_j = 0 for j in range(1, m + 1): tmp = 1 for i in range(1, b + 1): tmp *= 74 * k + (i ** 2 - j ** 3 - p) ** 6 + 79 tmp_j += tmp f1 += tmp_j return f + f1" "import math def main(b, a, n): total = 0 for c in range(1, n + 1): for j in range(1, a + 1): for k in range(1, b + 1): total += c ** 5 + j ** 7 + math.tan(81 * k + j ** 2 / 45) ** 6 / 46 return total" "import math def main(b, x, n): (sum_a, sum_one, sum_two) = (0, 0, 0) for i in range(1, b + 1): sum_a += (0.01 + i ** 2) ** 5 - math.sqrt(x) / 36 - (73 * x ** 3) ** 6 for i in range(1, n + 1): for c in range(1, b + 1): sum_one += c ** 2 + 49 * math.ceil(i) ** 4 + 23 * math.log10(i ** 3 + 1 + 62 * i ** 2) sum_two += sum_one sum_one = 0 return sum_a - sum_two" "def main(b, y): res1 = 0 for j in range(1, b + 1): res1 += (y ** 2 - 13 - j ** 3) ** 7 - 1 res2 = 0 for i in range(1, b + 1): res2 += i ** 7 + i ** 9 + i ** 5 / 16 return res1 + res2" "def main(a, b, n): result = 0 for k in range(1, n + 1): for i in range(1, b + 1): for c in range(1, a + 1): result += 16 * (51 * k - 86 * c ** 3 - 64 * c ** 2) ** 5 + i return result" "def main(m, a, b): (sum_one, sum_two, sum_three) = (0, 0, 0) for c in range(1, b + 1): for j in range(1, a + 1): for i in range(1, m + 1): x = (i ** 2 + c ** 3 / 3 + 89) ** 6 y = j ** 5 / 76 sum_one += x + y sum_two += sum_one sum_one = 0 sum_three += sum_two sum_two = 0 return sum_three" "import math def main(m, b, a, p): res = 0 for j in range(1, a + 1): for k in range(1, b + 1): for c in range(1, m + 1): res += 23 * math.tan(p) ** 7 - (6 * k + 1 + j ** 2) - c ** 5 return res" "import math def main(n, b, a, z): p = 0 lop = 0 for j in range(1, b + 1): for i in range(1, n + 1): p += 1 - 20 * (i ** 3 - j) ** 5 - i for c in range(1, b + 1): for i in range(1, a + 1): for j in range(1, n + 1): lop += i ** 5 + j ** 2 + 6 * math.cos(c ** 3 + 57 * c ** 2 + 86 * z) ** 3 return p - lop" "import math def main(a, n, b, z): p = 0 for k in range(1, b + 1): for j in range(1, n + 1): for c in range(1, a + 1): p += j ** 2 + k ** 5 + math.cos(56 * c ** 2 + z) ** 3 return p" "import math def main(b, x, n, a): total = 0 for c in range(1, b + 1): total += math.cos(x ** 3 + 1 + c ** 2) ** 4 / 93 - abs(c) ** 5 total2 = 0 for c in range(1, a + 1): for j in range(1, b + 1): for i in range(1, n + 1): total2 += math.log(86 * c + 57 * j ** 2 + 71 * i ** 3) + i ** 3 + math.log(j, 2) ** 7 return total - total2" "def main(m, a, n, b, p): left = 0 right = 0 for j in range(1, a + 1): for k in range(1, m + 1): left += k ** 2 + 74 * (1 - j ** 3 - 5 * k) ** 5 + k for i in range(1, b + 1): for k in range(1, a + 1): for j in range(1, n + 1): right += (70 - i - 53 * k ** 2) ** 3 + 83 * (j ** 3 + 19 * p ** 2) ** 2 return left - right" "from math import cos, tan def math_left(p, i): return 25 * (92 * p + i ** 3 + i ** 2) ** 3 def math_right(k, j, i, p): return cos(0.03 - k) ** 3 - (14 * j + 1 + 71 * i ** 2) ** 4 - tan(p) ** 7 def main(n, p, a, b): mul_i = 1 for i in range(1, n + 1): mul_i *= math_left(p, i) sum_j = 0 for j in range(1, n + 1): sum_k = 0 for k in range(1, b + 1): sum_i = 0 for i in range(1, a + 1): sum_i += math_right(k, j, i, p) sum_k += sum_i sum_j += sum_k return mul_i + sum_j" "def main(a, m, n, x): res = 0 for k in range(1, n + 1): left = 0 right = 0 for c in range(1, m + 1): for j in range(1, a + 1): left = 94 * (c / 61 + x ** 3) ** 4 right = (42 + j ** 2 + 2 * k) ** 3 res += left - right return res" "def main(n, a, m, p): part_1 = 0 for c in range(1, m + 1): for i in range(1, a + 1): for k in range(1, n + 1): part_1_1 = (i / 4 + c ** 3 + p ** 2) ** 6 - 1 - k ** 7 / 6 part_1 = part_1 + part_1_1 return part_1" "def main(m, a): res = 0 res1 = 0 res2 = 0 for k in range(1, m + 1): res1 += pow(74 * k ** 3 + 30 * k * k, 5) / 67 for j in range(1, a + 1): res2 += 99 * j ** 12 + 1 + pow(j * j + j / 24, 3) res = res1 + res2 return res" "import math def main(m, n, z): p = 0 lop = 1 for k in range(1, n + 1): for j in range(1, m + 1): p += 80 * (k ** 3 / 28) ** 6 - 36 * j ** 3 for j in range(1, m + 1): lop *= math.cos(j) ** 5 / 5 - 73 * (65 * z ** 2 + 1) ** 7 return p - lop" "def main(n, m, x): (s_one, s_two) = (0, 0) for i in range(1, m + 1): for j in range(1, n + 1): s_one += 9 * (i ** 2 + 3 + i) ** 4 + 53 * j ** 5 + 29 * x ** 3 s_two += s_one s_one = 0 return s_two" "from math import log def main(n, m, b): s = 0 for k in range(1, b + 1): for c in range(1, m + 1): for j in range(1, n + 1): s += 16 * log(j, 2) ** 6 - c ** 5 - (k ** 3 - k * k - 1) ** 4 return s" "import math def main(b, n, a, y): p = 0 lop = 1 for k in range(1, b + 1): lop *= k ** 7 - (94 * k + 97) ** 3 for i in range(1, b + 1): for c in range(1, a + 1): for k in range(1, n + 1): p += math.atan(0.02 - 94 * i) ** 3 - (y ** 2 - 6 * c ** 3 - k / 35) ** 6 / 32 return lop + p" "import math def main(n, m, y): rez = 0 rez1 = 0 for c in range(1, n + 1): rez += 45 * c for j in range(1, m + 1): rez1 += 7 * j ** 3 + math.log10(j) ** 6 / 29 + (y - 93 * y ** 2) ** 5 return rez - rez1" "def main(b, x, a, n): first_sum = 0 second_sum = 0 for j in range(1, b + 1): first_sum += (j ** 3 - 1) ** 7 - 67 * (1 + x ** 2 + 29 * x) ** 3 - 61 * x for c in range(1, n + 1): third_sum = 0 for j in range(1, b + 1): mult = 1 for k in range(1, a + 1): mult *= k ** 7 - 30 * (47 + c ** 2 / 13 + 69 * k ** 3) ** 3 - j / 34 third_sum += mult second_sum += third_sum return first_sum + second_sum" "import math def main(m, a): c = 1 k = 1 f = 0 while c <= a: while k <= m: f += pow(40 * c, 5) + pow(k + pow(c, 3) / 85 + pow(k, 2), 6) + 70 * pow(math.sin(c), 3) k += 1 c += 1 k = 1 return f" "import math def main(a, b, m, p): u = 0 pr = 1 for j in range(1, a + 1): u += 87 * math.tan(j) ** 2 for c in range(1, m + 1): result = 0 for i in range(1, b + 1): result += (35 * c + 61 + p ** 2) ** 4 + 64 * (46 * i ** 2 + 1) pr *= result return u - pr" "import math def main(a, m, b, p): sum1 = 0 for k in range(1, a + 1): sum1 += 84 * math.sqrt(k) ** 7 sum2 = 0 for j in range(1, b + 1): sum3 = 0 for c in range(1, m + 1): sum3 += 90 * (60 + p / 84) ** 2 - (j ** 3 - c / 39 - p ** 2) ** 6 sum2 += sum3 return sum1 + sum2" "import math def main(m, x): p = 0 lop = 0 for k in range(1, m + 1): lop += 77 * math.log(k) ** 7 + 69 * math.sin(96 - x) ** 2 for c in range(1, m + 1): p += 1 + 56 * math.atan(88 * c ** 2) return lop - p" "from math import atan, sin, exp, prod, ceil def main(m, a, z, n, b): first = sum([sum([exp(31 - i) ** 6 - 98 * atan(c) ** 2 - 3588 * z ** 3 for c in range(1, m + 1)]) for i in range(1, a + 1)]) second = sum([sum([prod([ceil(j) ** 4 + k ** 7 + 94 * sin(i) ** 2 for j in range(1, m + 1)]) for i in range(1, n + 1)]) for k in range(1, b + 1)]) res = first + second return first" "import math def main(m, a, z): p = 0 for k in range(1, a + 1): for j in range(1, m + 1): p += 7 * math.tan(j) ** 3 + (k ** 3 + k + 31 * z ** 2) ** 5 / 62 return p" "def main(m, b): x = 0 for k in range(1, b + 1, 1): for i in range(1, m + 1, 1): x = x + 80 * (k ** 2 - 30 * i) ** 5 - 17 * (i ** 2 / 33 - 70) ** 3 return x" "import math def main(n, x, m, a): sum1 = 0 sum2 = 0 for j in range(1, n + 1): sum1 += (j ** 3 + x ** 2) ** 5 for j in range(1, n + 1): for k in range(1, a + 1): for c in range(1, m + 1): sum2 += 18 * math.exp(k) ** 2 - math.sin(96 * j + 1 + 96 * c ** 2) ** 3 - math.cos(0.01 + x) return sum1 - sum2" "import math def main(b, a, p): total = 0 for i in range(1, a + 1): for k in range(1, b + 1): left = k ** 5 + 7 * (40 * p - i ** 2 - 1) ** 2 right = 56 * math.atan(k) ** 6 total += left + right return total" "import math def main(a, b, x): sum = 0 for k in range(1, b + 1): for j in range(1, a + 1): sum = sum + (21 * j ** 2 - 41) ** 3 - (x ** 3 - 81 * k ** 2) ** 2 - 2 return sum" "def main(m, a, y): s = 0 for k in range(1, a + 1): for c in range(1, m + 1): s += (y + 62 * k ** 2 + 0.17) ** 6 + y ** 7 / 53 + (c ** 3 - 1 - y) ** 4 return s" "import math def main(m, b, a): p = 0 lop = 0 g = 1 for j in range(1, b + 1): for i in range(1, m + 1): p *= 74 + (5 * i ** 2 - 89 * j - 53 * i ** 3) ** 2 for k in range(1, a + 1): for i in range(1, m + 1): g *= 70 * math.log2(k) ** 4 - i ** 2 - k ** 21 lop += g g = 1 return p - lop" "import math def main(b, a, p): total = 0 for c in range(1, a + 1): for i in range(1, b + 1): left = 10 * c ** 2 + math.sin(p) ** 7 right = 37 * math.atan(13 * i + 43 * i ** 3) ** 6 total += left + right return total" "from math import * def main(m, b, z, n, a): f = 0 for k in range(1, b + 1): f1 = 0 for i in range(1, m + 1): f1 += k ** 6 + z ** 2 - 1 - i ** 3 / 37 f += f1 f2 = 0 for k in range(1, a + 1): f3 = 0 for j in range(1, n + 1): f3 += k ** 2 / 71 - fabs(k / 84) - 25 * (70 * j ** 2) ** 3 f2 += f3 return f + f2" "from math import ceil def main(m, n, y, a): res1 = 0 for k in range(1, n + 1): for i in range(1, m + 1): res1 += 60 * y + i ** 2 + 1 + k ** 5 res2 = 0 for j in range(1, a + 1): for c in range(1, m + 1): res2 += y ** 6 + ceil(c) ** 4 + (67 - y ** 2 - 9 * j) ** 2 return res1 + res2" "import math def main(n, b, m): total = 0 for j in range(1, m + 1): for c in range(1, b + 1): for k in range(1, n + 1): left = k ** 6 + (c ** 3 + 61 + 77 * c ** 2) ** 3 right = 68 * math.sin(j) ** 4 total += left + right return total" "from math import * def main(b, m, n): sum1 = 0 for j in range(1, n + 1): for i in range(1, m + 1): for c in range(1, b + 1): sum1 += (1 - 46 * pow(j, 2) - pow(i, 3)) / 72 - 41 * pow(c, 4) - pow(c, 6) return sum1" "import math def main(a, x, m, p): ans = 0 for k in range(1, a + 1): ans += math.sin(x) ** 7 + 67 * math.log(k ** 3 + 27, 10) ** 4 + 55 * math.sqrt(k) ** 5 for j in range(1, m + 1): for k in range(1, a + 1): ans += 64 * k - 1 - p ** 2 / 30 - abs(j ** 3) ** 5 - 80 * k ** 6 return ans" "import math def main(b, a): c = 0 d = 1 for k in range(1, a + 1): d = d * 55 * math.log10(k) ** 5 for i in range(1, b + 1): c = c + 51 * math.log10(k) ** 4 - 1 - 63 * (93 - i ** 2 - 50 * k) c = c + d return c" "import math def main(b, y, n, m): x = 0 x2 = 0 x3 = 0 for i in range(1, b + 1): x = x + pow(pow(i, 2) - 0.03 - pow(y, 3), 3) / 37 - 1 - pow(47 + pow(i, 2), 4) for k in range(1, m + 1): for i in range(1, n + 1): for c in range(1, b + 1): x2 = x2 + pow(pow(i, 2) + 60 * c + 3 * pow(i, 3), 5) x3 = x3 + pow(k, 3) return x + (x2 + x3)" "import math def main(m, n): totalp = 1 for c in range(1, n + 1): total = 0 for k in range(1, m + 1): left = (k ** 3 / 9 + 0.02 + c ** 2) ** 7 right = 55 * (33 * k ** 2) ** 4 + 49 total += left + right totalp *= total return totalp" "from math import sqrt def main(m, b, n): (s_one, s_two, s_three) = (0, 0, 0) for i in range(1, n + 1): for j in range(1, b + 1): for k in range(1, m + 1): s_one += (58 * j ** 3) ** 7 + 29 * sqrt(i ** 2 + 32) ** 3 + k ** 5 s_two += s_one s_one = 0 s_three += s_two s_two = 0 return s_three" "import math def main(m, n, b, a): sum1 = 0 sum2 = 0 for j in range(1, m + 1): sum1 += (80 * j ** 3) ** 3 + j ** 5 + 54 for j in range(1, a + 1): for k in range(1, b + 1): for c in range(1, n + 1): sum2 += 34 * j - (1 - 61 * j - c ** 2) ** 6 - (k ** 3 - (c / 42) ** 2) return sum1 - sum2" "import math def main(m, n, z, p): result = 0 for i in range(1, n + 1): for c in range(1, m + 1): result += i ** 6 - 28 * c ** 10 - z ** 7 result2 = 1 for j in range(1, n + 1): result2 *= 38 * pow(math.floor(75 * j ** 2 - 1 - p), 4) return result + result2" "import math def main(a, z, n, m): right = 0 left = 1 for j in range(1, a + 1): left *= 74 * math.log10(j) + 51 * math.sqrt(z) ** 6 for j in range(1, n + 1): for i in range(1, a + 1): for k in range(1, m + 1): right += 74 * (73 * j ** 2 + i) ** 5 + 6 * k ** 7 return left - right" "import math def main(a, b, m): totalp = 1 for k in range(1, m + 1): total = 0 for c in range(1, b + 1): for j in range(1, a + 1): left = 62 * k ** 12 middle = 49 * j ** 2 right = c ** 10 total += left + middle + right totalp *= total return totalp" "import math def main(m, a, b): k = 1 c = 1 j = 1 sum = 0 for k in range(b): k += 1 for c in range(a): c += 1 for j in range(m): j += 1 s = 1 + c ** 6 + 5 * (j ** 3 + 93 * k) sum = sum + s return sum" "def main(m, b, n): (m_one, s_two, s_three) = (1, 0, 0) for c in range(1, n + 1): for i in range(1, b + 1): for k in range(1, m + 1): m_one *= i ** 6 - i ** 5 - (30 * i ** 3 + 61 * c ** 2 + 49 * k) ** 4 s_two += m_one m_one = 1 s_three += s_two s_two = 0 return s_three" "import math def main(n, b, p, m): total1 = 0 for c in range(1, b + 1): for k in range(1, n + 1): left = 39 * (k - c ** 2) ** 7 right = p ** 4 + p ** 6 total1 += left - right total2 = 0 for k in range(1, n + 1): for j in range(1, b + 1): for i in range(1, m + 1): left = 81 * j ** 4 right = 1 - i / 9 - 8 * k ** 3 total2 += left - right return total1 - total2" "from math import log def main(m, n, b, y): res1 = 0 for i in range(1, m + 1): res1 += 99 * log(i) ** 7 + 52 * i ** 2 + 69 * (22 * i ** 2 + 8 * i) ** 6 res2 = 0 for k in range(1, b + 1): for j in range(1, n + 1): res2 += 94 * log(k ** 2) ** 2 + (51 * j + y ** 2 + 2 * j ** 3) ** 6 + 0.03 return res1 - res2" "import math def main(b, p, x): pol = 0 lop = 0 for i in range(1, b + 1): pol += (p + 38 * i ** 3) ** 7 - 91 * i ** 3 for c in range(1, b + 1): lop += 61 * math.cos(c) ** 6 + 86 * x ** 5 return pol + lop" "def main(n, p, a): sum_1 = 0 sum_2 = 0 for j in range(1, n + 1): sum_1 += (p ** 3 + 51 + j ** 2) ** 5 - 83 - 98 * p for c in range(1, a + 1): sum_2 += c ** 6 / 69 + (c - 32 * c ** 2 - 85 * c ** 3) ** 7 return sum_1 - sum_2" "import math def main(m, p, b): summ = 0 for j in range(1, m + 1): summ += 55 + 16 * math.tan(26 * p) ** 4 + j ** 2 / 32 prod = 1 for c in range(1, b + 1): prod *= 56 * c ** 7 - (26 - 2 * c ** 2 - 31 * c) ** 4 return summ - prod" "def main(a, z, b, n, y): left = 0 right = 0 for c in range(1, a + 1): left += c ** 3 + c + 0.02 - 97 * z ** 5 for j in range(1, n + 1): for i in range(1, b + 1): right += 0.02 - i ** 7 - (79 + 24 * y ** 2 + j / 14) ** 4 return left - right" "from math import * def main(b, n): f = 1 for c in range(1, n + 1): f1 = 0 for k in range(1, b + 1): f1 += 93 * log(k) ** 7 - 1 - (41 * c ** 2 + 72 + k) ** 5 / 49 f *= f1 return f" "import math def main(b, a, m): total1 = 0 total2 = 0 for i in range(1, a + 1): for c in range(1, b + 1): left = (i ** 2 + 61) ** 3 right = c ** 7 total1 += left - right for j in range(1, m + 1): for c in range(1, a + 1): left = 7 * j ** 2 + c ** 9 right = math.log(j) ** 6 / 52 total2 += left + right return total1 - total2" "import math def main(b, a, y): total = 0 for j in range(1, a + 1): for c in range(1, b + 1): one = 43 * y ** 3 two = 42 * j ** 2 three = 10 * c ** 6 four = 14 * j ** 9 total += one - two + three + four return total" "import math def main(n, b): pol = 0 for c in range(1, b + 1): for k in range(1, n + 1): pol += (36 * c + 25 * k ** 2 + 41) ** 2 - k ** 3 - (k + k ** 2 + 4) ** 4 return pol" "import math def main(b, m, x): j = 1 i = 1 sum1 = 0 sum2 = 0 min = 0 for i in range(m): i += 1 for j in range(b): j += 1 sum1 += math.atan(9 * i ** 3 + 89 * j) - (1 + x ** 3) ** 6 j = 1 for j in range(m): j += 1 sum2 += (42 * j) ** 3 - j ** 4 - j ** 6 min = sum1 - sum2 return min" "def main(b, m, n, z): r1 = r2 = 0 for k in range(1, m + 1): for c in range(1, b + 1): r1 += 76 * c ** 7 + 6 * (k ** 2 - k) ** 4 + k ** 6 for j in range(1, b + 1): for i in range(1, n + 1): r2 += 74 * (21 * i ** 2 + z + j ** 3) ** 7 + 17 * z return r1 - r2" "from math import * def main(a, p, b, m): f = 0 for j in range(1, a + 1): f += (1 + 22 * p + 3 * j ** 2) ** 5 / 78 + 37 * atan(p) ** 3 f1 = 0 for i in range(1, a + 1): f2 = 0 for k in range(1, m + 1): f3 = 0 for c in range(1, b + 1): f3 += i - k ** 7 - (64 - 66 * k ** 3 - 4 * c ** 2) ** 5 / 51 f2 += f3 f1 += f2 return f + f1" "import math def main(b, n, m, a): sum1 = 0 for i in range(1, m + 1): for k in range(1, n + 1): for j in range(1, b + 1): sum1 += j ** 4 + k / 38 + i ** 7 sum2 = 0 for k in range(1, m + 1): mult = 1 for c in range(1, a + 1): mult *= 95 * c ** 14 - k - 88 * math.ceil(k) ** 2 sum2 += mult return sum1 - sum2" "import math def main(b, a, y, n, m): pol = 0 kop = 1 for j in range(1, a + 1): for k in range(1, b + 1): kop *= (k / 56 - j ** 2 - 79 * y ** 3) ** 6 pol += kop kop = 1 fop = 0 rop = 1 ans = 0 for i in range(1, m + 1): for c in range(1, a + 1): for j in range(1, n + 1): fop += math.ceil(c ** 3 + i ** 2 + 30 * c) ** 3 - 55 * j ** 2 ans += fop fop = 0 rop *= ans ans = 0 return pol - rop" "import math def main(a, n, p): f = 0 for i in range(1, n + 1): for j in range(1, a + 1): f += 43 * math.cos(0.01 + 75 * i ** 3) ** 7 - (j ** 3 - p) - 54 * j ** 2 return f" "def main(a, b): sum = 0 for i in range(1, b + 1): for j in range(1, a + 1): z = j ** 3 x = 95 * i ** 2 c = i ** 3 v = c / 84 n = x + v + i m = n ** 5 g = z + m sum += g return sum" "from math import tan, floor def main(b, a, n, x): f = 0 for k in range(1, n + 1): for c in range(1, a + 1): for i in range(1, b + 1): f += tan(82 * x ** 2 + k + 81 * i ** 3) ** 4 - floor(c) ** 3 return f" "import math def main(a, b, n): result = 0 for j in range(1, n + 1): for k in range(1, b + 1): for c in range(1, a + 1): result += 56 * (c + k ** 3) ** 7 - k ** 3 - j return result" "import math def main(n, p, b, m, y): s = 0 for i in range(1, n + 1): s += 80 * (7 * p ** 3 - 77 * p ** 2 - 9 * i) ** 3 + 85 p = 1 for c in range(1, m + 1): s1 = 0 for j in range(1, b + 1): s1 += math.sin(63 * j ** 2 - 82 * y) ** 4 - 35 * (37 * j ** 2) ** 5 - c ** 6 p *= s1 return s + p" "import math def main(b, a, m, n): total = 0 for c in range(1, a + 1): for k in range(1, b + 1): left = math.ceil(57 * k ** 3) ** 4 + (k ** 2 - 94 * c ** 3) ** 5 total += left for j in range(1, n + 1): for k in range(1, m + 1): right = 6 * j ** 2 + 79 + 55 * k ** 5 total += right return total" "from math import * def main(b, x, a, m, n): f = 0 for c in range(1, b + 1): f += 32 * x ** 4 + 4 * fabs(c) ** 7 + c ** 3 f1 = 1 for i in range(1, n + 1): f2 = 0 for j in range(1, m + 1): f3 = 0 for c in range(1, a + 1): f3 += 79 * (88 * i ** 3 - j - i ** 2) ** 6 - acos(x) ** 3 - atan(c) f2 += f3 f1 *= f2 return f - f1" "import math def main(m, a, b, p): x = 0.0 for j in range(1, b + 1): for i in range(1, a + 1): for k in range(1, m + 1): x += i ** 6 + 16 * j + 76 + 11 * math.log(42 - p ** 3 / 73 - k ** 2) ** 3 return x" "def main(a, m, n): f = 0 for k in range(1, n + 1): for i in range(1, m + 1): for c in range(1, a + 1): f += k ** 2 / 96 - 55 * (29 * i ** 3 - k ** 2 - 58) ** 4 - c ** 7 return f" "import math def main(n, a, x, b): res1 = 0 for i in range(1, a + 1): for k in range(1, n + 1): res1 += 48 * math.exp(11 - x ** 3) ** 2 + k ** 7 + math.atan(i) res2 = 0 for c in range(1, a + 1): for k in range(1, b + 1): res2 += (c / 7) ** 6 - 33 * math.log(k, 2) ** 3 - 87 * (c ** 2 - k ** 3) ** 7 return res1 - res2" "import math def main(n, a, m, y): sum1 = 0 for c in range(1, n + 1): sum1 += 52 - 3 * c - c ** 9 powsum = 1 for i in range(1, m + 1): sum2 = 0 for c in range(1, a + 1): sum2 += y ** 3 + c + 19 * c ** 2 + (98 * i ** 3) ** 2 powsum *= sum2 return sum1 + powsum" "import math def main(b, n): summa1 = 0 for k in range(1, n + 1): for j in range(1, b + 1): x = 82 * j ** 6 - (14 * j) ** 4 - k ** 3 summa1 += x product = 1 for k in range(1, n + 1): for i in range(1, b + 1): y = k ** 2 - 0.01 - 73 * i - 55 * k ** 4 product *= y r = summa1 + product return r" "def main(b, m, x, n): res1 = 0 for i in range(1, m + 1): for k in range(1, b + 1): res1 += x ** 2 - 87 * k ** 7 - (70 * i ** 3) ** 3 res2 = 0 for i in range(1, m + 1): for c in range(1, n + 1): res2 += i ** 2 + c ** 4 + i ** 2 return res1 + res2" "def main(b, a, m, y): f = 0 for c in range(1, m + 1): f1 = 0 for k in range(1, a + 1): f2 = 0 for i in range(1, b + 1): f2 += i ** 7 - k ** 4 - 66 * (y / 40 - 1 - 2 * c ** 3) ** 6 f1 += f2 f += f1 return f" "import math def main(n, a, m): s = 0 for k in range(1, m + 1): for i in range(1, a + 1): for c in range(1, n + 1): s += 25 * math.tan(5 * k) ** 7 - math.ceil(c - i ** 3) ** 3 return s" "import math def main(a, m, n, b): s3 = 0 for i in range(1, a + 1): s1 = i ** 5 + i ** 3 for c in range(1, b + 1): for k in range(1, n + 1): for j in range(1, m + 1): s2 = 18 * math.ceil(j - 25 * c * c - 1) ** 5 - 20 * k ** 4 s3 += s1 + s2 return s3" "import math def main(a, n, m, b): s = 0 t = 0 for k in range(1, a + 1): t += 93 * (31 * k) ** 6 + 0.03 for c in range(1, b + 1): for k in range(1, m + 1): for i in range(1, n + 1): s += i ** 3 + (81 * c ** 2 + 3 + k / 57) ** 2 IT = t - s return IT" "def main(n, a, m): res1 = 0 for j in range(1, m + 1): for c in range(1, a + 1): for k in range(1, n + 1): res1 += k ** 3 + (91 * c ** 2 - j ** 3 / 25) ** 5 / 14 + 22 * k ** 2 return res1" "import math def main(m, b, a): total = 0 for i in range(1, a + 1): for k in range(1, b + 1): for c in range(1, m + 1): left = 36 * math.log10(i) right = 77 * (44 * c ** 2 + 23 * i + 82 * k ** 3) ** 6 total += left + right return total" "import math def main(b, n): d = 0 for i in range(1, b + 1): d = d + (32 * i ** 7 + 20 * math.sin(i) ** 4) d = d - math.sin(i ** 3 + i / 78 + 25 * i ** 2) e = 0 i = 0 for i in range(1, n + 1): e = e + math.sin(i ** 3 + i / 78 + 25 * i ** 2) return d + e" "import math def main(a, y, n, b): pol = 0 for k in range(1, a + 1): pol += 67 * math.cos(y) ** 6 + math.sin(y) + k ** 7 / 39 fop = 0 for k in range(1, b + 1): for j in range(1, a + 1): for i in range(1, n + 1): fop += 66 * j ** 6 + 29 * (k ** 2 - 1 - 73 * i) ** 2 + math.sqrt(y ** 3) ** 4 return pol - fop" "import math def main(n, m, a): res1 = 0 res2 = 1 for c in range(1, m + 1): for i in range(1, n + 1): res1 += 98 * (c ** 3 + 12 * i + 28 * c ** 2) ** 4 + 69 for k in range(1, a + 1): res2 *= k ** 5 + res1 return res2" "import math def main(a, b, m, p): sum1 = 0 for i in range(1, a + 1): sum1 += 6 * i ** 5 sum2 = 0 for k in range(1, m + 1): for c in range(1, b + 1): sum2 += 1 - math.floor(37 * c ** 3 - 39 * k) ** 5 - p ** 3 + 36 return sum1 + sum2" "def main(a, m, p): r = 0.0 for i in range(1, m + 1): for c in range(1, a + 1): r += 82 * (46 * c - i ** 3) ** 6 - 66 * (91 * p) ** 4 - 1826 * p ** 2 return r" "import math def main(n, m, b): s = 0 for c in range(1, n + 1): for j in range(1, m + 1): s = s + math.sin(82 * j ** 3 + 81 + 11 * c) for c in range(1, b + 1): s = s - (80 * (c ** 2 + c ** 3) ** 2 - 45 * math.floor(c)) return s" "def main(n, b, m, z): sum1 = 0 for c in range(1, m + 1): for j in range(1, b + 1): for i in range(1, n + 1): sum1 = sum1 + (33 * c ** 4 + (13 * z ** 2 - j ** 3 / 2 - 96 * i) ** 5) return sum1" "import math def main(b, n, z): result = 0 for k in range(1, n + 1): mul = 1 for j in range(1, b + 1): a = math.ceil(z ** 3 + 38 + 88 * k * k) ** 6 mul *= 5 * math.sin(j) ** 3 - 36 * a result += mul return result" "import math def main(b, a, m): sum1 = 0 for c in range(1, b + 1): sum1 += 40 * math.log(42 * c) ** 7 mul1 = 1 for k in range(1, m + 1): sum2 = 0 for c in range(1, b + 1): sum3 = 0 for j in range(1, a + 1): sum3 += k ** 7 + 69 * abs(55 - 35 * c ** 3) + j ** 4 sum2 += sum3 mul1 *= sum2 return sum1 - mul1" "import math def main(n, x, m, a, p): s1 = 0 for k in range(1, n + 1): s1 += math.exp(3 * x ** 2 + x) ** 5 + k ** 3 s2 = 0 for i in range(1, a + 1): for c in range(1, n + 1): for k in range(1, m + 1): s2 += i + 64 * (i ** 3 - k - 16 * c ** 2) ** 2 + 94 * math.sin(p) ** 5 return s1 + s2" "def math(y, c, j, k): return 66 * (63 * y - 81 * c ** 2) ** 4 + j ** 3 + y ** 3 / 59 + k ** 2 def main(n, b, a, y): sum_j = 0 for j in range(1, a + 1): sum_k = 1 for k in range(1, b + 1): sum_c = 0 for c in range(1, n + 1): sum_c += math(y, c, j, k) sum_k += sum_c sum_j += sum_k return sum_j" "import math def main(a, b): sum1 = 0 for k in range(1, b + 1): for i in range(1, a + 1): sum1 += 65 * (53 * i ** 2) ** 2 + 67 * math.cos(k ** 2) ** 6 + 58 * i ** 5 return sum1" "import math def main(a, n, m): s = 0 for k in range(1, m + 1): for j in range(1, n + 1): for c in range(1, a + 1): s += math.atan(59 * j + 62 * c ** 3) + k ** 3 return s" "def main(n, m, b): (res1, res2) = (1, 0) for i in range(1, m + 1): temp = 0 for k in range(1, n + 1): temp += i ** 5 + 96 * (16 + 47 * k ** 2) ** 6 res1 *= temp for j in range(1, n + 1): for k in range(1, b + 1): res2 += (33 + 86 * j + 93 * k ** 3) ** 3 return res1 - res2" "from math import cos def main(b, m, n): res1 = 1 for i in range(1, n + 1): res = 0 for k in range(1, m + 1): for j in range(1, b + 1): res += cos(80 * i ** 2 + 78 * j + k ** 3) - j ** 7 - 1 res1 *= res return res1" "import math def main(b, n, p, a, y): total = 0 for c in range(1, n + 1): for i in range(1, b + 1): total += 92 * (p - i ** 3 / 40) ** 5 + 46 * c + 1 for i in range(1, b + 1): for k in range(1, a + 1): for j in range(1, n + 1): left = 76 * (y / 76) ** 7 middle = 65 * math.atan(j) ** 6 right = (38 * i ** 2 - 39 * k ** 3) ** 2 total += left + right + middle return total" "import math def main(b, x, m, n): p1 = 0 for k in range(1, b + 1): p1 += x ** 2 - 24 * (k ** 2 - 1 - 90 * x ** 3) ** 7 p2 = 0 for c in range(1, b + 1): for j in range(1, n + 1): p3 = 1 for i in range(1, m + 1): p3 *= 78 * abs(c) ** 5 + (4 * c ** 2 - 31 * i ** 3 - j) ** 2 p2 += p3 ptotal = p1 - p2 return ptotal" "import math def main(b, n, p): i = 1 k = 1 sum = 0 while i <= n: while k <= b: sum += i ** 7 / 36 + (k * k / 93 + 1 + k) ** 5 + 43 * p ** 4 k += 1 i += 1 k = 1 return sum" "import math def main(m, p, n, x): res1 = 0 res2 = 0 for i in range(1, m + 1): res1 += 55 * (7 * p + 12 * i ** 3 + 58 * p ** 2) + 0.01 for k in range(1, n + 1): for j in range(1, m + 1): ue = 78 * math.floor(j) ** 4 + k ** 5 + 82 * math.atan(1 - k - 72 * x ** 3) res2 += ue result = res1 - res2 return result" "from math import * def main(b, a): s = [] u = [] for k in range(1, b + 1): x = k ** 3 + cos(k) ** 5 s.append(x) for k in range(1, a + 1): y = (19 * k ** 2 - 66 * k ** 3 - 7 * k) ** 3 + 1 + k ** 4 u.append(y) return sum(s) - sum(u)" "def main(a, n, m): result = 0 for c in range(1, m + 1): s = 0 for k in range(1, n + 1): p = 1 for i in range(1, a + 1): p += 8 * (40 - 29 * i ** 2 - c ** 3) ** 3 - k ** 2 - k s += p result += s return result" "def main(b, m, n, a, y): result = 0 for j in range(1, b + 1): result += (1 - 17 * j ** 2 - j) ** 4 - 6 - (6 * j ** 2) ** 3 for k in range(1, a + 1): for i in range(1, n + 1): p = 1 for c in range(1, m + 1): p *= (i - k ** 2 - 1) ** 3 + 63 * (c ** 2 + k + 68) ** 2 + y result += p return result" "import math def main(b, m, n): var1 = 0 var2 = 0 for c in range(1, m + 1): for k in range(1, b + 1): var1 += 2 * pow(k, 5) - pow(math.log(c), 3) / 90 for j in range(1, m + 1): for c in range(1, n + 1): var2 += pow(c, 4) - pow(j, 3) return var1 - var2" "def main(b, a, m): r = 0.0 for c in range(1, m + 1): for i in range(1, a + 1): for j in range(1, b + 1): r += abs(i) ** 2 + (17 * j ** 2) ** 6 + 75 * c ** 3 return r" "import math def main(b, n): total = 0 for j in range(1, n + 1): for c in range(1, b + 1): left = 20 * c + 42 * c ** 3 + j ** 2 right = -(32 * math.cos(c) ** 6) - c ** 2 total += left + right return total" "import math def main(n, b): s1 = 0 for c in range(1, b + 1): s2 = 0 for k in range(1, n + 1): s2 += 1 + 64 * (k ** 3 / 35 - c ** 2 / 54) s1 += s2 s3 = 0 for j in range(1, n + 1): s3 += j ** 2 - j ** 3 - j ** 4 / 16 return s1 + s3" "import math def main(m, b, p): r = 0 for i in range(1, b + 1): for j in range(1, m + 1): r += math.exp(i) ** 4 - 52 * p ** 5 - 54 * (p ** 2 - 84 * j ** 3) return r" "import math def main(b, a, m): f = 0.0 r = 0.0 for k in range(1, b + 1): f += math.log2(k ** 2) - k ** 6 for c in range(1, m + 1): for k in range(1, a + 1): r += k ** 3 / 81 - 87 * (9 * c ** 3 - 1) ** 6 res = f - r return res" "def main(a, m): s1 = 0 s2 = 0 for j in range(1, a + 1): s1 = s1 + j ** 7 for j in range(1, m + 1): s2 = s2 + (8 * (97 * j ** 3 - 85 * j ** 2) ** 7 + j ** 5) return s1 - s2" "import math def main(m, b): pol = 0 for k in range(1, m + 1): pol += 1 - 63 * k ** 5 fop = 0 for c in range(1, b + 1): fop += 63 * (c ** 3 + 0.07) ** 3 - c ** 5 return pol - fop" "from math import log def main(a, y, b): res1 = 0 for k in range(1, a + 1): res1 += 87 - 66 * (78 * k ** 2 - k ** 3 - 1) ** 4 - 89 * y res2 = 0 for k in range(1, a + 1): for i in range(1, b + 1): res2 += log(i ** 3 + 20 * k) ** 5 / 10 return res1 - res2" "def main(m, b, a): res = 1 for c in range(1, a + 1): temp = 0 for k in range(1, b + 1): for i in range(1, m + 1): temp += (k ** 3 + k ** 2) ** 5 + 76 * (k ** 2 - i ** 3) ** 2 + c ** 6 res *= temp return res" "import math def main(m, a): fop = 0 for i in range(1, a + 1): for j in range(1, m + 1): fop += 26 * math.atan(j ** 3) ** 6 - (0.04 - i) ** 7 / 9 - i ** 3 return fop" "import math def main(a, b, n, p): s = 0 t = 0 for c in range(1, b + 1): for j in range(1, a + 1): s += 64 * (50 * c ** 3 + 43 * c + j ** 2) ** 3 for i in range(1, n + 1): t += math.sqrt(i ** 3 / 15 + 1) ** 5 +p ** 6 / 68 + 67 * i return s - t" "def main(m, n, b, a): result1 = 0 result2 = 0 for i in range(1, n + 1): for j in range(1, m + 1): result1 += pow(i * i - j * j * j - 0.03, 6) - 29 for i in range(1, a + 1): for k in range(1, b + 1): for c in range(1, n + 1): result2 += pow(k, 3) - pow(i, 7) - pow(pow(c, 3) / 34 + i * i, 2) return result1 - result2" "import math def main(n, y, m): s = 0 t = 1 for i in range(1, n + 1): a = math.sqrt(50 + 74 * i ** 2 + 21 * y ** 3) ** 7 b = math.log(26 * y ** 2) ** 6 / 45 AB = a - b s += AB for c in range(1, m + 1): t *= 99 * c ** 6 - c ** 2 - y ** 4 suf = s - t return suf" "def main(n, a, m): res = 0 for i in range(1, m + 1): for c in range(1, a + 1): for k in range(1, n + 1): res = res + 92 * pow(k, 7) + pow(88 * pow(i, 2), 2) + 78 * pow(c, 4) return res" "from math import cos, floor def math_left(j, i): return (j ** 2 + 0.04 + 11 * i) ** 2 - j ** 5 def math_right(c, j, i): return 10 * c ** 4 - 84 * floor(j) ** 7 - 96 * cos(84 * i ** 3) ** 6 def main(m, a, b): sum_i = 0 for i in range(1, a + 1): sum_j = 0 for j in range(1, m + 1): sum_j += math_left(j, i) sum_i += sum_j sum_i1 = 0 for i in range(1, a + 1): sum_j = 0 for j in range(1, m + 1): sum_c = 0 for c in range(1, b + 1): sum_c += math_right(c, j, i) sum_j += sum_c sum_i1 += sum_j return sum_i - sum_i1" "import math def main(m, a, p, n, z): total = 0 for i in range(1, a + 1): for k in range(1, m + 1): total += p ** 2 + 70 * (k + 69 * i ** 3) for j in range(1, n + 1): for i in range(1, m + 1): for k in range(1, a + 1): left = math.log(k, 2) ** 4 right = 96 * (z ** 2 + i + 58 * j ** 3) ** 5 middle = 19 * z ** 7 total += left + right + middle return total" "import math def main(n, b, z): s = 0 a = 1 for j in range(1, b + 1): for c in range(1, n + 1): a *= 66 * j ** 3 + 39 * (51 * c) ** 7 +math.ceil(j + 30 * z ** 3 + 1) ** 6 s += a a = 1 return s" "import math def main(m, n, b, y): s = 0 a = 1 t = 1 for k in range(1, b + 1): for c in range(1, n + 1): for j in range(1, m + 1): s += c ** 6 + 8 * (j ** 3 + 10 * y ** 2 + k) ** 4 a *= s s = 0 t *= a a = 1 return t" "def main(b, z, a): res1 = 0 for k in range(1, b + 1): res1 += z ** 3 - 71 * z ** 4 - 8 * (z - k ** 2 - k ** 3 / 32) res2 = 0 for c in range(1, a + 1): res2 += (34 * z) ** 4 / 77 - 31 * (z + z ** 2 / 13 + 34 * c ** 3) ** 5 return res1 - res2" "from math import cos, tan def main(b, n, a, p): res1 = 0 for c in range(1, a + 1): for k in range(1, n + 1): for i in range(1, b + 1): res1 += cos(i) ** 7 - 80 * (p ** 2 + p ** 3 + k) ** 3 - 88 * tan(c) return res1"