Project Euler 944 Sum of Elevisors
Project Euler 944 Sum of Elevisors
Official link: https://projecteuler.net/problem=944
Note: I had to use pypy to reduce the run time from ~170s to ~10s
Official link: https://projecteuler.net/problem=944
Note: I had to use pypy to reduce the run time from ~170s to ~10s
This problem uses a commonly known Project Euler trick (usually called the sqrt trick), which I've used in many other problems.
Input an integer (yourinput)
Code will output S(yourinput)