Still quadratic, right? I'm looking for the worst case behavior, it's still quadratic, it's quadratic in the length of the list, so I'm sort of stuck with that.
还是平方,对吧,我在寻找最坏的情况,它还是平方,它是列表长度的平方,我对此有点无奈了。
And we're spoiled out here. That's how we do it here in Los Angeles.
我们都被惯坏了。我们在洛杉矶就是这样。
And one thing that seems intrinsically bad, one thing that seems to reduce the value of a life, is pain.
有一样东西看似本身就是坏的,它似乎在减少生命的价值,是痛苦。
The second one is, a lot of the time, the worst case is the one that happens.
第二点就是,在很多情况下,发生的往往就是最坏的情况。
In our business, you got to be inventing new things because software doesn't wear out, it doesn't break, or at least if it breaks it was broken when you finished it, it doesn't break over time the way physical goods do.
在我们行业,你需要不断发明新事物,因为软件并不会磨损,不会坏,或者至少如果坏了,也是在你运行完之后,它并不像物理上的东西会随着时间磨损。
69KJ/moL Somewhere here, 569 over here, kilojoules per mole, 608 and by his formula he gets 608, which isn't bad, which really isn't bad at all.
在这儿,通过这个公式他得到,或许这并不坏,一点都不坏。
The Northern Kingdom Israel is going to come in for very, very bad press at the hands of the Deuteronomistic writers which shows that they probably favor or come from Judah So the northern kings are going to be uniformly denigrated.
北方王国以色列将会进入,一个非常坏的形象,在《申命记》作者的笔下,这表明他们可能喜欢或者来自于犹大,那么北方的国王们就全部都被诋毁。
The worst case scenario is less bad, is a way of saying it.
在坏形势下最好的选择是减少损失
If you have a laptop and I persuade you to open it up for me and I take the pliers and kind of snip just about anywhere, your laptop will be destroyed but the brain is actually more resilient.
假如你有台笔记本,我成功地说服了你,让你把笔记本拆开,然后我拿钳子,在笔记本里乱剪一通,那你的笔记本肯定就坏掉了,但是大脑具有更好的弹性
..I have kept hidden in the instep arch Of an old cedar at the waterside A broken drinking goblet like the Grail Under a spell so the wrong ones can't find it, So can't get saved as Saint Mark says they mustn't.
我还保存着一只坏了的高脚酒杯,埋在水边的一棵老树底下,像受了符咒的圣杯,使坏人找不到,如圣马可所说:他们因此不能得救。
And so you care-- you care about ultimately how much time is my algorithm gonna take to perform on that worst case running time.
因此你最终所关心的是,算法在最坏情况下需要多长的,运行时间。
You can see down here its affect on cholesterol levels: that the bad fats raise the LDL levels, the low-density lipoproteins levels, that's not good for you.
在下面你可以看到它对胆固醇含量的影响,坏脂肪会提高LDL含量,低密度脂蛋白含量,这是对身体不好的
and not spinning bad news in a way that, you know,
不要在坏消息上欺骗客户,
if something seems good or bad or whatever.
表示事情的好与坏,或在其他情况下,都可以使用。
To sort of give you a quick taste, if after my death I won't exist, how could anything be bad for me?
让你们先来体会一下,如果在我死后,我不存在了,对我来说怎么会有坏事情?
According to the deprivaton account, death is bad, when it's bad, because of the fact that it deprives us of the good things in life, insofar as we would have continued to get good things in life.
根据剥夺解释,死亡是坏的时才是坏的,因为它剥夺了我们生的美好,在我们还能继续从生命中获得美好时。
or the owner could go through several coats, but still at some point, the owner is going to die as well.
或者主人可以穿坏好几件大衣,但是在某一刻,主人依然会去世。
And I'll also remind you, and we're going to see this in the next example, we talked about looking at the worst case behavior. In these cases there's no best case worst case, it's just doing one computation.
我还要提醒大家的就是,我们也会在下一个例子里发现者一点,我们谈到了要去考虑最坏的情况,在下面这些例子里,没有好情况坏情况之分,就只是一次运算。
The other obvious one to do would be worst case. Again, over all possible inputs to this function, what's the most number of steps it takes to do the computation?
很明显另一种就是针对最坏的情况了,也就是在所有可能的输入,里面选出用的,步骤最多的那个输入?
Their bodies and brains are broken until God fixes them.
在上帝复活他们之前,身体和大脑都是坏的。
And this is useful because if you're actually writing a program that's interactive or that you want to change overtime much like you would a game, hopefully, the game is not going to have the bad guys, for instance, always standing in the same place or the rocks or whatever it is falling from the sky in the same place 'cause it would very quickly become a very tedious game.
这是很有用的,因为如果,写一个交互的程序或者,希望每次游戏都不一样,我们希望,游戏中的坏人物,别老是站在同一个地方或者同一块石头上,或者从天空中同样的位置落下,因为这立刻会使游戏变得乏味。
Argc I'm iterating on the outside from I to Arg C, zero to Arg C; I on the inside, I better not use I; otherwise bad things are going to happen.
我从I迭代到Argc,从0迭代到;,在里面,我最好不是用;,否则坏事情将会发生。
In fact, I dug up this from a few years ago it was actually pretty fortuitous like the day before one of CS50s lectures the original iPhone was cracked.
实际上,我在几年前,发现了这个,这是相当意外的,就像在一个CS50演讲前一天,我的iPhone,坏掉了。
I was just finding very tunnel vision-like, the smallest elements at that moment in time which means I don't know anything about the other elements other than they are not the smallest and so no matter what with Selection Sort I had to repeat this again and again and again and if you do out the math it's roughly N squared steps in the worst case as well.
我只有一个狭窄的视野,只知道某时刻的最小元素,就意味着我并不知道其他元素的任何情况,只知道它们不是最小的,所以不管怎样,在选择排序中,我就得一遍一遍地重复选择过程,在最坏情况下,大概需要N的平方次比较。
We've got all the same parts there, but the parts are now broken.
现在所有的元件都还在,只不过是被摔坏了
The engine is a prior existing part, so can we conclude then that from the fact that argument from recycling, cars get reused, get rebuilt, when cars get destroyed, its parts is still around.
发动机是之前就存在的一个部分,所以我们可否得出结论说,根据源于轮回的论证,汽车重复使用,重新组装,汽车坏了的话,它的零件还在。
应用推荐