Source: Full of Hot Air
Part 1
Let a Snafu number be a base 5 number with the curious property that in addition to the digits 0, 1, and 2, it has the numbers
-
as-1
and=
as-2
. Sum up a list of Snafu numbers.
Let a Snafu number be a base 5 number with the curious property that in addition to the digits 0, 1, and 2, it has the numbers
-
as-1
and=
as-2
. Sum up a list of Snafu numbers.
Given a map with a series of moving walls (that wrap when the hit the edges of the simulation), calculate the fastest route from the top left to the bottom right.
Implement a cellular automaton with the following rules:
NSWE
, SWEN
, WENS
, ENSW
, NSWE
, …)Given a map and a series of instructions formatted as distance + turn (
L
orR
), find the final position. Any time you would walk off the edge of the map, wrap to the opposite edge.
Given a series of equations of either the form
dbpl: 5
orcczh: sllz + lgvd
, determine what the value of the node labeledroot
is.
Given a list of numbers
mix
them by moving each number forward/backward in the list based on it’s value. For example, in4, -2, 5, 6, 7, 8, 9
moving the-2
will result in4, 5, 6, 7, 8, -2, 9
. Each number should be moved exactly once in the original order they appeared in the list.
Given a series of given a series of
blueprints
, each of which gives instructions for how to build a singlerobot
from a collection ofmaterials
that in turn will produce one of a givenmaterial
per turn, determine the best order of builds to maximize yourgeode
(the most valuablematerial
) production for eachblueprint
given a time limit of24 minutes
.
Given a list of 1x1x1 cubes, determine the total surface area of the cubes.
Simulate Tetris on a 7 wide board with a given (infinitely repeated) series of left and right inputs to be applied on each frame before dropping the block and a given (infinitely repeated) set of blocks. Once 2022 blocks have been dropped, what is the total height of the placed blocks?
Given a graph of nodes, some of which have a
pressure
(per tick output value) and an agent that can move through the graph and activate specific nodes (so that they output their per tick value every future tick), what is the maximum total output possible in 30 steps?