Getting seg fault on submission


#1

I am getting seg fault for the following test case:
A : 2
B : [ 1 ]
It works fine in the custom input though. I am not using any global variables.