File tree Expand file tree Collapse file tree 4 files changed +26
-0
lines changed
Expand file tree Collapse file tree 4 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 9191| [ Day 2: I Was Told There Would Be No Math] ( src/solutions/year2015/day02.rs ) | ⭐⭐ | 0.074 | 0.105 |
9292| [ Day 3: Perfectly Spherical Houses in a Vacuum] ( src/solutions/year2015/day03.rs ) | ⭐⭐ | 0.358 | 0.373 |
9393| [ Day 4: The Ideal Stocking Stuffer] ( src/solutions/year2015/day04.rs ) | ⭐⭐ | 66.769 | 1931.428 |
94+ | [ Day 5: Doesn't He Have Intern-Elves For This?] ( src/solutions/year2015/day05.rs ) | | - | - |
9495
9596# TODO
9697
Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ pub fn solution(puzzle_day: PuzzleDay) -> Box<dyn Solution> {
8989 2 => Box :: new ( year2015:: day02:: Day02 ) ,
9090 3 => Box :: new ( year2015:: day03:: Day03 ) ,
9191 4 => Box :: new ( year2015:: day04:: Day04 ) ,
92+ 5 => Box :: new ( year2015:: day05:: Day05 ) ,
9293 _ => panic ! ( "Day not exist" ) ,
9394 } ,
9495 }
Original file line number Diff line number Diff line change 1+ use crate :: solutions:: Solution ;
2+
3+ pub struct Day05 ;
4+
5+ impl Solution for Day05 {
6+ fn part_one ( & self , _input : & str ) -> String {
7+ String :: from ( "0" )
8+ }
9+
10+ fn part_two ( & self , _input : & str ) -> String {
11+ String :: from ( "0" )
12+ }
13+ }
14+
15+ #[ cfg( test) ]
16+ mod tests {
17+ use super :: * ;
18+
19+ #[ test]
20+ fn part_one_example_test ( ) {
21+ assert_eq ! ( "0" , Day05 . part_one( "" ) ) ;
22+ }
23+ }
Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ pub mod day01;
22pub mod day02;
33pub mod day03;
44pub mod day04;
5+ pub mod day05;
You can’t perform that action at this time.
0 commit comments