aboutsummaryrefslogtreecommitdiffstats
path: root/src/14/part2
blob: a180357484ad62d9151216bf62f593f58bb1f2b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- Part Two ---

The resulting polymer isn't nearly strong enough to reinforce the submarine. You'll need to run more
steps of the pair insertion process; a total of 40 steps should do it.

In the above example, the most common element is B (occurring 2192039569602 times) and the least
common element is H (occurring 3849876073 times); subtracting these produces
2188189693529.

Apply 40 steps of pair insertion to the polymer template and find the most and least common elements
in the result. What do you get if you take the quantity of the most common element and subtract the
quantity of the least common element?