my sol : https://ide.codingblocks.com/s/268337
can u pls tell me where my code is going wrong and whether my approach is correct or not
according to me above code should run fine !
my sol : https://ide.codingblocks.com/s/268337
can u pls tell me where my code is going wrong and whether my approach is correct or not
according to me above code should run fine !
@saarthakseth
there are few mistakes in your code. I am pointing out them
but it is given in the ques that B > 1 ,i.e B can’t be = 1
so the list of divisors shouldn’t contain 1
can u pls explain why did u make those changes and how the changes will effect the code ??