Stedd
|
106403e2be
|
tos
|
2024-12-03 23:28:00 +01:00 |
Stedd
|
705053959f
|
tos
|
2024-12-03 23:24:07 +01:00 |
Stedd
|
a6fb39f168
|
spaghetti
|
2024-12-02 23:53:45 +01:00 |
Stedd
|
c74be75bbe
|
refactored safety check. correct answer on p1
|
2024-12-02 23:43:48 +01:00 |
Stedd
|
9e34e3e4bb
|
cleaned up. restarting. getting the correct answer on part 1
|
2024-12-02 23:11:25 +01:00 |
Stedd
|
a342582f69
|
not working. this was harder than expected
|
2024-12-02 23:08:08 +01:00 |
Stedd
|
ac17bdf12e
|
moved the edge cases to the top
|
2024-12-02 23:07:45 +01:00 |
Stedd
|
1231d99316
|
it's not enough to always correct to remove the previous number.
|
2024-12-02 22:04:04 +01:00 |
Stedd
|
5f5728a6a5
|
changed to the task test set
|
2024-12-02 19:37:28 +01:00 |
Stedd
|
d152641c23
|
added safe report checks
|
2024-12-02 19:17:25 +01:00 |
Stedd
|
72503af66b
|
added day02 file
|
2024-12-02 18:07:29 +01:00 |
Stedd
|
120a39fb6e
|
added day02
|
2024-12-02 18:04:39 +01:00 |
Stedd
|
3099893da1
|
removed unused line
|
2024-12-01 17:57:55 +01:00 |
Stedd
|
e74ca62d02
|
combined part 1 and 2
|
2024-12-01 17:39:49 +01:00 |
Stedd
|
de3c5f9f08
|
edited performance printout
|
2024-12-01 17:29:20 +01:00 |
Stedd
|
6a23fa268e
|
Small gain in performance from reserving space
I don't want to hardcode the number of lines in the input file.
|
2024-12-01 17:29:02 +01:00 |
Stedd
|
3d44c7c416
|
Using the filestream to run the parser loop directly
Also removed col2 variable and calculating occurrence_map during parsing.
|
2024-12-01 17:28:18 +01:00 |
Stedd
|
89318eaf4c
|
added stress testing
|
2024-12-01 16:52:23 +01:00 |
Stedd
|
ba00e02c3a
|
The if is not actually needed, I redundantly created the standard behaviour of unordered_map
|
2024-12-01 16:37:06 +01:00 |
Stedd
|
095ddd091e
|
mapped occurrence of each number in column 2
|
2024-12-01 15:22:23 +01:00 |
Stedd
|
7955a35fc2
|
corrected input in part 1
|
2024-12-01 15:00:25 +01:00 |
Stedd
|
b6a7ce896a
|
added part 2 info
|
2024-12-01 14:59:55 +01:00 |
Stedd
|
e778c916b6
|
restructured for part 2
|
2024-12-01 14:59:32 +01:00 |
Stedd
|
f435e9b5a6
|
first attempt at the solution
|
2024-12-01 13:47:11 +01:00 |
Stedd
|
1034cd5c94
|
need to use absolute value to get the correct distance between the IDs
|
2024-12-01 13:46:54 +01:00 |
Stedd
|
67664a16de
|
lists cant be accessed by index in c++
|
2024-12-01 13:46:25 +01:00 |
Stedd
|
370370585e
|
Added the last functionality to calculate the answer
|
2024-12-01 13:38:57 +01:00 |
Stedd
|
da436272dc
|
able to read the input and split input into two strings
|
2024-12-01 13:19:04 +01:00 |
Stedd
|
acaa1d78be
|
added task info
|
2024-12-01 12:49:55 +01:00 |
Stedd
|
a054e515b2
|
added timer
|
2024-12-01 12:37:18 +01:00 |
Stedd
|
35fd159bab
|
removed include
|
2024-12-01 12:16:44 +01:00 |
Stedd
|
436e02c1d8
|
since Run() is static, day01 can be called directly instead of being instantiated
|
2024-12-01 12:16:30 +01:00 |
Stedd
|
5fd685cc55
|
first run structure
|
2024-12-01 12:09:27 +01:00 |
Stedd
|
e0d65521c0
|
added day 1
|
2024-12-01 12:00:35 +01:00 |
Stedd
|
d2007f41da
|
initial commit
|
2024-12-01 11:40:05 +01:00 |