Skip to content

chupsondev/aoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code

This repository contains my solutions to whatever AoC puzzles I wanted and was able to solve.

Templates

The templates that I use for my solutions

Rust

use std::fs;

mod part1 {
    pub fn solve(input: &str) -> i32 {
        todo!()
    }
}

fn main() {
    let input = fs::read_to_string("./input").unwrap();
    println!("Part 1: {}", part1::solve(&input));
}

#[cfg(test)]
mod pt1_tests {
    use super::*;

    #[test]
    fn example() {}
}

Releases

No releases published

Packages

No packages published

Languages