3 ms·
Funny because I actually solve it no problem by using that wonderful technology called a for-loop, which does terminate. So it's only a halting problem when yo
by zedshaw 15y ago
Funny because I actually solve it no problem by using that wonderful technology called a for-loop, which does terminate.
So it's only a halting problem when you use K&R's code.
- Turing_Machine 15y agoUnless your for index overflows the MAXINT for the platform, or unless the system runs out of memory, or unless.. Your standard is unrealistically high.
- emmelaich 15y agoSo, stop before you reach MAXINT. It's changing the meaning of strlen, but who cares?