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
John Geanakoplos and I had a meeting and we tried to divide up the subject matter of finance into two courses.
约翰·吉纳科普洛斯和我开了个会,我们将金融这一学科,分为两门课
A month later a Lebanese power-sharing system was formed to divide power under religious lines.
VOA: standard.2009.09.24
We can really divide it into two major parts. The first 12 chapters form a unit that conveys the invasion and conquest.
我们可以将它分为两部分,前十二章,形成了一个集体,表现了侵略和占领。
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
So if you divide by $10 million, that's a lot of money for each employee.
如果将1000万平分,每个人都能拿到一大笔钱。
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
- 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.
然后我除以一个整型数-,那是可以的因为现在为止,我们在之前已经,引入了一个浮点数,你是对的。
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
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.
我们也可以继续将八分音符,分为两个十六分音符,一二三四,二二三四,一二三四,二二三四,就像这样
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
We divide that by the mass, so 0.12 kilograms, that's the mass of a regulation baseball for the major leagues, and the velocity of the baseball is 42 meters per second. So, we can cross out our units doing our unit analysis.
我们用质量来除它,质量为0,12千克,这是大多数联赛规定的棒球质量,棒球的速度为42米每秒,所以,我们可以消去单位,来做单位分析。
You cannot say to me, "Take a force, due to a spring, and see what force it applies and divide by the acceleration and get the mass, " because we haven't defined force, either.
你不能说,"给弹簧施加一个力,看看它能提供多大的力,然后除以加速度,得到质量",因为我们还没给力下一个定义
So given that we only have one five dollar bill does there have to be one unique winner, and if so, how is that determined if we have multiple people who are That's a good question. If there's multiple winners, we'll divide it but we'll make sure everyone has a positive winning.
现在那里只有一张5美元钞票,是不是说只有唯一的赢家啊,要是这样,怎么确定谁是赢家,好的,要是有多个赢家,我们会平分奖金的
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.
我们把程序分解为模块逐个击破,以便我们能一次写一小段,一次理解一点儿,现在我觉得。
It was a gene that was causing a cell to be malignant and to divide without control, for example.
例如,一个会使细胞恶化,并不受控制地无限分裂的基因
Then you say, well why didn't they divide by 365, because I know there are 365 days in a year?
也许你们会问,为什么他们不除以365,因为一年有365天
Where those pieces, I would do the same thing with, I would divide them up into smaller chunks, and sort those. Is that going to give me a more efficient algorithm?
合并起来,而那些小列表,我又会把他们拆成更小的列表,再排序,这会给我,一个更高效的算法么?
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.
好了,二分搜索也许是,最简单的分治算法,这意味着什么?,也就是说,为了解决一个问题,把它切割成小的问题,然后再来一个个解决。
A group of people starts a business and they say, let's divide up the proceeds.
一群人想要做一笔生意,他们说,我们把钱分了吧
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么?,对数次,对吧?就像刚才那位同学说的那样?
Divide each of these into a list of size 1, done.
将它们划分为只有1个元素的序列,好了。
Well, it might be that this signal is a signal to divide.
这可能是那些让细胞开始分裂的信号
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%一半的券息
应用推荐