Two cousins, two brains, one mechanical engineer, one chemist. We are Project Huler!
Here you'll find some code to solve problems posed on the fun mathematics website Project Euler. We code in Python, R, C, and C#. We're always looking to improve our craft. For those who don't want their Project Euler experience spoiled, we'd suggest you not look further in the repository.
Python code can be simply run on the command line by typing
$> python <filename>.py
C code will need to be compiled before it can be run. Try
$> gcc -std=c99 <filename>.c
$> ./a.out
To run R code:
- Install and launch R at http://cran.r-project.org/
- Open *.R file with console
- Place cursor in the editing window (not R Console)
- From top menu: Edit -> Run All
- Outputs should now be printed inside the R Console window