however, the same code is working fine on leetcode
DIVISIBLE SUBARRAY - not able to pass test case #3
See the corrected code. I have just changed int to long long due to the overflow error.
1 Like
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.