An algorithm is correct with respect to a specification if, on every input that meets the precondition, it stops and its result meets the postcondition.
Computer Science · Glossário
Computer Science · Glossário
An algorithm is correct with respect to a specification if, on every input that meets the precondition, it stops and its result meets the postcondition.