Divisible subarrays

For what test cases my code is getting failed?

Helo @yath17,

Please share your code.