mirror of
https://github.com/Baipyrus/AoC-23.git
synced 2024-11-15 02:03:49 +00:00
prepare expanding
This commit is contained in:
parent
c06faa97ff
commit
d0f0a31d14
@ -10,6 +10,7 @@ pub fn part_one() {
|
|||||||
let input = setup();
|
let input = setup();
|
||||||
|
|
||||||
let mut galaxies = extract(input);
|
let mut galaxies = extract(input);
|
||||||
|
expand(&mut galaxies);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn extract(symbols: Vec<Vec<String>>) -> Vec<Galaxy> {
|
fn extract(symbols: Vec<Vec<String>>) -> Vec<Galaxy> {
|
||||||
@ -25,6 +26,11 @@ fn extract(symbols: Vec<Vec<String>>) -> Vec<Galaxy> {
|
|||||||
galaxies
|
galaxies
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
fn expand(galaxies: &mut Vec<Galaxy>) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
struct Galaxy {
|
struct Galaxy {
|
||||||
x: usize,
|
x: usize,
|
||||||
y: usize,
|
y: usize,
|
||||||
|
Loading…
Reference in New Issue
Block a user