Why test case is failing

hello @ayushwahi3005
a) use long long for both the array and function return type

b)
image

here it should test case number instead of n.

thanku the issue was testcase number