Skip to content

rlucioni/euler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Euler

My solutions to Project Euler problems. Requires Python 3.5.

From the root directory, solutions can be run as follows:

$ python3
>>> from euler.solutions.solution_1 import sum_multiples
>>> sum_multiples(10, 3, 5)
23

This repository includes a utility which can be used to time the execution of a function. Use it as follows (continuing from above):

>>> from euler.utils import timed_execution
>>> timed_execution(sum_multiples, 10, 3, 5)
Solution: 23
Seconds to execute 1000 times: 0.00796254602028057

About

Solutions to Project Euler problems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages