filmov
tv
Advent of Code 2015 Day 17: No Such Thing as Too Much using Excel

Показать описание
Advent of Code 2015 Day 17: No Such Thing as Too Much using Excel
correction SEQUENCE(2^n) should be SEQUENCE(2^n-1)
BASE(SEQUENCE(2^n-1),2,n)
eg 1-8 base 8 is 1000
001
010
011
100
101
110
111
1000
we take the first 3 digits 8 = 100_0 duplicate with 4 = 100
2^n-1 to get rid of the last number
=LET(z,B3#,n,ROWS(z),MMULT(--MID(BASE(SEQUENCE(2^n-1),2,n),SEQUENCE(,n),1),z))
correction SEQUENCE(2^n) should be SEQUENCE(2^n-1)
BASE(SEQUENCE(2^n-1),2,n)
eg 1-8 base 8 is 1000
001
010
011
100
101
110
111
1000
we take the first 3 digits 8 = 100_0 duplicate with 4 = 100
2^n-1 to get rid of the last number
=LET(z,B3#,n,ROWS(z),MMULT(--MID(BASE(SEQUENCE(2^n-1),2,n),SEQUENCE(,n),1),z))
Advent of Code 2015 puzzle 03 [Java]
Advent of Code 2015 puzzle 07 (7 of 150) [Java]
Programming Problems EP12 - Probably a Fire Hazard - Advent of Code 2015 - Day 06
Programming Problems EP13 - Some Assembly Required - Advent of Code 2015 - Day 07
Advent of Code 2015 Solutions
Advent of Code 2015 Day 1-3 using Excel.
Advent of Code 2015 Day 1 in CPP
Advent Of Code 2015 - Day 2
Advent of Code 2015 day 1 part two HD
Advent Of Code 2015 - Day 3: Perfectly Spherical Houses in a Vacuum
Advent of Code 2015 Day 24: It Hangs in the Balance using Excel
Advent of Code 2015 day 2 part one HD
Coding Advent Of Code 2015 - Day 1
Advent of Code 2015 day 4 part one HD
Advent of Code 2015 Day 8: Matchsticks using Excel.
Advent of Code 2015 Day 15: Science for Hungry People using Excel
Advent of Code 2015 - Day 3
Advent Of Code 2015 - Day 2
Coding Advent Of Code 2015 - Day 4 & 5
Advent of code - 2015 - Day 1
Coding Advent Of Code 2015 - Day 6
Advent of Code 2015 Day 22: Wizard Simulator 20XX using Excel
Advent of Code 2015, Day 7 (completed!)
Programming Problems EP16 - Elves Look, Elves Say - Advent of Code 2015 - Day 10
Комментарии