Pentomino tiling: Difference between revisions

m
Reformatted line overflowing page width.
(New post.)
m (Reformatted line overflowing page width.)
Line 626:
}
 
bool place_orientation(const std::vector<int32_t>& orientation, const int32_t& row, const int32_t& col, const int32_t& shape_index) {
const int32_t& row, const int32_t& col, const int32_t& shape_index) {
for ( uint64_t i = 0; i < orientation.size(); i += 2 ) {
int32_t x = col + orientation[i + 1];
871

edits