Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from math import ceil
- def main(x):
- res = 0
- n = len(x)
- for i in range(1, n + 1):
- x2 = ceil(i / 2) - 1
- xn = n - i
- res += 63 * (x[x2] ** 3 - x[xn] ** 2 - 67 * x[xn]) ** 4
- return res
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement