3 ms·
The problem only says you can’t tell if the programs stops without actually running it. But here you’re running it anyway.
by tinus_hn 6y ago
The problem only says you can’t tell if the programs stops without actually running it. But here you’re running it anyway.
- gwd 6y agoIf you run it and it stops, then it stops. If you run it and it runs forever, then it runs forever. But the point is that you want to know if it's going to run forever before you hit "forever".