1
0
Fork 0
Commit Graph

60 Commits

Author SHA1 Message Date
Pcornat 50398677e8
Removing warning 2023-09-26 23:09:19 +02:00
Pcornat 35ee5c5f46
Adding petgraph library for graphs. 2023-09-26 22:39:07 +02:00
Pcornat 9bd074744b
Adding beginning of problem 8 2023-09-20 21:06:01 +02:00
Pcornat fd7416456b
Remove dbg! 2023-09-20 20:53:35 +02:00
Pcornat 0ee7c433e3
Solved day 7 part 2 2023-09-20 20:53:10 +02:00
Pcornat 9a5252b635
Solved day 7 part 1 2023-09-20 20:52:01 +02:00
Pcornat 3a3f62148b
Solved day 7 part 1 2023-09-20 20:27:39 +02:00
Pcornat b2d66319e3
Adding id_tree and color_eyre.
id_tree is used for arbitrary trees of any number of child per node.
color_eyre is for better error output handling
2023-09-20 19:46:57 +02:00
Pcornat 62bba80378
Prob7 using parser from the same site for solution. 2023-09-20 19:25:11 +02:00
Florent DENEF 17740888b5 Adding prob7, unfinished. 2023-03-02 10:33:47 +01:00
Florent DENEF ce2778a09f Simple reformat 2023-03-02 10:33:35 +01:00
Florent DENEF 58e7eb909e Day 6 part 2 done 2022-12-29 13:55:59 +01:00
Florent DENEF 6a8ea1b392 Day - part 1 done hehehe 2022-12-29 13:55:39 +01:00
Florent DENEF 9a050b663d End of day commit 2022-12-28 16:53:51 +01:00
Florent DENEF 63a4047c30 Using regex but will try to solve the problem without it., 2022-12-27 16:53:33 +01:00
Florent DENEF 9c1a7818b2 Day 6 started 2022-12-27 14:11:29 +01:00
Florent DENEF 2a9e8eab51 Day 5 completed, finally haha 2022-12-27 13:18:52 +01:00
Florent DENEF f2836e45e1 Getting rid of useless printing. 2022-12-27 11:17:16 +01:00
Florent DENEF 02648af3b3 More modular now. 2022-12-27 11:16:50 +01:00
Florent DENEF 3361c4f973 It works ! \o/ 2022-12-27 11:11:38 +01:00
Pcornat 066a5894d3 Update. 2022-12-26 13:52:23 +01:00
Pcornat 6245e1a17c Parser finished. 2022-12-26 00:34:30 +01:00
Pcornat 0408d3e148
End of day commit, nothing works. Will be using a parsing library (nom) 2022-12-11 21:43:38 +01:00
Pcornat 660cca5d23
Finally working \o/ 2022-12-10 12:29:37 +01:00
Florent DENEF 88549528a8 WIP making it work. 2022-12-09 16:15:13 +01:00
Florent DENEF 5117d318ee Changing the line to use the right function. 2022-12-09 16:12:29 +01:00
Florent DENEF e32002c0c5 Commit edited manually. 2022-12-09 16:10:13 +01:00
Pcornat 32744e2ed2
Data for second part, problem 4 2022-12-08 22:11:49 +01:00
Pcornat f9d338c42a
Fixing typo 2022-12-08 22:09:26 +01:00
Pcornat c615d8f16a
Less lines :p 2022-12-08 22:08:30 +01:00
Pcornat befbc009cc
4th problem part 1 done ! 2022-12-08 22:08:01 +01:00
Pcornat 83c16d7fb7
Personnal profile (release) 2022-12-08 22:07:50 +01:00
Pcornat aee8ae9a4f
getting rid of useless file 2022-12-08 22:07:36 +01:00
Pcornat 0b28444120
init for prob4 part 1 2022-12-06 22:31:22 +01:00
Pcornat c95ef5ebdb
Useless variable. 2022-12-05 22:37:35 +01:00
Pcornat 4f5c029583
Part 2 solved and working :D 2022-12-05 22:37:05 +01:00
Pcornat 1610660749
"Modular" approach 2022-12-05 22:04:14 +01:00
Pcornat 157b334b14
Having an or to pleas a troll/friend :p 2022-12-05 21:58:25 +01:00
Pcornat 5661ba3f2f
Right answer ! 2022-12-05 21:55:28 +01:00
Pcornat f4d2d3bf24
Almost done haha 2022-12-05 20:23:57 +01:00
Pcornat 10b594e479
Better visibility for functions and enum. 2022-12-04 21:05:22 +01:00
Pcornat 29956ee857
Better output for each problem. 2022-12-04 21:03:48 +01:00
Pcornat da873ef463
Working great ! :D 2022-12-04 20:59:06 +01:00
Pcornat f9ca1c15f0
Changing inputs. 2022-12-04 20:50:08 +01:00
Pcornat 2551a5fa4c More rust-ish way of doing things. 2022-12-04 13:27:27 +01:00
Florent DENEF 07b0bf7558 Using the solver for the part 1 form the second problem 2022-12-02 16:43:29 +01:00
Florent DENEF 5aa28c2b07 The thing is working (forced to use a variable for the conversion with
into()).
2022-12-02 16:43:02 +01:00
Florent DENEF a490b2a72f Better panic message. 2022-12-02 16:42:46 +01:00
Florent DENEF 0d7097dbf8 WAiting for approval of this function. 2022-12-02 16:06:00 +01:00
Florent DENEF c90d69fdb9 Finished programming a round. 2022-12-02 16:04:40 +01:00