Probably I shouldn't have said it's a two-step process 'cause it's a three-step process to actually write and run it, and the third step is just going to be to run it.
也许我不应该说它是个两步完成的程序,准确来讲,应该是三步,前两步--写,第三步--运行。
OK, now we can do the process in two steps.
好,我们可以把过程分为两步。
So writing a program at least in this language is a two-step process.
用这种语言写一个至少需要,两步完成的小程序。
That's a sign that it's probably linear.
我可以两步把问题的规模缩小一半。
And so we have the work coming from two steps.
因此我们把做功过程分成了两步。
So, I could have two steps in my path.
我的路径中有两步。
So it turns out that there's a two-step process.
好像有两步要走。
the abuse is, you know, it's not quite right, it depends upon whether it's all ready, but you can see in either case, after 12 steps, 2 runs through this and down to a problem size b over 2.
在12步以后,两轮过后,这个问题的范围b被缩小了一倍,这为什么很不错呢?,这意味着再来12步。
So this line or these lines of code up here are arguably constant time steps to say if N is less than 2 in return, that it will always take maybe one step, maybe two steps, some number of fixed CPU cycles.
如果N小于2并返回,那么这些行所对应的代码,通常只需要执行一步,或者两步,具体数字与CPU周期有关。
应用推荐