2 out of 5 testcases are passed. i don't understand what wrong with my code

it is divisible subarrays problem

@Rajan_42 you were not handling the case when cf[i] is negative,


I’ve commented your mistakes