No. That would allow you to determine the runtime of any given program (assuming it always terminates), but that is not a computable problem.
Raphael
- 72.9k
- 30
- 181
- 393