Skip to content

lnx/adventofcode2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2022

https://adventofcode.com/2022/about

Template

use std::fs;

fn puzzle1(_input: &str) -> u32 {
    0
}

fn puzzle2(_input: &str) -> u32 {
    0
}

#[cfg(test)]
mod tests {
    use crate::*;

    const INPUT: &'static str = "";

    #[test]
    fn test_puzzle1() {
        assert_eq!(puzzle1(&INPUT), 0);
    }

    #[test]
    fn test_puzzle2() {
        assert_eq!(puzzle2(&INPUT), 0);
    }
}

fn main() {
    let input = fs::read_to_string("input.txt").unwrap();
    println!("puzzle1:{:?}", puzzle1(&input));
    println!("puzzle2:{:?}", puzzle2(&input));
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages