So first of all, I've got to be careful about the end test. But the second thing is, OK, if it stops whenever this is less than two, am I convinced that this will always halt?
小心最后一次比较,其次,如果少于两个元素程序停止了,我们能确信这总是应该终止的么?,答案是肯定的,因为我在做什么?
Yes, it stops at the first step, right? Let's look at it.
对的,程序会,在第一步就停止了。
Times were different in those days.
程序运行了很长时间然后停止了。
应用推荐