in Others edited by
93 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)}$.

     

in Others edited by
by
93 views

Please log in or register to answer this question.

Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true