getting run time error
code:https://ide.codingblocks.com/s/124845
Divisible subarrays
Hi @Faizan-Ali-1395131367301898, the code is working. However there is no need of factorial in it. Can you provide me the testcase where it is giving you runtime error ? And if you are using using factorial, pls see the constraints then you might realise your mistake.