[KnowIt] 2020/04 - Add completed solution
[KnowIt] 2020/03 - Add incomplete solution (missing diagonals)
This commit is contained in:
parent
9a6ef8225b
commit
0cb5a45aa2
16
.editorconfig
Normal file
16
.editorconfig
Normal file
@ -0,0 +1,16 @@
|
||||
# http://editorconfig.org
|
||||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[*.txt]
|
||||
insert_final_newline = false
|
55
AdventOfCode/2020/03/README.md
Normal file
55
AdventOfCode/2020/03/README.md
Normal file
@ -0,0 +1,55 @@
|
||||
## --- Day 3: Toboggan Trajectory ---
|
||||
|
||||
With the toboggan login problems resolved, you set off toward the airport. While travel by toboggan might be easy, it's certainly not safe: there's <span title="It looks like the toboggan steering system even runs on Intcode! Good thing you don't have to modify it.">very minimal steering</span> and the area is covered in trees. You'll need to see which angles will take you near the fewest trees.
|
||||
|
||||
Due to the local geology, trees in this area only grow on exact integer coordinates in a grid. You make a map (your puzzle input) of the open squares (`.`) and trees (`#`) you can see. For example:
|
||||
|
||||
..##.......
|
||||
#...#...#..
|
||||
.#....#..#.
|
||||
..#.#...#.#
|
||||
.#...##..#.
|
||||
..#.##.....
|
||||
.#.#.#....#
|
||||
.#........#
|
||||
#.##...#...
|
||||
#...##....#
|
||||
.#..#...#.#
|
||||
|
||||
These aren't the only trees, though; due to something you read about once involving arboreal genetics and biome stability, the same pattern repeats to the right many times:
|
||||
|
||||
..##.........##.........##.........##.........##.........##....... --->
|
||||
#...#...#..#...#...#..#...#...#..#...#...#..#...#...#..#...#...#..
|
||||
.#....#..#..#....#..#..#....#..#..#....#..#..#....#..#..#....#..#.
|
||||
..#.#...#.#..#.#...#.#..#.#...#.#..#.#...#.#..#.#...#.#..#.#...#.#
|
||||
.#...##..#..#...##..#..#...##..#..#...##..#..#...##..#..#...##..#.
|
||||
..#.##.......#.##.......#.##.......#.##.......#.##.......#.##..... --->
|
||||
.#.#.#....#.#.#.#....#.#.#.#....#.#.#.#....#.#.#.#....#.#.#.#....#
|
||||
.#........#.#........#.#........#.#........#.#........#.#........#
|
||||
#.##...#...#.##...#...#.##...#...#.##...#...#.##...#...#.##...#...
|
||||
#...##....##...##....##...##....##...##....##...##....##...##....#
|
||||
.#..#...#.#.#..#...#.#.#..#...#.#.#..#...#.#.#..#...#.#.#..#...#.# --->
|
||||
|
||||
You start on the open square (`.`) in the top-left corner and need to reach the bottom (below the bottom-most row on your map).
|
||||
|
||||
The toboggan can only follow a few specific slopes (you opted for a cheaper model that prefers rational numbers); start by _counting all the trees_ you would encounter for the slope _right 3, down 1_:
|
||||
|
||||
From your starting position at the top-left, check the position that is right 3 and down 1\. Then, check the position that is right 3 and down 1 from there, and so on until you go past the bottom of the map.
|
||||
|
||||
The locations you'd check in the above example are marked here with `_O_` where there was an open square and `_X_` where there was a tree:
|
||||
|
||||
..##.........##.........##.........##.........##.........##....... --->
|
||||
#..O#...#..#...#...#..#...#...#..#...#...#..#...#...#..#...#...#..
|
||||
.#....X..#..#....#..#..#....#..#..#....#..#..#....#..#..#....#..#.
|
||||
..#.#...#O#..#.#...#.#..#.#...#.#..#.#...#.#..#.#...#.#..#.#...#.#
|
||||
.#...##..#..X...##..#..#...##..#..#...##..#..#...##..#..#...##..#.
|
||||
..#.##.......#.X#.......#.##.......#.##.......#.##.......#.##..... --->
|
||||
.#.#.#....#.#.#.#.O..#.#.#.#....#.#.#.#....#.#.#.#....#.#.#.#....#
|
||||
.#........#.#........X.#........#.#........#.#........#.#........#
|
||||
#.##...#...#.##...#...#.X#...#...#.##...#...#.##...#...#.##...#...
|
||||
#...##....##...##....##...#X....##...##....##...##....##...##....#
|
||||
.#..#...#.#.#..#...#.#.#..#...X.#.#..#...#.#.#..#...#.#.#..#...#.# --->
|
||||
|
||||
In this example, traversing the map using this slope would cause you to encounter `_7_` trees.
|
||||
|
||||
Starting at the top-left corner of your map and following a slope of right 3 and down 1, _how many trees would you encounter?_
|
323
AdventOfCode/2020/03/input.txt
Normal file
323
AdventOfCode/2020/03/input.txt
Normal file
@ -0,0 +1,323 @@
|
||||
...#...#..#....#..#...#..##..#.
|
||||
.#..#.....#.#............###...
|
||||
.#...###....#.............##..#
|
||||
...##...##....#.....##..#.##...
|
||||
.....###.#.###..##.#.##.......#
|
||||
#...##.....#..........#..#.#.#.
|
||||
......##.......##..#....#.#....
|
||||
....#.###.##..#.#..##.##....#.#
|
||||
.......#.......###.#.#.##.....#
|
||||
.........#.#....#..........#.#.
|
||||
.#...##.....##.........#..#....
|
||||
.##....#.#.#...##......#.......
|
||||
##.#.#..#....#....#....#...#.#.
|
||||
##....#.#..##......#....##...#.
|
||||
....#..#..##..#.###.......#.#..
|
||||
.....##....###...........#.#.##
|
||||
#.....##.........#....##......#
|
||||
........###.#..#....#....#.....
|
||||
...#.......#.##..#.###......#..
|
||||
...............#..#....#.##....
|
||||
..#..###..#.#..#.........##..#.
|
||||
####..#..####..................
|
||||
#...####...#.......#.#.#...#...
|
||||
......###.....#......#..#..#...
|
||||
#...#.....##.....#.#..##...#.#.
|
||||
#...........##.......#.........
|
||||
.#..#.........#.#..##....#.....
|
||||
........##...#................#
|
||||
........#.###.#.###.#.#.##..##.
|
||||
.#....##.....#...##.#..#.#.....
|
||||
..#..#.....###....##.#....#.#.#
|
||||
#......##.##...##..#.........#.
|
||||
#..#..#.....#.....#.........#..
|
||||
#....#.#...###.........#...#...
|
||||
.#.#.....##......#.#......#....
|
||||
..##......##...#.#.#.#.........
|
||||
..#......#.....##.###.#.#..#...
|
||||
....#..#.......#..#..#.....#...
|
||||
.#.#.....#...#..........#......
|
||||
#.#..#...........#.#.##.#...#.#
|
||||
..#.#....###...#...#.....#.#...
|
||||
....##.#.###....####.......#...
|
||||
.....##....#.......#..#..#....#
|
||||
...##..#.#.#.#......#......#...
|
||||
...##...#....#...#......###...#
|
||||
........#..#.#.....#.###.......
|
||||
..#..##.#....#.#.........#...#.
|
||||
.....#.####....#.##.........#..
|
||||
......#...#...#.....#......###.
|
||||
.##.....#....#..#.#....#.....#.
|
||||
...........#...#....##..#...#..
|
||||
.....#....#.....#...##..#...#.#
|
||||
.#...#.........#.......#...#..#
|
||||
...#..#...#........#......#....
|
||||
..#..#####.#.....#.#....#...#.#
|
||||
...#.......#.#....#...##..#..#.
|
||||
####..#.#.###.#.#..............
|
||||
.##........#...#.#....#..#.....
|
||||
..#..............#.#..##...#.##
|
||||
.###.#.....#.#.....##.#......##
|
||||
....###.....#...#...#.#..#.....
|
||||
....###.#.##.......#....#...#..
|
||||
#..#...#......##..#.....#.#...#
|
||||
....#.#.........#..............
|
||||
#.##.##...#..#.#.#.....#...#.##
|
||||
#...#...#......#...........##..
|
||||
#.#.#......#............#.#....
|
||||
.#.#..######...#.#.........#.##
|
||||
..#.#..#...#......#............
|
||||
....#.....#......##..#.....#...
|
||||
.##............#....##..#......
|
||||
.#.#.#...#.##.............###.#
|
||||
#.#...#...#.....#....#.#.#.....
|
||||
........#..#......##.##.#.....#
|
||||
.....#.....#.#####...#....#....
|
||||
.#...#......#.........#.#......
|
||||
...#...#..##.....##....#..#....
|
||||
....#....##..#.........#.......
|
||||
..#........##..#.#........#....
|
||||
...#...##...........#...#....#.
|
||||
.....##.........#..#....#..#.#.
|
||||
#..#....##..#...##.....#..##.#.
|
||||
..#.#.#.#...#...#.....#.#....#.
|
||||
.......#.###...#.#.......#.#...
|
||||
....#..#..#.###.#.....###..#.#.
|
||||
.#..##......#..#..#....#.####..
|
||||
..##...........#...#.........#.
|
||||
......#..#...#..........#......
|
||||
....#..........#......##...#...
|
||||
....#..#.##........#.#...##.#..
|
||||
#.##......#........##.#...#...#
|
||||
#..#....#.....###........##....
|
||||
...........##.....##..#....#.##
|
||||
..#....#..#..#......#.#.....#..
|
||||
#....#.##....#.....##.......#..
|
||||
.#.....#.#..............#.##..#
|
||||
.#..#..#...#...#....#.#.....#..
|
||||
...###...##.#...#..#........#..
|
||||
#...#.##.#.....#.#....#..#.....
|
||||
#.....###.#.......#.#..#.#..##.
|
||||
....#..#..##.......###.#...#...
|
||||
.#...####...............#.....#
|
||||
.#.##.#.....#.....#.#......##.#
|
||||
#...........#.##....###.##....#
|
||||
...............#..........#....
|
||||
.....#..#.##.###.#.............
|
||||
...##.............#.....#.#..#.
|
||||
....#.#...#.#..#..#..#....#....
|
||||
..#.......#..........#...#...#.
|
||||
...............#.#.#...###....#
|
||||
....#...#.##....#..##....#.....
|
||||
........#.#.##.........##.##.##
|
||||
#.....###.......#.#....#..#..##
|
||||
.#..#...#......#.#..##.......#.
|
||||
#.....#.#........#.##..#..#....
|
||||
.###..##.#.......#......###....
|
||||
.#...###.....#.....#....###...#
|
||||
........##.##......#.#....#...#
|
||||
.#....#..#.........#..##...##..
|
||||
.......#.......##.#..#..##.....
|
||||
#..##..##......#.#......#.##...
|
||||
..#..###..#...#....#..#...#....
|
||||
#.............#.####.........##
|
||||
..#..................#...#..#..
|
||||
..#......#........##.......#.#.
|
||||
.#.#.#.#..###.....#....#.#.....
|
||||
...#.##.###.......#....#.......
|
||||
................##...#.....#...
|
||||
..#.###.#...#.####....#..#..#..
|
||||
..#....###....##..#.#.........#
|
||||
.#..#.#.....#........#....##...
|
||||
.....#..#......#..#..##.#.#....
|
||||
.#..#.........##....##......#..
|
||||
.....#.#...#...#.#...#.#...#.#.
|
||||
..#..#...#...#...##.#..###.....
|
||||
..#..##......#..##.#...##......
|
||||
.......#..##....##.#......#..#.
|
||||
..#......#.#.....#.##....##....
|
||||
..#....#......#......##........
|
||||
....##.#.#....#.......#.##.....
|
||||
#.....#...###....#....#...#....
|
||||
............#.#..#...#...#..#..
|
||||
..##.............##....#.......
|
||||
.#.......#.##.#......#....##...
|
||||
...##............#....#..#...#.
|
||||
.##.####.....#.#..###.#....#.##
|
||||
....##.#........#..#...#.......
|
||||
...#...###.##...........##..#..
|
||||
..##..##....#...#..#..........#
|
||||
..#.........#.#...##..........#
|
||||
.......##....#.#...##.....#..#.
|
||||
.............#.....#.#.......#.
|
||||
#.......#..##..##...##.#.......
|
||||
..............#.....#.#..#...##
|
||||
........##..#.....#...#...#.#..
|
||||
###.#.................#........
|
||||
...#........#...#.#######..#..#
|
||||
...#.##...##.#.#..######...#...
|
||||
#.......#..#....#..#.##.....#..
|
||||
#..#....##....#.##.......#....#
|
||||
#...#..#.#.#...#..#.##..#......
|
||||
....#..##....#..#.#...........#
|
||||
.##..#.#.............###.......
|
||||
#....##......#..#..#.....###...
|
||||
..#..........#...###.#.........
|
||||
.####......#....#......#.#....#
|
||||
..#....#.#.#......#....#.......
|
||||
.....#.....#....#....#####....#
|
||||
.##..........#...#.###....#....
|
||||
....##.....##......#...#.#.....
|
||||
.#...#...#..#.#.#...#####......
|
||||
...#.##..####.##.##.......##...
|
||||
............#.......#..........
|
||||
.#..##.#..#####........#..#...#
|
||||
#......##..##..##.........##...
|
||||
....#....#.............#.#....#
|
||||
###..#.....#.....#.#...#..#.###
|
||||
#...#.......##......#....#.#.#.
|
||||
...#......#..#...#....#...###.#
|
||||
....#....##.......#....#......#
|
||||
............#......##.##.....#.
|
||||
...#.........#......#....##..##
|
||||
.....##....##...#..###...#..#..
|
||||
.......##.#..........#.##.##...
|
||||
....##...........#.#..#..#.##.#
|
||||
#...#..##.##.#....#....#.#.....
|
||||
...##.#.....#..#..#..###....##.
|
||||
#.##.#..#..#.#.............#...
|
||||
..#.#.............###.....#....
|
||||
...#..#....#..#.....#.#..#..#..
|
||||
...#.....##.#...........#..##.#
|
||||
.........#.#.##..#..#.#...#....
|
||||
...#..##..#...#...###.##.#..#..
|
||||
.#..##...##......##..##........
|
||||
......##....##.#.##.#.#........
|
||||
...#..................#.....#..
|
||||
.##................#.#..#..###.
|
||||
.##.##.....#................#..
|
||||
.....#.#..........#...#..#.#..#
|
||||
.............#......#..#.#..#..
|
||||
...#...##..#........#....#.....
|
||||
#......#........##.##...##.....
|
||||
##..#..##....#...#............#
|
||||
..##..##.##....##..##........#.
|
||||
...#....#.#.#.#....#.#...##....
|
||||
....#...##..##.#.##...#..#...#.
|
||||
#..#....##.#.....#.......#...##
|
||||
##.#....#.............#..#.....
|
||||
.##..#..#.#.....#.......#.#..#.
|
||||
.......#..#...##...#...###..#..
|
||||
..........#...#.#..##.....#...#
|
||||
..#....#...........#####....#..
|
||||
#....#..#.......##.............
|
||||
.........##..#####.......##....
|
||||
#..#..........#.....###...#..#.
|
||||
.#.#.#..#...#.......##...#####.
|
||||
.....#....#.###...#.......#....
|
||||
#.#.....##...###....###....#...
|
||||
.#.....#..#.#.#........#...#...
|
||||
.##.#.#.#......#....###....#...
|
||||
.#..##..####......###......#...
|
||||
......#.#.#.#.#...#...####.##..
|
||||
.#........##..#.....#....#....#
|
||||
.....###......##..#....#.......
|
||||
#.#.##...#.#......###..........
|
||||
........#.#...#..#......#....#.
|
||||
..##...##.........#.......#.#..
|
||||
..#.##....#...##.....#.###.....
|
||||
.........#..#.#....#....#.#.##.
|
||||
#.........#......#..#.......#..
|
||||
...#...##.......#.........#....
|
||||
............#......#...........
|
||||
##.....#.....#.#...#.....#.....
|
||||
..#.#...#..#...#.#...........#.
|
||||
#.#.#..#..#...##.#...#.#.....#.
|
||||
.#..###.#..##.#.....#.....#....
|
||||
##....##....#.......##..##.....
|
||||
.#..#...........###..........#.
|
||||
.#..#..#..........###..#.......
|
||||
#..###......#............##...#
|
||||
#......#........#..#..#..#.#...
|
||||
.......#.###...#.##............
|
||||
.##....#.......#.#...##.....#.#
|
||||
....#..#.#.......#.#...........
|
||||
##....#.###.#....#.#..##.#....#
|
||||
..#..#..#....#...#........##...
|
||||
...#...##....#..#.#...#..#.....
|
||||
......#..#......#....#.......#.
|
||||
#.#..............#...###...#..#
|
||||
...#....#..#..........#.#...#..
|
||||
#.....##..##.....#........#....
|
||||
.#...##..#.#..............#....
|
||||
##.#....#..##...#..#.####.#..#.
|
||||
.....#.......#.#.#.#..#.....###
|
||||
...#.##....#.#........##.......
|
||||
#...#.#...#.#..###..##.##...#.#
|
||||
###..............#.#.###.......
|
||||
...###..#.#..#....##...###.#...
|
||||
......##...........#...#..#...#
|
||||
.#..#.........##.......#..#...#
|
||||
.#.......###......##...#...#...
|
||||
.#......##...#........#.......#
|
||||
.#..#.....#.........#.#........
|
||||
#...#.#.....#...#..##.........#
|
||||
......##.#......##.#..##.#.....
|
||||
...............#.#..#....#....#
|
||||
#....#..#..#..#.#.....##...##..
|
||||
#.#......#.###......#..#...####
|
||||
.#.#..#...#...#.#..#.##.##.#.#.
|
||||
.....#.#...###...#.#.....##....
|
||||
...#..#.#..........##.#....#.#.
|
||||
...#..#.#.##.....###.##.#....#.
|
||||
..........#..###......#..#.#...
|
||||
###.....#..###..#...#..###.#...
|
||||
..#..#.....##.#.#..###.......#.
|
||||
....#....##........##..........
|
||||
.......#..........#...#......#.
|
||||
.#........#.#.#.#.#.......#....
|
||||
.#..#.......##..##....#.#...#..
|
||||
.#.#.#.......#..#..............
|
||||
#.#....#.#...#.#.#.....#.#...##
|
||||
.....#..........##..#.......#..
|
||||
.##......#.#....#.#.......#....
|
||||
..#.##....#.##.#...#...........
|
||||
...##......##..##.............#
|
||||
..........##.#.#..#..........#.
|
||||
.##....#..#..#.#....##.#...#.#.
|
||||
...........#....#.....#.#..#...
|
||||
.#.....#....##..#.........#....
|
||||
.....#.....#...#....#...#.###.#
|
||||
..#....#....#.....#...#......#.
|
||||
.....##..#.............#...#...
|
||||
........#..#.......#.#.......#.
|
||||
#...###..#.##.#...###...##..##.
|
||||
....##..#.......#...#.#........
|
||||
.#...#.#.##....####........#..#
|
||||
.#...#.#.####.##.#.............
|
||||
#..##...#....#...#.#.#.#.##..#.
|
||||
.#.......#........#.....###....
|
||||
#.#.....#....#..#....#..#....#.
|
||||
...#..#...#.....#.........##...
|
||||
.#....#......###...#....#.#.#..
|
||||
#.#........#......#...#....##..
|
||||
.....#..#......#..#..#......#..
|
||||
.#.....#..#.##.#.#.#...#......#
|
||||
##........#..#.#..#...#.####...
|
||||
..........##....#.#..#.#....#..
|
||||
#.##..#..#....#..#....##..#.#.#
|
||||
..#......#.......#...##..#.....
|
||||
##...#.........#......#......#.
|
||||
.#.....................#..#.##.
|
||||
.#.......#........#.#.#..##.#..
|
||||
..#..........#........#..##.#..
|
||||
.#...#...#.........##.#.#.#....
|
||||
....#....#.###.#....###....#.##
|
||||
....##......##........##.#.##..
|
||||
....#.#......#.##.#...#.##.....
|
||||
....#....#..#.#..###.#.#.......
|
||||
....#......#..#.#.......#..##..
|
||||
.....#..#.#.##.##..##.....#.#..
|
||||
...#....................##.....
|
||||
#.....#...##...#.#.............
|
||||
..#.#...#.#.#.....##..#....#...
|
2
AdventOfCode/2020/03/tree-count.js
Normal file
2
AdventOfCode/2020/03/tree-count.js
Normal file
@ -0,0 +1,2 @@
|
||||
const { readFile } = require('../../../helpers');
|
||||
const file = readFile('./input.txt').trim();
|
29
KnowItJulekalender/2020/03/README.md
Normal file
29
KnowItJulekalender/2020/03/README.md
Normal file
@ -0,0 +1,29 @@
|
||||
# Ordjakt
|
||||
|
||||
> Av Sverre Johann Bjørke
|
||||
|
||||
Edit: Vi hadde problem med teiknsettet på filene, linkar er no oppdatert.
|
||||
|
||||
I [denne matrisa](https://gist.githubusercontent.com/knowitkodekalender/d277d4f01a9fe10f7c1d92e2d17f1b31/raw/49da54e4372a83f4fc11d7137f19fc8b4c58bda6/matrix.txt) på 1000x1000 teikn har vi gøymd 22 av orda frå [denne lista](https://gist.githubusercontent.com/knowitkodekalender/9e1ba20cd879b0c6d7af4ccfe8a87a19/raw/b19ae9548a33a825e2275d0283986070b9b7a126/wordlist.txt). Orda er gøymd både framlengs og baklengs, i horisontal, vertikal og alle diagonale retningar.
|
||||
|
||||
Kva for tre ord frå lista har vi **ikkje** gøymd i matrisa? Svar i form av ei alfabetisk sortert, kommaseparert liste.
|
||||
|
||||
## Eksempel
|
||||
|
||||
Gitt følgande ordliste `kakao`, `kriminalroman`, `kvikklunch`, `kylling`, `langfredag`, `langrennski`, `palmesøndag`, `påskeegg`, `smågodt`, `solvegg`, `yatzy` og matrisa under blir svaret `palmesøndag,påskeegg,smågodt`
|
||||
|
||||
vlzzrkytiempkxg
|
||||
wkuwuuniimpuzka
|
||||
ufrazcavumtagod
|
||||
ooscwzmvscdngwe
|
||||
lskokdozvxvecer
|
||||
povfkarkkmgoovf
|
||||
vlirgaldqisatsg
|
||||
pvknfgayzgqkcnn
|
||||
iekozvnabdyapva
|
||||
zgllegiizobkyjl
|
||||
lgukatmaltamzba
|
||||
lvnrvdizullcvsx
|
||||
oscponrepvyatzy
|
||||
rbhovtkpfljkihq
|
||||
wjssiksnnergnal
|
81
KnowItJulekalender/2020/03/find-words.js
Normal file
81
KnowItJulekalender/2020/03/find-words.js
Normal file
@ -0,0 +1,81 @@
|
||||
/**
|
||||
* This was started on, but never completed.
|
||||
* me not smart enuff 4 dis :(
|
||||
*
|
||||
* I think the only thing really missing is checking diagonally, maybe?
|
||||
*/
|
||||
const { readFile } = require('../../../helpers');
|
||||
const file = readFile('./test-matrix.txt').trim();
|
||||
|
||||
const words = readFile('./test-wordlist.txt')
|
||||
.trim()
|
||||
.split('\n')
|
||||
.sort();
|
||||
|
||||
const strings = {
|
||||
horizontal: [],
|
||||
horizontalReverse: [],
|
||||
vertical: [],
|
||||
verticalReverse: [],
|
||||
};
|
||||
|
||||
function reverseString(s) {
|
||||
/**
|
||||
* JS does not have a `.reverse()` method for strings
|
||||
* so we split into an array and re-join into a string.
|
||||
*/
|
||||
return s.split('')
|
||||
.reverse()
|
||||
.join('');
|
||||
}
|
||||
|
||||
strings.horizontal = file.split('\n');
|
||||
strings.horizontalReverse = strings.horizontal.map(reverseString);
|
||||
|
||||
/**
|
||||
* Find all "vertical" strings
|
||||
*/
|
||||
for (const strIdx in strings.horizontal)
|
||||
{
|
||||
const str = strings.horizontal[strIdx];
|
||||
|
||||
for (const letterIdx in str)
|
||||
{
|
||||
/**
|
||||
* Make sure the entry is a string so we can string concat.
|
||||
*/
|
||||
if (typeof strings.vertical[letterIdx] !== 'string') {
|
||||
strings.vertical[letterIdx] = '';
|
||||
}
|
||||
|
||||
const letter = str[letterIdx];
|
||||
strings.vertical[letterIdx] += letter;
|
||||
}
|
||||
}
|
||||
|
||||
strings.verticalReverse = strings.vertical.map(reverseString);
|
||||
|
||||
const found = [];
|
||||
for (const type in strings)
|
||||
{
|
||||
const strs = strings[type];
|
||||
console.log(`Checking ${type} strings...`);
|
||||
for (const str of strs)
|
||||
{
|
||||
for (const word of words)
|
||||
{
|
||||
if (!str.includes(word)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (found.includes(word)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
found.push(word);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// const results = words.filter(s => !found.includes(s));
|
||||
// console.log(results);
|
1000
KnowItJulekalender/2020/03/matrix.txt
Normal file
1000
KnowItJulekalender/2020/03/matrix.txt
Normal file
File diff suppressed because it is too large
Load Diff
15
KnowItJulekalender/2020/03/test-matrix.txt
Normal file
15
KnowItJulekalender/2020/03/test-matrix.txt
Normal file
@ -0,0 +1,15 @@
|
||||
vlzzrkytiempkxg
|
||||
wkuwuuniimpuzka
|
||||
ufrazcavumtagod
|
||||
ooscwzmvscdngwe
|
||||
lskokdozvxvecer
|
||||
povfkarkkmgoovf
|
||||
vlirgaldqisatsg
|
||||
pvknfgayzgqkcnn
|
||||
iekozvnabdyapva
|
||||
zgllegiizobkyjl
|
||||
lgukatmaltamzba
|
||||
lvnrvdizullcvsx
|
||||
oscponrepvyatzy
|
||||
rbhovtkpfljkihq
|
||||
wjssiksnnergnal
|
3
KnowItJulekalender/2020/03/test-results.txt
Normal file
3
KnowItJulekalender/2020/03/test-results.txt
Normal file
@ -0,0 +1,3 @@
|
||||
palmesøndag
|
||||
påskeegg
|
||||
smågodt
|
11
KnowItJulekalender/2020/03/test-wordlist.txt
Normal file
11
KnowItJulekalender/2020/03/test-wordlist.txt
Normal file
@ -0,0 +1,11 @@
|
||||
kakao
|
||||
kriminalroman
|
||||
kvikklunch
|
||||
kylling
|
||||
langfredag
|
||||
langrennski
|
||||
palmesøndag
|
||||
påskeegg
|
||||
smågodt
|
||||
solvegg
|
||||
yatzy
|
25
KnowItJulekalender/2020/03/wordlist.txt
Normal file
25
KnowItJulekalender/2020/03/wordlist.txt
Normal file
@ -0,0 +1,25 @@
|
||||
nisseverksted
|
||||
pepperkake
|
||||
adventskalender
|
||||
klementin
|
||||
krampus
|
||||
juletre
|
||||
julestjerne
|
||||
gløggkos
|
||||
marsipangris
|
||||
mandel
|
||||
sledespor
|
||||
nordpolen
|
||||
nellik
|
||||
pinnekjøtt
|
||||
svineribbe
|
||||
lutefisk
|
||||
medisterkake
|
||||
grevinne
|
||||
hovmester
|
||||
sølvgutt
|
||||
jesusbarnet
|
||||
julestrømpe
|
||||
askepott
|
||||
rudolf
|
||||
akevitt
|
30
KnowItJulekalender/2020/04/README.md
Normal file
30
KnowItJulekalender/2020/04/README.md
Normal file
@ -0,0 +1,30 @@
|
||||
# Julebonusen
|
||||
|
||||
> Av Joakim Lindgren
|
||||
|
||||
MELDING: Vi har en bug som fører til at noen brukere ikke får svare. Vi jobber med saken!
|
||||
|
||||
Halvor er daglig leder i en lukrativ kakefabrikk med mange ansatte. Det nærmer seg jul og Halvor må finne ut hvor stor årets julebonus skal bli. Bonusen er gitt av antall kaker bakt, men dessverre har han klart å makulere kakehistorikken og han har selvfølgelig også glemt å ta backups. Til alt hell klarer Halvor å finne _leveranselisten_, som inneholder hvor mange _enheter_ av hver ingrediens som har blitt levert det siste året.
|
||||
|
||||
Ingrediensene for én kake er som følger:
|
||||
|
||||
* 2 _enheter_ sukker
|
||||
* 3 _enheter_ mel
|
||||
* 3 _enheter_ melk
|
||||
* 1 _enhet_ egg
|
||||
|
||||
## Oppgave
|
||||
|
||||
Her er Halvors [leveringsliste](https://julekalender-backend.knowit.no/challenges/4/attachments/leveringsliste.txt). Hjelp Halvor med å finne ut hvor mange kaker som er bakt i år, slik at han kan ordne riktig julebonus!
|
||||
|
||||
## Eksempel
|
||||
|
||||
Med følgende leveringsliste:
|
||||
|
||||
sukker: 24, mel: 20, egg: 17
|
||||
sukker: 25, mel: 15, egg: 17
|
||||
sukker: 17, melk: 14
|
||||
sukker: 17, melk: 18
|
||||
sukker: 25, melk: 24, egg: 10
|
||||
|
||||
kan vi finne at det er blitt bakt 11 kaker.
|
88
KnowItJulekalender/2020/04/cake-counter.js
Normal file
88
KnowItJulekalender/2020/04/cake-counter.js
Normal file
@ -0,0 +1,88 @@
|
||||
/**
|
||||
* This is my extremely manual take on the calculation of this task
|
||||
* Instead of relying on 'fancy' methods (like array-methods: map, filter etc.)
|
||||
* I decided to go with a full on `for` approach.
|
||||
*/
|
||||
const { readFile } = require('../../../helpers');
|
||||
const file = readFile('./leveringsliste.txt').trim();
|
||||
|
||||
const deliveries = file.split('\n');
|
||||
|
||||
/**
|
||||
* How many units required for each ingredient to make a cake.
|
||||
*/
|
||||
const units = {
|
||||
sukker: 2,
|
||||
mel: 3,
|
||||
melk: 3,
|
||||
egg: 1,
|
||||
};
|
||||
|
||||
/**
|
||||
* How many cakes are possible to bake based on a single ingredient.
|
||||
*/
|
||||
const possibleCakes = {
|
||||
sukker: 0,
|
||||
mel: 0,
|
||||
melk: 0,
|
||||
egg: 0,
|
||||
};
|
||||
|
||||
/**
|
||||
* Total ingredients in storage calculated from all the deliveries.
|
||||
*/
|
||||
const storage = {
|
||||
sukker: 0,
|
||||
mel: 0,
|
||||
melk: 0,
|
||||
egg: 0,
|
||||
};
|
||||
|
||||
/**
|
||||
* Go through each delivery and add
|
||||
* ingredients to the total.
|
||||
*/
|
||||
for (const delivery of deliveries)
|
||||
{
|
||||
const ingredients = delivery.split(', ');
|
||||
for (const ingredient of ingredients)
|
||||
{
|
||||
const ingredientAndCount = ingredient.split(': ');
|
||||
|
||||
const name = ingredientAndCount[0];
|
||||
const count = parseInt(ingredientAndCount[1], 10);
|
||||
storage[name] += count;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Then we divide each ingredient by the units required
|
||||
* to bake cake based on that single ingredient.
|
||||
*/
|
||||
for (const ingredient in storage)
|
||||
{
|
||||
const total = storage[ingredient];
|
||||
const rate = units[ingredient];
|
||||
|
||||
possibleCakes[ingredient] = Math.floor(total / rate);
|
||||
}
|
||||
|
||||
/**
|
||||
* Then we manually find the _lowest_ amount of cakes that could be baked
|
||||
* based on the amount of ingredients we've had.
|
||||
*/
|
||||
let cakeAmount = Number.MAX_SAFE_INTEGER;
|
||||
let ingredientName = '';
|
||||
for (const cake in possibleCakes)
|
||||
{
|
||||
const count = possibleCakes[cake];
|
||||
|
||||
if (cakeAmount < count) {
|
||||
continue;
|
||||
}
|
||||
|
||||
cakeAmount = count;
|
||||
ingredientName = cake;
|
||||
}
|
||||
|
||||
console.log(`Based on ${storage[ingredientName]} units of ${ingredientName} a total of ${cakeAmount} cakes were baked.`);
|
364
KnowItJulekalender/2020/04/leveringsliste.txt
Normal file
364
KnowItJulekalender/2020/04/leveringsliste.txt
Normal file
@ -0,0 +1,364 @@
|
||||
melk: 20062, egg: 14744
|
||||
sukker: 14434, mel: 24556, melk: 18644
|
||||
sukker: 23526, mel: 21655, egg: 18912
|
||||
sukker: 19932, mel: 20797, melk: 16876, egg: 13501
|
||||
sukker: 17250
|
||||
sukker: 11643, mel: 15843, melk: 17512, egg: 21029
|
||||
sukker: 16744, mel: 13935, melk: 21565, egg: 12538
|
||||
sukker: 20226, mel: 20645, melk: 23922, egg: 23906
|
||||
sukker: 17732, melk: 12526, egg: 11783
|
||||
sukker: 15592, melk: 14112
|
||||
mel: 22572, melk: 10679, egg: 14993
|
||||
mel: 18082, egg: 18940
|
||||
sukker: 11395, melk: 13064, egg: 21957
|
||||
mel: 15800, melk: 19325, egg: 10590
|
||||
sukker: 13997, egg: 14271
|
||||
sukker: 18677, mel: 10603, melk: 18170
|
||||
sukker: 11187, melk: 24399, egg: 13694
|
||||
sukker: 16838, mel: 22425, egg: 18700
|
||||
sukker: 20662, melk: 11083, egg: 20498
|
||||
sukker: 19616, mel: 23081
|
||||
sukker: 14236, egg: 13544
|
||||
sukker: 14422
|
||||
mel: 14784, melk: 12575, egg: 17252
|
||||
sukker: 22500, mel: 15298, melk: 21822, egg: 22779
|
||||
sukker: 14002, melk: 13014, egg: 24063
|
||||
mel: 16107, melk: 21643
|
||||
sukker: 17391, mel: 21302, melk: 23260, egg: 16450
|
||||
sukker: 22936, melk: 12647, egg: 18945
|
||||
sukker: 13502, mel: 24006, melk: 24328, egg: 17244
|
||||
sukker: 20784, melk: 11539, egg: 21827
|
||||
mel: 16105, melk: 21037, egg: 20043
|
||||
sukker: 21848, mel: 13032
|
||||
sukker: 23632, mel: 23359, egg: 20642
|
||||
sukker: 23611, mel: 10898
|
||||
sukker: 13864, mel: 19861, melk: 24363
|
||||
mel: 12930, melk: 15543, egg: 22236
|
||||
sukker: 22800, mel: 20639, melk: 16434, egg: 23863
|
||||
mel: 15456
|
||||
sukker: 24079, mel: 18267, melk: 14095, egg: 23854
|
||||
mel: 13440, melk: 10076, egg: 10371
|
||||
mel: 12556
|
||||
sukker: 18619, mel: 16370, melk: 12359, egg: 10761
|
||||
sukker: 10338, egg: 18153
|
||||
mel: 20380, egg: 18741
|
||||
sukker: 21758, mel: 24098, melk: 13643, egg: 13498
|
||||
mel: 21163, egg: 24660
|
||||
sukker: 24739, mel: 24273, melk: 17573, egg: 18597
|
||||
melk: 18394, egg: 24834
|
||||
sukker: 19045, mel: 17283, melk: 15567, egg: 21842
|
||||
sukker: 10444, mel: 22675, melk: 22935, egg: 12814
|
||||
sukker: 21356, mel: 18064, melk: 15229, egg: 18716
|
||||
sukker: 11149, mel: 12791, melk: 24887, egg: 13587
|
||||
sukker: 10561, mel: 15157, egg: 20002
|
||||
sukker: 10032, mel: 16183, egg: 24784
|
||||
sukker: 14274, mel: 18179, melk: 14580
|
||||
sukker: 16877, mel: 17588
|
||||
egg: 19249
|
||||
sukker: 14057, mel: 16614, melk: 23507, egg: 13164
|
||||
sukker: 22621, mel: 24735, egg: 19138
|
||||
sukker: 19130, mel: 17679, melk: 13659
|
||||
melk: 21463
|
||||
sukker: 19153, egg: 22583
|
||||
sukker: 20433
|
||||
mel: 24305, melk: 10105, egg: 23149
|
||||
mel: 11190, egg: 17754
|
||||
sukker: 18999, egg: 12898
|
||||
mel: 19568, melk: 15169, egg: 22691
|
||||
mel: 12448, melk: 14733, egg: 10824
|
||||
mel: 16657, melk: 10338
|
||||
mel: 17871, melk: 14765, egg: 18893
|
||||
mel: 23837, melk: 14151, egg: 20307
|
||||
sukker: 15248, mel: 24137, melk: 12674, egg: 13007
|
||||
sukker: 11494, mel: 19784, melk: 12960, egg: 13573
|
||||
mel: 21866, melk: 10559, egg: 14213
|
||||
mel: 24309, melk: 24670, egg: 11406
|
||||
sukker: 22453, egg: 20981
|
||||
sukker: 15077, mel: 24291, egg: 18131
|
||||
sukker: 12662, mel: 21242, melk: 11220, egg: 22721
|
||||
sukker: 23383, mel: 22767, melk: 19975, egg: 23956
|
||||
sukker: 17945, mel: 22292, egg: 14154
|
||||
sukker: 16866, melk: 23598, egg: 11619
|
||||
sukker: 14147, mel: 18456, melk: 20066
|
||||
sukker: 11133, mel: 16134, egg: 15162
|
||||
mel: 17391, melk: 24727, egg: 15653
|
||||
sukker: 11551, mel: 23546, melk: 22457, egg: 11245
|
||||
sukker: 13340, mel: 19905, egg: 18282
|
||||
sukker: 22945, melk: 12029
|
||||
sukker: 22925, mel: 22313, melk: 12867, egg: 16078
|
||||
sukker: 15916, egg: 15544
|
||||
sukker: 19013, melk: 18282
|
||||
sukker: 12996, melk: 21710
|
||||
sukker: 16217, mel: 19454, melk: 19112, egg: 24119
|
||||
sukker: 13136, mel: 13393, melk: 10689, egg: 17526
|
||||
sukker: 22811, mel: 15933, egg: 11723
|
||||
sukker: 17398, mel: 14638, melk: 24728, egg: 22752
|
||||
sukker: 14019, mel: 19778, melk: 12912
|
||||
sukker: 16296, mel: 19031, melk: 10035
|
||||
sukker: 19484, melk: 14543
|
||||
mel: 22809
|
||||
sukker: 23432, melk: 10108, egg: 24111
|
||||
sukker: 21328, melk: 17473, egg: 12187
|
||||
sukker: 22128, mel: 10212, melk: 18651, egg: 21095
|
||||
sukker: 16191, mel: 11543, melk: 23386
|
||||
mel: 13290, melk: 23830, egg: 22154
|
||||
sukker: 17066, melk: 16270, egg: 14634
|
||||
mel: 12877, melk: 20452
|
||||
sukker: 13183, mel: 11330, melk: 15164, egg: 14412
|
||||
sukker: 24126, mel: 18343, melk: 21697, egg: 21788
|
||||
sukker: 17816, mel: 23804, melk: 11968
|
||||
sukker: 10461, melk: 22019
|
||||
mel: 19723, melk: 18247, egg: 12292
|
||||
melk: 18512, egg: 19413
|
||||
sukker: 20350, mel: 17197, melk: 23504
|
||||
sukker: 12974, mel: 19988, egg: 21573
|
||||
melk: 16106, egg: 22916
|
||||
sukker: 18799, mel: 19869, melk: 18683, egg: 10090
|
||||
sukker: 17590, mel: 10153, egg: 20084
|
||||
sukker: 12667
|
||||
sukker: 20162, melk: 17649, egg: 10956
|
||||
melk: 19694, egg: 22113
|
||||
sukker: 10967, mel: 20051, melk: 17260, egg: 19785
|
||||
egg: 12616
|
||||
mel: 15619
|
||||
mel: 10243, egg: 10435
|
||||
sukker: 13656, mel: 18705, egg: 10709
|
||||
sukker: 23638, melk: 11456
|
||||
sukker: 12644
|
||||
mel: 18339, melk: 13409, egg: 24148
|
||||
sukker: 24792, mel: 15856, melk: 19847, egg: 10361
|
||||
sukker: 18995, mel: 11606, egg: 14979
|
||||
sukker: 13703, mel: 20631, melk: 20689, egg: 15924
|
||||
sukker: 13325, mel: 22022, melk: 14492, egg: 10636
|
||||
sukker: 10566, mel: 23586, melk: 21538
|
||||
mel: 18202, melk: 18981, egg: 20454
|
||||
sukker: 23660, mel: 12450
|
||||
mel: 22131, melk: 19296, egg: 11109
|
||||
sukker: 14490, mel: 12671, melk: 14264, egg: 10920
|
||||
sukker: 19536, mel: 22096, melk: 19190, egg: 12443
|
||||
melk: 17746, egg: 21549
|
||||
sukker: 23962, melk: 10441
|
||||
sukker: 14063, melk: 15488, egg: 15205
|
||||
sukker: 12867, mel: 10637, melk: 20952, egg: 19349
|
||||
sukker: 23482, mel: 14567
|
||||
sukker: 23646, melk: 22988, egg: 14480
|
||||
sukker: 17633, mel: 19315, melk: 11130
|
||||
melk: 21345, egg: 16787
|
||||
egg: 23144
|
||||
sukker: 15382, mel: 11644, egg: 23854
|
||||
sukker: 23019, melk: 24151, egg: 19158
|
||||
sukker: 16525, melk: 20695, egg: 23448
|
||||
sukker: 20855, mel: 19401, melk: 11960
|
||||
sukker: 18027, mel: 20672, melk: 15752, egg: 16499
|
||||
sukker: 13985, mel: 17399, melk: 21622, egg: 24721
|
||||
sukker: 12653, mel: 24645, egg: 10840
|
||||
sukker: 12403, melk: 14226
|
||||
sukker: 23956, mel: 19407, melk: 12003, egg: 20301
|
||||
sukker: 10076, mel: 18151, melk: 17944, egg: 20603
|
||||
melk: 11189, egg: 24236
|
||||
mel: 19628, egg: 24335
|
||||
sukker: 22072, mel: 11123, melk: 13600, egg: 18718
|
||||
sukker: 16732, mel: 17161, melk: 15277, egg: 20356
|
||||
sukker: 15226, mel: 13411, melk: 18791, egg: 19795
|
||||
sukker: 23632, mel: 15951, melk: 23258
|
||||
sukker: 22610
|
||||
sukker: 17233, melk: 11452, egg: 16197
|
||||
egg: 23151
|
||||
sukker: 20402, mel: 17240, melk: 20719, egg: 13951
|
||||
sukker: 14172, mel: 10671, melk: 11000, egg: 23749
|
||||
mel: 17296, egg: 24158
|
||||
mel: 12568, melk: 15779, egg: 23040
|
||||
sukker: 23897, melk: 24741, egg: 14311
|
||||
sukker: 12417, mel: 23452, melk: 11399
|
||||
sukker: 11684, mel: 19591, melk: 21985, egg: 12249
|
||||
sukker: 21071, melk: 22623, egg: 12413
|
||||
sukker: 12334, mel: 19048, egg: 23581
|
||||
mel: 10896, melk: 23690
|
||||
sukker: 24896, mel: 15619, melk: 11345, egg: 15920
|
||||
sukker: 12254, mel: 19709, melk: 16084
|
||||
mel: 19459, melk: 11916, egg: 11556
|
||||
sukker: 12021, mel: 11840, melk: 15819, egg: 21751
|
||||
sukker: 21938, melk: 17845, egg: 11105
|
||||
sukker: 23300, mel: 18564
|
||||
sukker: 20074, mel: 20179, melk: 22565, egg: 11115
|
||||
sukker: 13666, mel: 19723, egg: 14559
|
||||
mel: 16527
|
||||
sukker: 12040, egg: 15216
|
||||
sukker: 10450, melk: 12521, egg: 21304
|
||||
egg: 18375
|
||||
mel: 10666, melk: 21626
|
||||
sukker: 12500, mel: 20221, melk: 23227, egg: 17078
|
||||
mel: 24485, egg: 24454
|
||||
mel: 18191, melk: 11921, egg: 11293
|
||||
mel: 21070, melk: 17655
|
||||
sukker: 22610, melk: 11331
|
||||
sukker: 21041, mel: 20881, melk: 15943, egg: 13720
|
||||
sukker: 11325, melk: 20440, egg: 21076
|
||||
sukker: 16320, mel: 10304, egg: 16051
|
||||
sukker: 10531, mel: 18803, melk: 22272
|
||||
mel: 11300, melk: 19717
|
||||
sukker: 14935, mel: 10303, melk: 12874, egg: 12265
|
||||
sukker: 22102, mel: 13886, melk: 24811, egg: 19316
|
||||
sukker: 19224, mel: 14564, egg: 13841
|
||||
sukker: 14107, mel: 13121, melk: 10613, egg: 23617
|
||||
sukker: 12411, egg: 16889
|
||||
sukker: 11926
|
||||
sukker: 15411, mel: 15188, melk: 22569, egg: 14321
|
||||
sukker: 17511, mel: 18619, melk: 12926
|
||||
melk: 23944, egg: 15256
|
||||
sukker: 15323, mel: 15354
|
||||
egg: 23239
|
||||
sukker: 23681, mel: 10188, melk: 24262, egg: 24990
|
||||
sukker: 16679, egg: 16948
|
||||
sukker: 22577, mel: 17595, melk: 18098, egg: 20472
|
||||
sukker: 18431, mel: 15582, melk: 14267
|
||||
sukker: 10320, mel: 11575, melk: 20854
|
||||
sukker: 14089, mel: 19048, melk: 16283
|
||||
sukker: 14610, mel: 17609, melk: 15251, egg: 13150
|
||||
sukker: 10065, mel: 14050, egg: 18372
|
||||
sukker: 23754, mel: 18289, melk: 11818, egg: 17976
|
||||
sukker: 11280, mel: 11530, melk: 17808, egg: 13215
|
||||
mel: 12466, egg: 17551
|
||||
sukker: 22855, mel: 14761, melk: 12828, egg: 17185
|
||||
sukker: 19940, mel: 22231, melk: 15055
|
||||
melk: 23046, egg: 22403
|
||||
sukker: 15604, mel: 11334, melk: 24993, egg: 22089
|
||||
sukker: 16778, egg: 10471
|
||||
melk: 15459, egg: 11988
|
||||
sukker: 13799, mel: 24361, melk: 19846
|
||||
mel: 15735, melk: 17557, egg: 24589
|
||||
mel: 17380, melk: 16710, egg: 24553
|
||||
sukker: 12616, mel: 13610, melk: 21715, egg: 12731
|
||||
sukker: 14234, mel: 10048, melk: 20085
|
||||
mel: 14872, melk: 19482, egg: 23893
|
||||
sukker: 19439, mel: 14428
|
||||
sukker: 18863, egg: 16687
|
||||
melk: 19360
|
||||
sukker: 15820, egg: 15406
|
||||
sukker: 24035, egg: 23983
|
||||
sukker: 19915, mel: 13014
|
||||
sukker: 18216, mel: 16797, melk: 14358, egg: 21494
|
||||
melk: 12436, egg: 16375
|
||||
melk: 14354
|
||||
sukker: 24040, mel: 12010, melk: 13564, egg: 14625
|
||||
sukker: 22090, melk: 18877, egg: 15872
|
||||
mel: 16715, egg: 12805
|
||||
sukker: 21980, mel: 18830, melk: 11299, egg: 24371
|
||||
melk: 17309, egg: 14750
|
||||
mel: 20717, egg: 23138
|
||||
sukker: 21639, mel: 15314, melk: 16635, egg: 15730
|
||||
sukker: 22235, melk: 10019
|
||||
sukker: 17295, melk: 23955, egg: 15450
|
||||
mel: 20576, melk: 16548, egg: 23587
|
||||
sukker: 23377
|
||||
sukker: 14796, mel: 11076, melk: 20166, egg: 20391
|
||||
sukker: 20884, mel: 23498, melk: 18583, egg: 17514
|
||||
sukker: 17129, mel: 19569, melk: 14699, egg: 17968
|
||||
sukker: 14787, melk: 23745, egg: 13412
|
||||
mel: 19371, melk: 14629
|
||||
sukker: 17914
|
||||
sukker: 10272, mel: 18395, melk: 21801, egg: 14702
|
||||
sukker: 10975, melk: 21436, egg: 10269
|
||||
mel: 21258, egg: 18211
|
||||
sukker: 16898, melk: 18729, egg: 13185
|
||||
sukker: 19004, melk: 23503
|
||||
sukker: 15630, melk: 11593, egg: 20211
|
||||
sukker: 24850, melk: 24623, egg: 11021
|
||||
sukker: 14477, mel: 12274, melk: 17282, egg: 19702
|
||||
sukker: 15872, mel: 20747, egg: 14617
|
||||
egg: 19315
|
||||
sukker: 20697, mel: 11480
|
||||
sukker: 24332, mel: 24183, melk: 22366
|
||||
sukker: 18071, melk: 13437
|
||||
sukker: 16682, mel: 14903, melk: 13628, egg: 23403
|
||||
sukker: 21424, mel: 20999, egg: 17197
|
||||
sukker: 18407
|
||||
sukker: 24108, mel: 12518, egg: 20051
|
||||
sukker: 14032, mel: 19040, melk: 12599, egg: 18861
|
||||
sukker: 20940, melk: 22959
|
||||
mel: 17936, melk: 24027, egg: 24253
|
||||
sukker: 11457, melk: 12953, egg: 16883
|
||||
mel: 22304, melk: 23165
|
||||
sukker: 10593, mel: 12338, melk: 15006, egg: 16649
|
||||
mel: 22793, melk: 16453, egg: 19768
|
||||
sukker: 20456, mel: 21171
|
||||
sukker: 20069, melk: 24826
|
||||
sukker: 16864, mel: 20077
|
||||
mel: 11441, melk: 19826, egg: 11883
|
||||
sukker: 19767, melk: 15230, egg: 12953
|
||||
melk: 13938
|
||||
sukker: 18865, melk: 15537, egg: 15549
|
||||
sukker: 12009, mel: 18125, melk: 11051, egg: 12564
|
||||
sukker: 18914, melk: 20618, egg: 24947
|
||||
sukker: 21328, mel: 20751, egg: 17285
|
||||
mel: 20187, melk: 21628, egg: 10408
|
||||
mel: 24222, egg: 21720
|
||||
sukker: 21676, mel: 19454
|
||||
sukker: 12047, mel: 18814, melk: 13078, egg: 23843
|
||||
sukker: 21737, mel: 10310, melk: 17801, egg: 17908
|
||||
mel: 19849, melk: 10514, egg: 23357
|
||||
sukker: 23267, melk: 24741, egg: 12118
|
||||
sukker: 22998, mel: 12593, melk: 21163, egg: 23634
|
||||
mel: 14327, melk: 21187, egg: 15292
|
||||
sukker: 23686, mel: 14590, melk: 21339, egg: 20089
|
||||
mel: 22480, melk: 10424
|
||||
melk: 24882
|
||||
mel: 14067, egg: 20719
|
||||
sukker: 20413, melk: 15287, egg: 22072
|
||||
sukker: 22172, mel: 13966, melk: 24959, egg: 14143
|
||||
sukker: 12101, mel: 13104, melk: 24802, egg: 23829
|
||||
mel: 14586, melk: 13024, egg: 18832
|
||||
melk: 15987, egg: 15368
|
||||
sukker: 17493, melk: 19065, egg: 18866
|
||||
sukker: 14268, mel: 14713, egg: 24004
|
||||
sukker: 20661, mel: 23478, melk: 19435, egg: 21806
|
||||
sukker: 14056, mel: 23809, melk: 12912
|
||||
sukker: 23279, mel: 21262, melk: 19460, egg: 20535
|
||||
sukker: 16529, mel: 12797, melk: 10894, egg: 19048
|
||||
sukker: 14614, mel: 24305
|
||||
sukker: 22910, mel: 21018, melk: 24167, egg: 14257
|
||||
sukker: 22423, mel: 12139, melk: 10309, egg: 16240
|
||||
mel: 24204, melk: 13749, egg: 15332
|
||||
mel: 18016, melk: 14184
|
||||
sukker: 21157, mel: 23355, egg: 24525
|
||||
sukker: 23328, mel: 15589, melk: 19964, egg: 23087
|
||||
mel: 14728, melk: 23920
|
||||
sukker: 20209
|
||||
sukker: 23906, egg: 20473
|
||||
sukker: 13938, mel: 15872, melk: 12190, egg: 16703
|
||||
sukker: 12949, mel: 13102, melk: 24270
|
||||
mel: 24291, melk: 21863
|
||||
egg: 14602
|
||||
egg: 20650
|
||||
mel: 18955, egg: 23486
|
||||
sukker: 24504, mel: 23017, melk: 15042, egg: 21818
|
||||
sukker: 14045, mel: 20890, melk: 11648, egg: 18224
|
||||
melk: 16777, egg: 11440
|
||||
egg: 19507
|
||||
sukker: 12842, mel: 18025, melk: 12123
|
||||
mel: 13403, melk: 23194, egg: 23288
|
||||
mel: 12842, melk: 10104
|
||||
sukker: 11368, melk: 12642, egg: 11057
|
||||
mel: 12385, melk: 11043, egg: 19160
|
||||
mel: 21576, melk: 14029, egg: 21336
|
||||
sukker: 16128, mel: 12168, melk: 11263
|
||||
sukker: 24091, egg: 12165
|
||||
sukker: 20110, mel: 23704, melk: 23499
|
||||
mel: 24983, melk: 23046, egg: 23933
|
||||
sukker: 15677, mel: 24828
|
||||
sukker: 13101, melk: 18301, egg: 18062
|
||||
mel: 23722, melk: 14751, egg: 12202
|
||||
melk: 15832, egg: 14306
|
||||
sukker: 14398, mel: 21761, melk: 11398, egg: 17781
|
||||
sukker: 13564, melk: 17068, egg: 18141
|
||||
sukker: 14395, melk: 13658, egg: 21706
|
||||
sukker: 24901, melk: 11047, egg: 18814
|
||||
melk: 24388, egg: 15575
|
||||
sukker: 20324, mel: 14109, melk: 18326, egg: 22770
|
||||
sukker: 22674, mel: 24613, egg: 22589
|
||||
sukker: 22889, mel: 11038
|
||||
sukker: 22875, mel: 14448, melk: 16725
|
||||
sukker: 21049, mel: 24354, melk: 11111, egg: 18000
|
||||
sukker: 21618, melk: 18284, egg: 24352
|
||||
sukker: 12036, mel: 21000
|
||||
sukker: 14693, mel: 14484
|
Loading…
Reference in New Issue
Block a user