Project euler solutions
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
JD Cantrell 98190625e7
Add a make clean rule
hace 13 años
.gitignore Update ignores for program files hace 14 años
Makefile Add a make clean rule hace 13 años
README Added answers for problem 15 (in readme) and problem 16 hace 13 años
big_int.c Correct multiplication of two digit numbers in big_int hace 13 años
big_int.h Correct multiplication of two digit numbers in big_int hace 13 años
euler1.c Convert clang, also clean up warnings hace 13 años
euler2.c Convert clang, also clean up warnings hace 13 años
euler3.c Convert clang, also clean up warnings hace 13 años
euler4.c Convert clang, also clean up warnings hace 13 años
euler5.c Convert clang, also clean up warnings hace 13 años
euler6.c Convert clang, also clean up warnings hace 13 años
euler7.c Convert clang, also clean up warnings hace 13 años
euler8.c Convert clang, also clean up warnings hace 13 años
euler9.c Convert clang, also clean up warnings hace 13 años
euler10.c Add solution to problem 10, also re-learned max/min integer representation hace 14 años
euler11.c Add solution for problem 11 hace 14 años
euler12.c Added temporary answer for problem 12 hace 14 años
euler13.c Added solution to problem 13 hace 14 años
euler14.c Answer for problem 14 hace 13 años
euler16.c Convert clang, also clean up warnings hace 13 años
euler17.c Convert clang, also clean up warnings hace 13 años
euler18.c Updated problem 18 with a final solution, will add triangle for problem 67, since this solution should work for much larger triangles (runs on O(n**2) time) hace 13 años
euler19.c Convert clang, also clean up warnings hace 13 años
euler20.c Added solution to problem 20, very straight forward once large numbers are handled correctly hace 13 años
euler21.c Added solution for problem 21 hace 13 años
euler67.c Problem 67 is similar to problem 18, and also tests problem 18's solution on a larger data set hace 13 años

README

These programs were written on a 64-bit machine, and at this point in time

have no concern about being 32-bit or cross platform compatible.

To compile a solution:

gcc euler1.c -lm

Often times after solving a solution I will implement the discussed solution
just to see how it differsi with mine and to get a little bit of muscle
memory in case I see the problem again in some other situation.

Problem 15: is simple (2n choose n) for an n by n grid