Showing run time error in testcase 2


showing runtime error in test case 2

I have edited the code… You are only required to change the size of array upto 1000000., Rest code is fine… Try to submit it now…