My code gets accepted for 10^6 but while creating array of 10^7 it is showing segementation fault…
Why i' getting segmentation fault while creating bool array of size 10^7?
Generally Online ide’s dont support arrays of size more than 10^6 . 10^7 is a huge value.