question is to find the no of subarrays devisible by n where n is the size of the array
hello @tAkshat
use long long here and dont print ans in line no 38.
print ans outside the loop