Pentomino tiling: Difference between revisions

m
(New post.)
m (→‎{{header|Wren}}: Minor tidy)
(One intermediate revision by one other user not shown)
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];
Line 2,185 ⟶ 2,186:
{{trans|Kotlin}}
{{libheader|Wren-iterate}}
<syntaxhighlight lang="ecmascriptwren">import "random" for Random
import "./iterate" for Stepped
 
var F = [
9,487

edits