|
|
back to boardPython big numbers print(int((((8*int(input())+1)**.5)-1)/2)) why the fuck doesnt it work???? i got wa6, who can help me with tests? Re: Python big numbers Posted by Noob 24 Oct 2014 14:25 Do you know how floating-point numbers work? Re: Python big numbers Posted by Noob 24 Oct 2014 14:27 Hint: use binary search Edited by author 24.10.2014 14:27 Re: Python big numbers 10^600 gives "OverflowError: int too large to convert to float" :) Re: Python big numbers You can use Python library "decimal" |
|
|