我们注意到,三次重复输入相同的代码效率很低,因此可以使用循环机制来轮流查询每台机器的注册表。
Seeing as it's inefficient to re-enter the same code three times, a looping mechanism can be employed to query the registries of each machine in turn.
他只是简单地重复这个循环八次(总共要40分钟),确保自己一个星期有三次进步。
He simply repeated the cycle eight times (for a total of 40 minutes), and made sure he did three workouts a week.
然而,由于这是今年三次变化中的第一次,这样戏剧性的循环象征着显着的增长才刚刚开始。
However, because this is the first of three this year, the cycle of dramatic growth this symbolises is just beginning.
So each time through the loop, I'm doing three steps. Three basic operations.
因此每次运行这个循环,我做了三次基本运算。
b times. So I've got to go 3 b steps. All right I've got to go through the loop b times I've got three steps each time, and then when I pop out of the loop, I've got two more steps. All right I've got the initiation of answer and the return of it.
好,我一共执行了b次循环,每次循环内部进行了三次基本操作,当跳出循环后还有两个基本操作,因此这个初始的答案就是,2+3b次基本操作,来完成这个循环。
应用推荐