Skip to content

Instantly share code, notes, and snippets.

@StCatfish
StCatfish / day3.rs
Created December 3, 2025 19:28
adventofcode 2025 day 3 pt 1,2
pub fn main() {
let day = 3;
let example_file = format!("example{}.txt", day);
let input_file = format!("day{}.txt", day);
part1(&example_file);
part1(&input_file);
part2(&example_file);
part2(&input_file);
@StCatfish
StCatfish / day3.rs
Created December 3, 2025 19:06
adventofcode 2025 day 3 pt 1
use std::u32;
pub fn main() {
let day = 3;
let example_file = format!("example{}.txt", day);
let input_file = format!("day{}.txt", day);
part1(&example_file);
part1(&input_file);