Skip to content

Instantly share code, notes, and snippets.

@bwinton
Last active December 24, 2021 23:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bwinton/0f61ed0d930363d807431f16cb055b5a to your computer and use it in GitHub Desktop.
Save bwinton/0f61ed0d930363d807431f16cb055b5a to your computer and use it in GitHub Desktop.
//-----------------------------------------------------
// Setup.
use std::collections::HashMap;
fn solve(i: usize, z: i128, levels: Vec<HashMap<i128, Vec<(i128, i128)>>>) -> Option<i64> {
let mut level = levels[i].get(&z).unwrap();
level.sort();
None
}
fn main() {
}
[package]
name = "adventofcode"
version = "0.1.0"
authors = ["Blake Winton <bwinton@latte.ca>"]
edition = "2021"
[profile.release]
debug = true
[[bin]]
name="error"
path="src/error.rs"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment