You absolutly no need to calcul a factorial for get the trailing zero in the result of a factorial. It is just a mathematic problem where only sum and power and division is required.
I like your solution to show the maze with Strings. I was thinking about something similar, but didnt found any good signs to show the different walls of a field.
I'm a bit confused. I'm not meant to calculate the factorial. So I need to get the trailing zeros of the factorial (that I'm not meant to calculate) by some kind of mathematical stunt? Every solution I have would calculate the factorial in some way, to get the trailing zeros.
You absolutly no need to calcul a factorial for get the trailing zero in the result of a factorial. It is just a mathematic problem where only sum and power and division is required.
Yeah had to dig into some old school symbols to make debugging the mazes easier
I like your solution to show the maze with Strings. I was thinking about something similar, but didnt found any good signs to show the different walls of a field.
This comment is hidden because it contains spoiler information about the solution
I'm a bit confused. I'm not meant to calculate the factorial. So I need to get the trailing zeros of the factorial (that I'm not meant to calculate) by some kind of mathematical stunt? Every solution I have would calculate the factorial in some way, to get the trailing zeros.