it is divisible subarrays problem
@Rajan_42 you were not handling the case when cf[i] is negative, I’ve commented your mistakes