Decision problem (source code)

= Decision problem
{wiki}

A decision problem asks for one of two answers, conventionally encoded as zero and one. Equivalently, it asks whether an input belongs to a <formal language>.