Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
10 lines
216 B
MiniZinc
10 lines
216 B
MiniZinc
int: n = 8; % The number of queens.
|
|
|
|
array [1..n] of var 1..n: q;
|
|
|
|
include "alldifferent.mzn";
|
|
|
|
constraint alldifferent(q);
|
|
constraint alldifferent(i in 1..n)(q[i] + i);
|
|
constraint alldifferent(i in 1..n)(q[i] - i);
|