5243: B3910 [语言月赛 202312] 函数零点(入门)
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:2
Solved:0
Description

Input

Output

Sample Input Copy
5
-2 1 3 -2 1 2
Sample Output Copy
31
HINT
