This website requires JavaScript.
1aa6120838
Easy one tussendoor met hulp van Miekster
Philippe Zwietering
2021-05-15 00:23:57 +02:00
1879be093d
Started on 061, did a lot of stuff that was really really slow, now try to use bit masking
Philippe Zwietering
2021-04-29 21:53:12 +02:00
dff7d5b48e
Merge branch 'master' of ssh://git.pzwietering.nl:55555/flip/project-euler
Philippe Zwietering
2021-04-26 19:07:47 +02:00
4821130440
Added 061 to cmake
Philippe Zwietering
2021-04-26 19:07:44 +02:00
5e43dee9cc
Forgot to commit solution of 59, copied from internet
Philippe Zwietering
2021-04-26 00:10:41 +02:00
85574d755f
Merge branch 'master' of ssh://git.pzwietering.nl:55555/flip/project-euler
Philippe Zwietering
2021-04-26 00:06:51 +02:00
57f6869306
Added all warnings to cmake
Philippe Zwietering
2021-04-26 00:06:45 +02:00
462b7138a0
Added std to cout because vscode was a lil' bitch
Philippe Zwietering
2021-04-20 23:23:56 +02:00
bfb2a5fe85
Found the five pairwise concatative prime number
Philippe Zwietering
2021-04-20 23:08:20 +02:00
d4a063ef64
Started on 060
Philippe Zwietering
2021-04-19 16:14:58 +02:00
0b15db7b92
Well that truly cost me some grey hairs
Philippe Zwietering
2021-04-19 00:55:03 +02:00
4d657b5506
work in progress
Philippe Zwietering
2021-04-17 21:49:11 +02:00
a92e4b6429
Added cmakelists and changed externals file structure
Philippe Zwietering
2021-04-16 17:57:58 +02:00
197b3eea8a
Renamed all folders
Philippe Zwietering
2021-04-16 16:58:48 +02:00
dbc6cfef05
From now on programming in C++, no Python cheats anymore
Philippe Zwietering
2021-04-16 16:54:43 +02:00
17d591c658
For some reason the execution time is very variable, also I learned that sympy isprime exists
Philippe Zwietering
2021-04-11 02:14:57 +02:00
fd9f4b7a49
Had it run 10 times too many integers woops, but still easy to solve
Philippe Zwietering
2021-04-10 00:48:31 +02:00
fbfce7984e
Brute forcing all day
Philippe Zwietering
2021-04-09 16:16:42 +02:00
f5aaf8e36a
Not that hard, just a loopty loop and keep track of which ones you did already
Philippe Zwietering
2021-04-08 18:11:54 +02:00
6661d47747
I wouldn't call it hard, it was just a metric shitton of work to get all cases handled correctly
Philippe Zwietering
2021-04-08 16:09:20 +02:00
c712043c4c
Gotta love these easy ones
Philippe Zwietering
2021-04-06 10:19:08 +02:00
cc10f8f4e0
52 was so easy that at first I thought my code was bugged
Philippe Zwietering
2021-04-06 01:56:27 +02:00
a4d31debeb
Strictly speaking this algorithm has an O(n^2) part in it, but it runs under a second so...
Philippe Zwietering
2021-04-06 01:16:05 +02:00
3f1859d923
Testing gitea migration to privately owned server
Philippe Zwietering
2021-03-28 03:12:48 +02:00
a4363d2e24
Added 51 description and first observrations
Philippe Zwietering
2021-03-25 00:10:00 +01:00
906fa69004
Misinterpreted that questin multiple times, finally just did an exhaustive search
Philippe Zwietering
2021-03-12 01:11:59 +01:00
9bb3ada0ba
Tricky one, but quick code
Philippe Zwietering
2021-03-06 18:43:50 +01:00
1eaf67e3f0
Remember that 0^0 is not 0, or at least not implemented as such (what it truly is is a mystery)
Philippe Zwietering
2021-03-06 17:51:52 +01:00
df64e1015d
Quite a slow solution for 47, but it works
Philippe Zwietering
2021-03-06 01:32:47 +01:00
f7ee0fca41
Finished 46 with quite a quick algorithm
Philippe Zwietering
2021-03-06 00:57:36 +01:00
731aecfad3
45 really easy once you can quickly verify pentagonal numbers
Philippe Zwietering
2021-03-02 00:03:01 +01:00
ead9f6e82d
Not even that slow of a solution for 44
Philippe Zwietering
2021-03-01 23:45:01 +01:00
ac3557e3f2
43 done, not too bad
Philippe Zwietering
2021-02-27 23:34:17 +01:00
126ed459a0
42 was too easy, can't be the answer to everything
Philippe Zwietering
2021-02-27 22:46:09 +01:00
01c47248bf
Oof I feel ashamed by having written this code, 41
Philippe Zwietering
2021-02-26 01:43:39 +01:00
de82029eef
Basically just indexing, god python is easy
Philippe Zwietering
2021-02-26 01:02:00 +01:00
0b13772d44
Finished the pythagorean triangle circumferences
Philippe Zwietering
2021-02-26 00:52:25 +01:00
136d9e8bd2
Found highest pandigital concat product
Philippe Zwietering
2021-02-26 00:22:50 +01:00
8eab5128a1
Dumb solution is quick enough so me do dumb solution
Philippe Zwietering
2021-02-25 23:37:52 +01:00
2726c2d2ca
Finished 36, was really easy
Philippe Zwietering
2021-02-23 16:33:00 +01:00
5f9bb74434
Started on 36
Philippe Zwietering
2021-02-23 16:29:38 +01:00
07c5ae99ee
35 done, slow but it works
Philippe Zwietering
2021-02-22 21:35:25 +01:00
61edc6a92a
34 done, that was way too easy haha
Philippe Zwietering
2021-02-22 21:04:13 +01:00
110d4faf40
Manually edit end result to simplified fraction
Philippe Zwietering
2021-02-22 20:51:32 +01:00
faa921d824
Merge branch 'master' of ssh://git.v1a.nl:2280/philippe/project-euler
Philippe Zwietering
2021-02-13 21:59:43 +01:00
5a84dcd95d
Solved the pandigits, tried to do it way more complicated than necessary at first
Philippe Zwietering
2021-02-13 20:14:10 +01:00
71792dcf06
Added vs code to gitignore
Philippe Zwietering
2021-02-13 15:08:32 +01:00
fe6c079f8a
Standard coin change algorithm
Philippe Zwietering
2020-11-09 00:35:30 +01:00
46a3f5ae4a
Easy bruteforce solution
Philippe Zwietering
2020-11-08 23:28:22 +01:00
605831c4f5
Very easy to do in Python
Philippe Zwietering
2020-11-08 22:54:08 +01:00
da71c9def7
That one was easy
Philippe Zwietering
2020-11-08 22:45:13 +01:00
0e365c99eb
Ok so this solution is supersuperslow but it worked
Philippe Zwietering
2020-11-08 22:09:34 +01:00
ef8cfc2d4a
Finally finished 26, think I did it good enough
Philippe Zwietering
2020-11-08 01:57:52 +01:00
b4c8909835
Added python file for 26, thinking about approach
Philippe Zwietering
2020-04-17 13:12:57 +02:00
6708bd6865
First 25 done. I still feel dirty for using Python
Philippe Zwietering
2020-04-14 21:14:18 +02:00
da55a33218
Really fast solution, not bruteforce
Philippe Zwietering
2020-04-14 18:36:37 +02:00
02dea31c31
Finished 23, pretty darn slow and ugly solution
Philippe Zwietering
2020-04-14 00:37:45 +02:00
e52795b032
Added base to prevent me from typing
Philippe Zwietering
2020-04-13 22:18:04 +02:00
22b8b934f4
Next time inspect target file better
Philippe Zwietering
2020-04-13 22:16:09 +02:00
7383ed6bdf
Work in progress, sort doesn't work on strings?
Philippe Zwietering
2020-04-12 14:39:45 +02:00
80a586037c
Python is frustratingly weird with equality checks
Philippe Zwietering
2020-04-12 01:09:31 +02:00
9741297006
Forgot problem description
Philippe Zwietering
2020-04-11 23:08:54 +02:00
770455a168
These kinda things are fairly straightforward in Python
Philippe Zwietering
2020-04-11 23:05:55 +02:00
8800c2030d
Was lazy, used datetime library for this
Philippe Zwietering
2020-04-11 22:56:17 +02:00
6422ce19ae
Finished with a divide and conquer approach, max sum is 1074
Philippe Zwietering
2020-04-11 22:38:23 +02:00
411690914c
More descriptive problem description
Philippe Zwietering
2020-04-09 03:10:47 +02:00
c5c7fb93c1
Added just problem description for now
Philippe Zwietering
2020-04-09 03:09:00 +02:00
dd7990462b
I learned that 18 is spelled as eighteen
Philippe Zwietering
2020-04-09 03:02:24 +02:00
61f7d81e19
Forgot to add problem description
Philippe Zwietering
2020-04-09 02:39:45 +02:00
44322645d0
Easy problem, 1366
Philippe Zwietering
2020-04-09 02:26:01 +02:00
cb444f8946
Finally finished, learned how not init nested array
Philippe Zwietering
2020-04-09 02:14:55 +02:00
5c638b32a7
Work in progress, 15 doesn't work like intended
Philippe Zwietering
2020-04-07 11:41:01 +02:00
73d0d4ff36
Found the longest Collatz chain: 837799
Philippe Zwietering
2020-04-05 15:36:53 +02:00
50cb74e20d
This was probably the easiest problem so far, Python is just cheating
Philippe Zwietering
2020-04-05 14:48:53 +02:00
c7ad4142ed
Finished 11, always remember there are 2 diagonals
Philippe Zwietering
2020-03-31 15:33:02 +02:00
8262d4dad2
Finished 10, finally learned to write a proper friggin sieve
Philippe Zwietering
2020-03-31 00:49:32 +02:00
03bb8d283f
Finished 9, easy brute force solution
Philippe Zwietering
2020-03-31 00:46:27 +02:00
5e7d81e847
Merge branch 'master' of ssh://git.v1a.nl:2280/philippe/project-euler
Philippe Zwietering
2020-03-30 21:55:09 +02:00
85647e6032
Initial commit
Philippe Zwietering
2020-03-30 21:49:44 +02:00
756e261dc2
Found the biggest, 23514624000
Philippe Zwietering
2020-03-30 21:38:44 +02:00
e517826f90
Finished 7
Philippe Zwietering
2020-03-29 04:03:01 +02:00
4ad00182b2
Technically was a bug in 3
Philippe Zwietering
2020-03-29 04:02:44 +02:00
73044d95e1
6 was rather easy, answer 25164150
Philippe Zwietering
2020-03-28 18:57:32 +01:00
90e96cfeb4
Finished 5, rather ugly, but answer is 232792560
Philippe Zwietering
2020-03-28 18:51:09 +01:00
35ec7de216
Finished 4, palindrome was 906609
Philippe Zwietering
2020-03-28 18:19:36 +01:00
212632463c
Found the biggest factor: 6857
Philippe Zwietering
2020-03-28 17:27:52 +01:00
d6d94b3866
Finished problem 2: sum of even fibonacci numbers
Philippe Zwietering
2020-03-28 03:30:48 +01:00
fafebcde78
Added problem description for future reference
Philippe Zwietering
2020-03-28 03:30:25 +01:00
2a0b0f1ca0
Started on project Euler, finished ass 1 in the most ugly way
Philippe Zwietering
2020-03-28 03:09:13 +01:00