not able to get a 1000000 size array
not able to declare array of size 1000000 after using long long int pl. check my code give correct result for 100000 size array https://ide.codingblocks.com/s/260026
Not able to get a 1000000 size array
Create a global array out global vector and then resize it. In local functions you can create only arrays of size less than our equal to 10^5
still getting the same problem pl. tell me another solution or edit the code accordingly
You can initialize the size of array in global scope. You can update the code and if it doesn’t work send me the updated code.
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.