python translation kumited
This comment is hidden because it contains spoiler information about the solution
Needs random tests(?)
The result is saturated once n reaches 13 anyway, so there's no point in giving an input range as big as n<=1000.
n
13
n<=1000
You did not provide any actual formula how to calculate the next iteration.
The equation provided is inadequate, and it leaves to people to guess what the actual formula is.
Loading collection data...
python translation kumited
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Needs random tests(?)
The result is saturated once
n
reaches13
anyway, so there's no point in giving an input range as big asn<=1000
.You did not provide any actual formula how to calculate the next iteration.
The equation provided is inadequate, and it leaves to people to guess what the actual formula is.