mirror of
https://github.com/ejeanboris/MDAF.git
synced 2025-05-01 21:02:39 +00:00
6 lines
159 B
Python
6 lines
159 B
Python
def main(args):
|
|
result = 0
|
|
for i,x in enumerate(args[1:-1]):
|
|
result += (x**2)**(args[i+1]**2+1) + (args[i+1]**2)**(x**2 + 1)
|
|
|
|
return result |