All test cases not passing

why are only 2 of my testcases passing,please help


instead of declaring the a, b array of size 100, since the constraints are large make them of size n1 , & n2