edited by
113 views
0 votes
0 votes

In the $n$-queens completion problem, the input is an $n \times n$ chess board with queens on some squares, and the goal is to determine if there is a way to place more queens so that the total number of queens is $n$ and no two queens attack each other (two queens are said to attack each other if they are on the same row, or they are on the same column, or they are on the same diagonal).

Consider the following statements:

  1. The $n$-queens completion problem is decidable.
  2. The $n$-queens completion problem is decidable in time $O\left(n^{n^{n}}\right)$.
  3. The problem of "checking whether a given program solves the $n$-queens completion problem" is decidable.
  4. The problem of "checking whether a given program solves the $n$-queens completion problem in time $O\left(n^{n^{n}}\right)$ " is decidable.
  5. The problem of "checking whether a given program solves the $n$-queens completion problem" is decidable in time $O\left(n^{n^{n}}\right)$.

Which of the above is true?

  1. Only $\text{(i) and (ii)}$.
  2. Only $\text{(i) and (iii)}$.
  3. Only $\text{(i), (ii) and (iv)}$.
  4. Only $\text{(iii),(iv) and (v)}$.
  5. Only $\text{(i), (iii) and (iv)}$.

     

edited by

Please log in or register to answer this question.

Answer:

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
1 answer
2
admin asked Jan 13
159 views
For any positive integer $\text{N}$, let $\text{p(N)}$ be the probability that a uniformly random number $a \in\{1, \ldots, N\}$ has an odd number of factors (including 1...