Add days 11, 12

This commit is contained in:
2021-02-07 18:20:34 +11:00
parent 263bbbb5a2
commit 5fdb3c5a37
213 changed files with 1731 additions and 58 deletions

View File

@@ -0,0 +1,14 @@
use rain_risk::*;
#[test]
fn test_step1() {
let input = "F10\nN3\nF7\nR90\nF11";
assert_eq!(step1(input), 25);
}
#[test]
fn test_step2() {
let input = "F10\nN3\nF7\nR90\nF11";
assert_eq!(step2(input), 286);
}