Getting only test case 1 wrong

que - divisible subarrays

Hello @Akdas,

The calculation you are doing can result into a value greater than the range of int.
product of int and int will result into int.
So, rather use long long.

Corrected code:

Hope,this would help.