You will be able to infer from some of our code how in fact you can implement some more sophisticated programs.
你可以从一些代码中推断出,应该要怎样实现一些较复杂的程序。
And that's what I came here to do is grow and build the,
我过来就是要做这些,来实现
And so if you choose to elect the hacker edition of this week's problem set the challenge will be to figure out not only how to implement the game but how to implement a solver for the game.
因此,如果你选择这周的应用题目为升级版,那么你将面临的挑战,不仅是如何实现这个游戏,而且,要实现此游戏的解决方法。
One of the important ideas behind in this book, "Acts of Faith", is that, you say, we should be approaching this with the same kind of urgency and the same kind of resources.
信仰行为》这本书蕴含的一个重要观点,据您所说是,我们应该实现这个目标,这同样十分迫切,我们要利用相同的资源。
OK. So to do this, we're going to have to do a couple of things. All right, the first one is, what do we mean by input size?
好,为了实现这种方法我们,有些事情要做,第一件事情就是,当我们说到输入的大小的时候代表了什么呢?
I want to get to there starting from real sodium and real chlorine.
我们要实现这一步,从实际的钠和实际的氯开始。
A boy who's bullied by his father may hate his father and want to hurt him but since this would--this is very shameful and difficult.
屈于父亲权威下的男孩,可能会憎恨他的父亲,想要伤害父亲,但这个想法是可耻的,也是难以实现的。
What are the engineering problems to overcome to get that to work?
要想实现这项技术,我们要先攻克什么工程难题
It also requires getting the outsides right-- whatever that comes to-- having in your life not just experiences but the right kinds of goods or accomplishments or whatever term we use for it.
它还要获得外部实现-,不管是哪方面-,你的生活不仅要有美好的经历,还有要合适的物品,或者合适的成就诸如此类。
We try to live that.
我们想要实现这一点。
And there are lots of solutions that chemists come up with -- there's always new techniques that allow us to do this, and these are just some of the first, and we'll go through them in a little bit of detail here.
的情况下研究或者发现它们,化学家们想出了很多的办法,人们发明新的技术来实现它,这些是最早遇到的一些问题,我们要稍微来,研究下它们的细节。
You have to do it awfully fast to get your irreversible compression.
我们要压缩得非常快,才能实现不可逆压缩。
What am I trying to accomplish in here?
我在这里究竟要实现什么价值
> David: Yes, if you really, if you want to reimplement the solution from last where whereby it was buggy, you can absolutely say take the address of x then go there, thereby undoing all of the work you just did.
>,大卫:是的,如果你的确,如果某个地方有bug,你想要重新,实现那个解决方案,你绝对可以通过x的地址,定位到那里去,然后撤销你刚做的所有工作。
And the obvious question I could start with is, and suppose I ask you, how long does the algorithm implemented by this program take to run?
我开始这个话题的第一个问题是,假设我问你,由这个算法实现的程序大概,要运行多久才能给出答案?
But he also encourage people not to study philosophy, or not to end there, and to go study and do something that would actually fulfill the ethical mandates of philosophy.
但是他却告诉人们不要去学哲学,或是不要局限于哲学,而是要学些别的东西,因为其他的知识可以,实现哲学提出的道德任务。
One of the inputs to the problems we're gonna be working on this semester and if you continue on in this world how much thought it takes to implement something, how much time it takes to run something, how much space it takes to run something?
我们将在本学期集中探讨这些问题,或者在课程之后你们也可以继续研究,为实现一些功能要有多少想法,在运行过程中又将花费多长时间,需要多大的空间?
Now to make that happen, it's not adiabatic, right. If I wanted to do that, I'd need a heating element or something to cool, so I could make that temperature change happen, right.
要实现这点,它就不会是绝热的,对吧,如果我想做到这点,我需要一个加热元件或什么制冷的东西,这样我才能让温度变化。
So we want to write programs to do that.
为了实现这一目标我们要去写一个执行程序。
So this code is identical functionally nonswitch c to the last implementation we saw, nonswitch.c, but I'm just ever-more emphatically saying, "In case 1," that is when n equals 1 -- or when case 2 applies -- when n equals 2 or when n equals 3 do what?
所以这些代码到最后的实现上,功能是,完全相同的,但是我想要再次强调一下,“在case,1“,那是当n等于1时1,或者当case,2适用-,当n等于2或者当n等于3,它将做什么?
应用推荐