e92ed128d2
(Finally) solves problem 26 of PRoject Euler.
...
Thanks to an upvote on Stack Overflow :)
2012-10-16 19:29:39 +02:00
a7e681e0af
Solves problem 46. Commuting is awesome
2012-05-25 18:38:20 +02:00
julien Lengrand-Lambert
e761bc0df0
Small commit for Masterbranch
2012-05-07 13:32:31 +02:00
julien Lengrand-Lambert
5d94287f1b
Solves problem 33 of Project Euler.
...
Ugly but result comes in an instant, so . . .
2012-05-03 18:56:37 +02:00
julien Lengrand-Lambert
a48b0ea435
Solves problem 38 in less than one second.
...
Code is not that beautiful though.
2012-05-03 12:45:02 +02:00
julien Lengrand-Lambert
677494354e
Solves problem 41.
...
Would really need some decorators to spped up the process and get it
prettier though.
2012-05-02 18:55:30 +02:00
julien Lengrand-Lambert
a173f16dcb
Solves Problem 37 of Project Euler
...
Could be refactored a bit to avoid code redondance.
Uses my list of primes numbers
Performs calculations in less than one minute.
2012-05-02 14:20:07 +02:00
julien Lengrand-Lambert
a00fe0fab3
Solves Problem 33 (coin change). Adds some new problems
2012-05-02 09:05:08 +02:00
julien Lengrand-Lambert
f09f83e0a4
Finally solves problem 35. Problem of . . . definition .
2012-05-01 22:03:10 +02:00
Julien Lengrand-Lambert
200d812bc4
Solving problem 35. Bug to be found
2012-04-30 00:32:46 +02:00
unknown
a5fb54a2c5
Small update, removes clear email
...
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-03-23 15:52:29 +01:00
Julien Lengrand-Lambert
abfecf027d
On my way to problem 31!
...
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-03-04 01:03:22 +01:00
Julien Lengrand-Lambert
f1b1a93006
On my way to problem 31!
...
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-03-01 21:54:05 +01:00
Julien Lengrand-Lambert
74e8477389
Prepares problem 97
...
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-02-29 15:15:49 +01:00
Julien Lengrand-Lambert
691187f50a
Problem 3 more efficient.
...
Downloaded some new stuff on primes.
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-02-22 23:49:15 +01:00
Julien Lengrand-Lambert
98d0e588d8
Problem 3 more efficient.
...
Downloaded some new stuff on primes.
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-02-21 20:40:57 +01:00
Julien Lengrand-Lambert
6caa5feb23
Solves Problem 32. Opens the path to pandigital problems !
...
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-02-20 22:26:00 +01:00
Julien Lengrand-Lambert
1fdf9883b8
Solve a new problem.
...
Prepares some others.
More than 35 problem solved !
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-02-20 16:17:10 +01:00
Julien Lengrand-Lambert
f16f45ce7b
Adds a profiler to help enhancing problem solving
2012-02-15 15:45:27 +01:00
Julien Lengrand-Lambert
ebc41b633a
Trying to solve problem 39 with a bit more of object handling.
...
Solution is ok, but takes longer to perform.
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-02-10 13:38:35 +01:00
Julien Lengrand-Lambert
6eb94866e1
Solves Problem 39. 1 minute time is reached, but the solution comes up
...
to be very ugly.
I'm sure I can find something better than that !
Still have to perform some good work on prime numbers! (one day . . . )
I begin to lack some primes problems cause of that :s
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-02-10 00:45:20 +01:00
Julien Lengrand-Lambert
581c01b9ac
Solves Problem 28. Easy after all
...
Excellent processing time
Still have to perform some good work on prime numbers!
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-02-08 22:43:23 +01:00
Julien Lengrand-Lambert
a198d3fc49
Prepares next problem
...
Still have to perform some good work on prime numbers!
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-02-08 17:33:14 +01:00
Julien Lengrand-Lambert
648870e04d
Solves problem 34. Average running time, could be optimized with
...
memoization
Still have to perform some good work on prime numbers!
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-02-08 17:30:56 +01:00
Julien Lengrand-Lambert
a85994f38a
Solves problem 30. Good running time
...
Still have to perform some good work on prime numbers!
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-02-08 16:49:39 +01:00
Julien Lengrand-Lambert
a790a6de0e
Solves 4 problems.
...
Eclipse integration for simpler use with Windows.
Still have to perform some good work on prime numbers!
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-02-08 16:48:20 +01:00
Julien Lengrand-Lambert
939811371e
Solves 4 problems.
...
Eclipse integration for simpler use with Windows.
Still have to perform some good work on prime numbers!
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-02-08 14:31:47 +01:00
Julien Lengrand-Lambert
68c2f664cd
Adds files for eclipse integration
...
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-02-07 09:41:30 +01:00
julien Lengrand-Lambert
52a41494f3
Add manual line breaks
2012-02-03 14:42:58 +01:00
Julien Lengrand-Lambert
08549c4a2a
Updates README to include running time.
...
Work on primes to be performed. dump has been created to avoid recalculation each time.
But I 'll spend some time working on sieves.
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-02-03 14:37:46 +01:00
Julien Lengrand-Lambert
5d55ff3f50
Updates README to include running time.
...
Work on primes to be performed. dump has been created to avoid recalculation each time.
But I 'll spend some time working on sieves.
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-02-03 14:33:31 +01:00
Julien Lengrand-Lambert
b478567e70
Starts problem 35
...
Seems like I have a small problem.
I have to make this solution more elegant and efficient. Working on it now
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-02-02 14:03:22 +01:00
Julien Lengrand-Lambert
a35f0a5c3b
Solves Problem 36.
...
Initiates problem 35
First shot was ok.
Problem 35 can be done with some reuse.
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-02-01 22:55:23 +01:00
Julien Lengrand-Lambert
51c55cc459
Solves Problem 27.
...
Simple problem of abs values of primes. . .
Working on problem 36
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-02-01 14:33:24 +01:00
Julien Lengrand-Lambert
ad780118cc
Working on Problem 27.
...
Code is done, but seems that I got the wrong solution :).
Problem 26 is actually though, and was paused for now.
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-02-01 00:48:43 +01:00
Julien Lengrand-Lambert
d30505b12e
Solves Problem 24.
...
Gets all permutations, and choose one of those.
Good solution could be to avoid the list and use an iterator
Problem 26 seems though :s.
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-01-27 12:23:10 +01:00
Julien Lengrand-Lambert
8849860470
Solves Problem 23.
...
First solution came good, but slow.
Could be optimized easily
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-01-26 18:15:26 +01:00
Julien Lengrand-Lambert
d2bae2acd5
Solves Problem 19.
...
Some code coming from the internet has been put in utils.
Solution was not used, but seems more elegant.
Signed-off-by: Julien Lengrand-Lambert <julien@lengrand.fr >
2012-01-26 16:51:42 +01:00
Julien Lengrand-Lambert
c476460b14
Prepares problem 19.
...
Problems 18 and 67 should be completed ! !
2012-01-19 10:13:04 +01:00
Julien Lengrand-Lambert
1a124fea22
Solves problems 18 and 67 with code coming from the internet !
2012-01-19 10:11:44 +01:00
Julien Lengrand-Lambert
1c880bda8c
Continues problem 18.
...
Searches for some data about dijkstra on the web.
Creates the utilities folder in the repo.
2012-01-18 17:19:52 +01:00
Julien Lengrand-Lambert
0020257412
Starts Problem 18. Dijkstra problem now :)
2012-01-17 17:28:07 +01:00
Julien Lengrand-Lambert
391628ad0e
Adds triangle into file for smart load
2012-01-17 14:29:48 +01:00
Julien Lengrand-Lambert
252f13cfb8
Solves problem 17
2012-01-17 14:09:07 +01:00
Julien Lengrand-Lambert
8dac6fea28
Solves Problem 22.
...
Works either on problem 17 or 18.
2012-01-17 11:00:12 +01:00
Julien Lengrand-Lambert
a99806b09e
Starts Problem 22
2012-01-16 17:38:57 +01:00
Julien Lengrand-Lambert
025c58eaa1
Same commit as before. Forgotten to include new files
2012-01-16 17:03:38 +01:00
Julien Lengrand-Lambert
66a8d4abaa
Solves problem 12, 15, 21, 48
...
Searches solution for problem 18
Problem 12 takes like 6 hours to process. Should be enhanced !
2012-01-16 17:01:51 +01:00
Julien Lengrand-Lambert
317cf09e71
Solves problem 14.
...
Prepares problem 12
2012-01-16 10:47:26 +01:00
Julien Lengrand-Lambert
7a5644a847
Solves problem 13
...
Prepares problem 14 (hummm, though one it seems)
2012-01-16 10:25:32 +01:00