Skip to content

movery/Project-Euler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Euler Build Status

Solutions written in Python using version 2.7.

INSTALLATION

Simply navigate to the 'Project-Euler' directory and enter

sudo python setup.py install

USAGE

Enter 'pe' followed by the problems you would like the solutions to (delimited by whitespace).

 $ pe 10 20 90
-----------------------------------------
 Attempting to solve Problem 10
 142913828922 found in 8.132522 seconds
-----------------------------------------
 Attempting to solve Problem 20
 648 found in 0.103 seconds
-----------------------------------------
 Attempting to solve Problem 90
 Problem 90 has not been solved yet
-----------------------------------------

SOURCE CODE

/src/main.py contains the script which takes the user's number input and attempts solve the corresponding problem.

/src/problems.py contains the solutions to each of the Project Euler problems.

/src/tools.py contains commonly used functions for use in problems.py

/resources/* contains text data to be used in /src/problems.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages