Skip to content

wwkong/Project-Euler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Euler

Here is where I put all of the code that I use to solve Project Euler problems. All problems are compiled with the -O flag as well as the -fprof-auto and -rtsopts for alogorithm profiling and advanced statistics respectively. These flags double the runtime of code compiled with just the -O flag.

Programming languages Used

Haskell

Haskell Packages Used

Data.MemoCombinators
Data.Numbers.Primes
Math.Sieve.Phi
Math.NumberTheory.Powers.Cubes
Data.List.Extra

Statistics

Statistics are produced in R using the stringr, ggplot2, and reshape packages and can be found in a folder called "Statistics" in the root directory. Note: INIT = Intialization time, MUT = Mutator time (time spent running the program), GC = Garbage collecting time, EXIT = Exit time

Problems to be re-visited

All problems have now been optimized to run under 5 seconds!

About

Project Euler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published