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 [1m[97m40 steps[0m 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
[1m[97m2188189693529[0m.
Apply [1m[97m40[0m steps of pair insertion to the polymer template and find the most and least common elements
in the result. [1m[97mWhat do you get if you take the quantity of the most common element and subtract the
quantity of the least common element?[0m
|