Simple Enough Runtime Error

I am getting runtime error for the following code…Where can I improvise in this? What approach should I have when I encounter a run-time error in future?

URL: https://ide.codingblocks.com/s/110612

@Saurabh-Kumar-1331476656958199 Please have a look at this…

array or vector size cannot be declared more than 10^7 in main and not more than 10^8 globally.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.