Project Euler is a website dedicated to a series of computational problems intended to be solved with computer programs. Problems are of varying difficulty but each is solvable in less than a minute using an efficient algorithm on a modestly powered computer.
- Instal Xcode
- To run gcc without GUI, type in terminal 'xcode-select --install'
- Compile your program: 'gcc program.c'
- Type './a.out'
- Instal RubyInstaller
- Launch program named "Start Command Prompt with Ruby"
- Type "ruby program.rb"
- Instal GCC using MinGW
- Go to My Computer/Properties/Advanced System Settings/Environment Variable
- Go to the System Variable, find 'path' then double click on it
- Add 'C:\MinGW\bin' at the end
- In the Command Prompt, compile your program: 'gcc program.c'
- Type 'a.exe'
- Multiples of 3 and 5
- Even Fibonacci numbers
- Largest prime factor
- Largest palindrome product
- Smallest multiple
- Sum square difference
- 10001st prime
- Largest product in a series
- Special Pythagorean triplet
- Summation of primes
- Largest product in a grid
- Highly divisible triangular number
- Large sum
- Longest Collatz sequence
- Lattice paths
- Power digit sum