All testcase not passing in Divisible Subarray

Here is the link to my solution https://ide.codingblocks.com/s/65303

1 testcase is not passing and i am not able to understand why.

Check constraint |ai|<=10^9
and you are using int .
int is less than 10^9.
You need to use long long int in place of int.
https://ide.codingblocks.com/s/65321

Hit like if u get it. :slight_smile: