Skip to main content
1 of 1
xskxzr
  • 7.6k
  • 5
  • 23
  • 47

As Konstantin Vladimirov said in the comment: Consider you have this program. Take any while-program and put any instruction 1000 times just before halt. Next run your program and ask if this instruction will be reached 1000 times. Bingo, halting is solved.

xskxzr
  • 7.6k
  • 5
  • 23
  • 47