Commit graph

71 commits

Author SHA1 Message Date
b56f368d3c Problem 045
git-svn-id: file:///srv/svn/euler@71 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-05-05 04:45:16 +00:00
29cdc8556a Making the best hand creator a generator function, adding some chinese
poker logic.


git-svn-id: file:///srv/svn/euler@70 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-05-05 04:16:57 +00:00
3b11a2d0b9 Problem 052
git-svn-id: file:///srv/svn/euler@69 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-05-05 00:30:55 +00:00
bd19185828 Problem 042
git-svn-id: file:///srv/svn/euler@68 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-05-04 20:33:22 +00:00
8ab85e4082 Problem 040
git-svn-id: file:///srv/svn/euler@67 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-05-04 20:13:50 +00:00
54dedd8f7f CLI loader for the Project Euler excercises
git-svn-id: file:///srv/svn/euler@66 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-05-04 19:26:53 +00:00
bfa89ab07c Doc cleanup
git-svn-id: file:///srv/svn/euler@65 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-05-04 19:26:16 +00:00
672eb30f3e Created main() function in e019, missed it in the last commit.
git-svn-id: file:///srv/svn/euler@64 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-05-04 18:41:33 +00:00
12c5dd7875 Documented each exercise, and placed executable code in a main() function.
git-svn-id: file:///srv/svn/euler@63 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-05-04 18:21:07 +00:00
43e37f6dad Problem 035
git-svn-id: file:///srv/svn/euler@62 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-05-04 15:09:43 +00:00
9b40c70b2c Problem 034
git-svn-id: file:///srv/svn/euler@61 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-05-04 13:02:17 +00:00
8bc3076a0d Problem 036
git-svn-id: file:///srv/svn/euler@60 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-05-04 12:54:43 +00:00
793812b67b Problem 029
git-svn-id: file:///srv/svn/euler@59 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-05-03 23:42:56 +00:00
d9b2e17675 Problem 030
git-svn-id: file:///srv/svn/euler@58 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-05-03 23:32:37 +00:00
3807d9f5bf Problem 028
git-svn-id: file:///srv/svn/euler@57 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-05-03 22:40:23 +00:00
fb13b3ce62 Problem 024
git-svn-id: file:///srv/svn/euler@56 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-29 03:25:47 +00:00
0be427137c Problem 048
git-svn-id: file:///srv/svn/euler@55 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-28 17:18:51 +00:00
4faaf8c80a Problem 025
git-svn-id: file:///srv/svn/euler@54 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-28 17:14:57 +00:00
87d2ab997d Problem 023. Very slow, but works. Should look into speeding this up
somehow.


git-svn-id: file:///srv/svn/euler@53 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-28 01:40:51 +00:00
7ab229ba18 Corrected: Values not sorted properly for hands with multiple multiples. Added a
test case to handle it.


git-svn-id: file:///srv/svn/euler@52 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-23 03:55:50 +00:00
ad80b41e06 Corrected high card error for hands < 5 cards. Added discard to Player.
git-svn-id: file:///srv/svn/euler@51 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-23 03:48:36 +00:00
3373f8f1f7 executable code, yay
git-svn-id: file:///srv/svn/euler@50 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-14 21:30:59 +00:00
4b1ce72158 Problem 022
git-svn-id: file:///srv/svn/euler@49 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-14 21:12:07 +00:00
dfa586dc1f Problem 021
git-svn-id: file:///srv/svn/euler@48 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-14 20:58:26 +00:00
8978f31f65 Problem 020
git-svn-id: file:///srv/svn/euler@47 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-14 19:34:18 +00:00
cd6bea96ee Problem 019
git-svn-id: file:///srv/svn/euler@46 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-14 19:19:30 +00:00
da639adddb Problem 067, brought to you by 018
git-svn-id: file:///srv/svn/euler@45 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 21:13:21 +00:00
63982f51a0 Problem 018
git-svn-id: file:///srv/svn/euler@44 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 21:06:47 +00:00
3a59429f26 Directory cleanup
git-svn-id: file:///srv/svn/euler@43 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:59:04 +00:00
7c96dade88 Problem 17
git-svn-id: file:///srv/svn/euler@42 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:53:20 +00:00
d4dd1310ea Problem 016
git-svn-id: file:///srv/svn/euler@41 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:53:20 +00:00
d3dba4b9cd Problem 015
git-svn-id: file:///srv/svn/euler@40 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:53:19 +00:00
e4deb217d1 Problem 014
git-svn-id: file:///srv/svn/euler@39 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:53:18 +00:00
5114433f37 Problem 013
git-svn-id: file:///srv/svn/euler@38 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:53:17 +00:00
cb0cd33bfa Completed problem 012
git-svn-id: file:///srv/svn/euler@37 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:53:16 +00:00
d29322f502 Problem 012, incomplete
git-svn-id: file:///srv/svn/euler@36 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:53:15 +00:00
f151766af6 Wrap executable code so it can be used a library
git-svn-id: file:///srv/svn/euler@35 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:53:14 +00:00
9d98a914f5 Renamed prime factor function
git-svn-id: file:///srv/svn/euler@34 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:53:13 +00:00
0506c81f6e Problem 011
git-svn-id: file:///srv/svn/euler@33 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:53:12 +00:00
8249e88efc Problem 010
git-svn-id: file:///srv/svn/euler@32 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:53:11 +00:00
5bbf86c6c3 Renaming exercise files so functions can be imported into other scripts
git-svn-id: file:///srv/svn/euler@31 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:53:10 +00:00
9e2d5b6101 Optimized prime finding
git-svn-id: file:///srv/svn/euler@30 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:53:09 +00:00
715e24dcf3 For problems that include defined utility functions, only run
excecutable code if they are called directly.

git-svn-id: file:///srv/svn/euler@29 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:53:08 +00:00
eecb37127f Problem 009
git-svn-id: file:///srv/svn/euler@28 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:53:07 +00:00
743dbe3aef Minor optimization to 007
git-svn-id: file:///srv/svn/euler@27 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:53:06 +00:00
6874be8b31 Problem 008
git-svn-id: file:///srv/svn/euler@26 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:53:05 +00:00
44604b08c7 Problem 006
git-svn-id: file:///srv/svn/euler@25 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:53:05 +00:00
daa7b36149 Problem 007
git-svn-id: file:///srv/svn/euler@24 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:53:04 +00:00
82c0ac0672 Problem 005
git-svn-id: file:///srv/svn/euler@23 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:53:03 +00:00
9d96efdaf3 Problem 004
git-svn-id: file:///srv/svn/euler@22 e5f4c3ec-3c0c-11df-b522-21efaa4426b5
2010-04-12 15:53:02 +00:00