I m using Python 2.7 Steven wrote: " Scale your numbers from time to time, to avoid them getting too big " What does this mean?
inp refers to the sample input test case I have given at first.Its a string containing two numbers, The program has to handle large numbers till 10**18 and also has to execute considerably fast (within 16 CPU time). Using xrange() causes the OveflowError,Whereas using range() causes too many items Is writing my own generator only solution? Or is there another way in which i can generate big numbers and in considerably fast manner?
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor