First 2 test cases not passing

What is the problem?

Change the dimension of your array to 20000001. Answer for the test case 2 is greater than the maximum size you have taken.