In the past,he noted, the national government had tried to divide free states from slave states by a line across a map.
VOA: special.2009.04.23
And that's because that is a version of a divide and conquer algorithm.
这个想法非常重要,因为这就是分而治之算法的一个版本。
Notice here that it's different than the binary search case. We're certainly dividing down, but the combination now actually takes some work. I'll have to actually figure out how to put them back together. And that's a general thing you want to keep in mind when you're thinking about designing a divide and conquer kind of algorithm.
一个分治的例子,注这里,与二分查找所不同的地方,我们肯定是分解了,但是合并的过程还是需要一些工作量的,我会详细说明怎样把它们合并在一起的,当你在考虑设计一个分治算法时,这是你要必须记住的最基本的东西。
Telomeres are necessary for a cell to divide.
VOA: special.2009.10.07
Once you have a difference that occurs, two cells are difference, those differences can propagate as the cells continue to divide.
一旦产生差异,产生两个不同的细胞,这些差异会伴随着,细胞分裂过程代代相传
He says industrialized economies should intensify technology transfers to developing nations, especially on environmental technology to prevent what he called a "green divide."
VOA: standard.2009.11.13
- And then I divide by an int -- that's okay because so long as you have a float involved at some point early on, you're okay.
然后我除以一个整型数-,那是可以的因为现在为止,我们在之前已经,引入了一个浮点数,你是对的。
A month later a Lebanese power-sharing system was formed to divide power under religious lines.
VOA: standard.2009.09.24
We could also take the two eighth notes and divide them into two sixteenth notes and then we get one-a-an-d-two-a-an-d- one-a-an-d-two-a-an-d something like that.
我们也可以继续将八分音符,分为两个十六分音符,一二三四,二二三四,一二三四,二二三四,就像这样
How do you rebalance that divide? And,on a larger level, how do you close the gap between the developing economies of APEC with the developed economies of APEC."
VOA: standard.2009.11.08
A group of people starts a business and they say, let's divide up the proceeds.
一群人想要做一笔生意,他们说,我们把钱分了吧
And there's a big divide between the view of the United States and some of its key allies and the rest of the world, in particular in the developing world."
VOA: standard.2010.04.06
In the material that's usually associated with P Moses is depicted as stretching out his staff, first to divide the waters which stand like a wall so that the Israelites can cross over on dry land; and then he holds out his staff to bring the waters crashing down on the Egyptians.
在经常能和P材料联系起来的材料中,摩西需要满足他的追随者的要求,第一个便是,水像墙一样立在两旁以便于犹太人,可以从中通过,然后为了保住追随者的性命,他用水淹没了埃及士兵。
to fight terrorism He said it is time to move on, adding the nation will not be safe as long as national security is used as a wedge to divide America.
VOA: standard.2009.05.21
Divide and conquer to make our programs modular so we can write them a little piece at a time and understand them a little piece at a time.
我们把程序分解为模块逐个击破,以便我们能一次写一小段,一次理解一点儿,现在我觉得。
This anniversary is about remembering the past. And as the dominoes run in a line from Potsdamer Platz, past Brandenburg Gate to the nearby parliament, they once again divide the city, even if only briefly.
VOA: standard.2009.11.09
It was a gene that was causing a cell to be malignant and to divide without control, for example.
例如,一个会使细胞恶化,并不受控制地无限分裂的基因
OK. Binary search is perhaps the simplest of the divide and conquer algorithms, and what does that mean? It says, in order to solve a problem, cut it down to a smaller problem and try and solve that one.
好了,二分搜索也许是,最简单的分治算法,这意味着什么?,也就是说,为了解决一个问题,把它切割成小的问题,然后再来一个个解决。
How do we take a complex program, again, divide and conquer, I feel like a 1-trick pony, I keep repeating the same thing over and over again.
同样的先分解再逐个击破,我就像只会一个把戏的小马,我不断重复相同的事情。
So if I start off with a list of length n, how many times can I divide it by 2, until I get to something no more than two left?
我能够除以多少次2呢?,直到我得到的长度不超过2么?,对数次,对吧?就像刚才那位同学说的那样?
If you have a bond with an interest rate of 4.375% -that's not an easy one to divide by two but you would get half of that every six months until maturity.
如果你持有一种利率为4.375%的债券,这个数除以2有点难算,而在债券到期前,每半年你能得到4.375%一半的券息
I, somehow if, I want to walk through some sequence of data structures, gathering up or doing the same thing, adding ages in until I get a total age and then divide by the number faculty.
我想,以某种方法,来遍历,一些数据结构,把它们相同的属性加到一起,就是一直的把年龄加到一起一直到,得到了一个年龄总数,然后除以员工的数目。
In fact, my program crashes because I end up trying to divide by zero, a really bad thing. Hint: if you implement Newton's method, do not make your first guess zero.
我下一步都没法开始,实际上,我的程序会崩溃,因为我试着去除0了,真糟糕,提示你:如果你想用牛顿的方法,第一个猜想数别设为0。
A really nice algorithm. As I said, an example of divide and conquer.
真的很好的一个算法,就如我说的。
And then in the even case I've got to do a square and the divide.
如果是偶数情况的话,我还要再做一次除法和求平方。
New cells are formed, they wait a bit, they synthesize DNA, they wait a bit, they divide, and on, and on, and on.
新细胞形成,暂停一下,合成DNA,再暂停,再分裂,周而复始
应用推荐