Getting TLE in len(A)*len(B) ? Try bool instead of int!


#1

Comment body goes here.