Run -error in 2 test cases

please check the code and what is run error?

increase the size of bool array to 100000001.
it would cover all values.