DIVISIBLE SUBARRAY - not able to pass test case #3


however, the same code is working fine on leetcode


See the corrected code. I have just changed int to long long due to the overflow error.

1 Like