Inconsistency between custom test and submit for same values


Comment body goes here.

I’m trying A = 17, B = 77, which is supposed to be: 523419919
I get this value in a custom test, yet when I submit I get a completely different result for the same input.


I am facing the same issue. Did you find the solution to it?


just found the solution. I was using memoization earlier. Without memoization works perfectly fine.