Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
You don't need to prevent "scientific notation". Scientific notation is just... notation. Why would it matter what kind notation is used? Notation has no impact on calculations (not in this kata, at least).
What you have to avoid though is overflow. The "scientific notation" you observed is a symptom of the fact that your numbers overflow MAX_INT at some point and turn into imprecise floatign point numbers. Large FP numbers are represented with scientific notation, so what you observe is just a visible symptom of the fact that your calculations overflow and your numbers lose precision. Find a way to get the answer without overflowing, keep calculations precise, and you will be good.
*e+20
is not your problem, but30!
is.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Not a kata issue.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution