my testcase 0 was running but testcase 1 failed so i want to know the inputs of the second testcase
2nd Test case inputs?
hello @aditikandhway
check maximum value of n and declare ur array size greater than that.
or
declare ur array like this
int n;
cin>>n;
int arr[n];