1
0
This repository has been archived on 2025-03-06. You can view files and clone it, but cannot push or open issues or pull requests.

6 lines
178 B
MiniZinc

% RUNS ON mzn20_fd
% RUNS ON mzn-fzn_fd
var 1..1: i;
predicate losseq(array[int] of var int: a) = sum([1 | e in a where e >= 1]) = 1;
constraint losseq([0,0,0,1]);
solve satisfy;