Skip to content
rlucioniPublic

About

Solutions to Project Euler problems

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

35 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

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

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages