Back to General discussions forum
my program is run upto range of double. i.e. position 81 and number is 37889062373143906. But input is too large so how to manage the program... please solve this problem.
I doing program in java.
Some people who solved this with java used BigInteger. However, it can be solved without using that; just think how you'd do it using paper and pencil.