ZINC
1 program
Added 2026-02-11T12:35:39Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: Zinc
Provenance: commit 6b1f0f9fd2 · authored 2026-02-11T13:36:39+01:00 · agent claude-code · model sonnet
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
N-Queens Problem
Provenance: commit 6b1f0f9fd2 · authored 2026-02-11T13:36:39+01:00 · agent claude-code · model sonnet · WebSearch disabled
% N-Queens problem in ZINC
int: n = 8;
array[1..n] of var 1..n: q;
constraint
forall(i,j in 1..n where i<j)(
q[i] != q[j] /\
q[i]+i != q[j]+j /\
q[i]-i != q[j]-j
);
solve satisfy;
output ["Queens: ", show(q), "\n"];