Segmentation Fault

I can see that your submission was accepted.
So mark the doubt as resolved if it is so.

No, @pratyush63, segmentation fault is occurring while submission

You are making an integer array of size > 10^5. This is causing segmentation fault.
The maximum size integer array you can make withing the main of of order 10^5.

Didn’t work :frowning:
Still getting segmentation fault

Share your updated code.


It is the same link