Generation of Combinatorial Objects · Backtracking

Lesson 6

Nikolai Chukhin · Alexander S. Kulikov

Problem. Place 20 non-attacking queens on a \(20 \times 20\) board. As your answer, enter a permutation of the numbers \(0,1,\dotsc,19\) separated by spaces.

5 points