#AHC071 | 1,590,489 pts | Top 3 Basic SA: The state represents which bricks of size >1 are added. Size=1 bricks are determined in a single top-to-bottom pass in O(H) using bitmasks. Transitions include adding, removing, replacing, or shifting a single brick.
#AHC069 Provisional 9th place
Use acceptance criteria based on the estimated theta, grid occupancy, and score, checked both before and after finding a placement.
In addition to maximizing score, improve the expected availability of adjacent free-cell pairs.
Start candidate regions at random positions and expand them greedily, one cell at a time. When space permits, this produces roughly square regions.
Apply a small hill-climbing afterward.
Consider placements that relocate zero, one, or two groups.