Not working for 2 test cases

hi @dalvimangesh000,
it says sum of digits of factors not sum of factors
to correct --> everytime u get a factor sum all its digits dont directly add

here’ the corrected code https://ide.codingblocks.com/s/660390

1 Like