Definition. Polynomial time [00VO]

If there is a polynomial p(n) such that A(s) always terminates in at most p(|s|) steps, we say A is a polynomial-time algorithm.