File tree 2 files changed +2
-1
lines changed
Filter options
2 files changed +2
-1
lines changed
Original file line number Diff line number Diff line change 22
22
| [ 18] ( https://adventofcode.com/2020/day/18 ) | Operation Order| [ py] ( /day18/main.py ) |
23
23
| [ 19] ( https://adventofcode.com/2020/day/19 ) | Monster Messages| [ py] ( /day19/main.py ) , [ alt] ( /day19/alt.py ) |
24
24
| [ 20] ( https://adventofcode.com/2020/day/20 ) | Jurassic Jigsaw| [ py] ( /day20/main.py ) |
25
- | [ 21] ( https://adventofcode.com/2020/day/21 ) | - | - |
25
+ | [ 21] ( https://adventofcode.com/2020/day/21 ) | Allergen Assessment | [ py ] ( /day21/main.py ) |
26
26
| [ 22] ( https://adventofcode.com/2020/day/22 ) | -| -|
27
27
| [ 23] ( https://adventofcode.com/2020/day/23 ) | -| -|
28
28
| [ 24] ( https://adventofcode.com/2020/day/24 ) | -| -|
Original file line number Diff line number Diff line change 24
24
remaining_foods = sorted (set (flatten (reduced )))
25
25
count = len ([f for f in flatten (foods ) if f not in remaining_foods ])
26
26
print (count )
27
+
27
28
poss_mat = np .array ([[1 if r in red else 0 for r in remaining_foods ] for red in reduced ])
28
29
29
30
change = True
You can’t perform that action at this time.
0 commit comments