The constraints given in a question is as follows:
Constraints: 1<=T<=10^3, 1<=N<=10^7 0 <= Ai <= 10^18
Here T is the number of test cases, N is the number of elements in an array and Ai is the ith element in the array.
I want to declare something like:
int ar[100000000]
to satisfy the constraints but, it is not possible. Please help me.