So in fact if I run this, ah, and save it, and it prints out odd.
因此实际上如果我运行这个,啊,先保存它,然后它输出奇数。
To sort of give you a quick taste, if after my death I won't exist, how could anything be bad for me?
让你们先来体会一下,如果在我死后,我不存在了,对我来说怎么会有坏事情?
Let's look--just to begin with, if you brought your books--let's look at the cover of this book.
首先,如果你们带了书,先看看这本书的封面。
All right, so hopefully if you see any other combination of quantum numbers, for example, if it doesn't quickly come to you how many orbitals you have, you can actually try to write out all the possible orbitals and that should get you started.
所以希望你们如果遇到,任何其它的量子数组合的问题,如果你们不能马上想到有多少个轨道,可以试着先写出所有的轨道,这是个不错的切入点。
If I come into this code, I'm going to check this branch first, if it's not true, ah, there's a return at the end of that branch. If it is true, I do that, and then I've got a second test. If it's true, return I return, otherwise a return.
但是如果我们看看这里,如果我看这段程序,我会先检查这一部分,如果它是假的,啊,这部分分支结尾有一个。
So if you know the answer and know what the fix is don't answer this.
如果知道答案,知道问题的关键所在,先不要说出来。
If you guys are coming in a little late, don't worry about submitting the homework.
如果你们上课来迟了,就先别急着交作业
To make insulin, for example, your cells of your pancreas have to be transcribing that gene, it has to be processed, has to be translated into the protein insulin.
举例来说,如果要合成胰岛素,你的胰腺细胞必须先转录那一段基因,然后进行加工,继而翻译成为胰岛素蛋白
So, in particular, let's start working out what share of the votes you'd get if you chose position 1 or position 2, against different positions the other guy can choose.
先来看看如果你选择立场1和2,在你对手选择不同立场时,你分别能获得多少选票
So I'm going to ask you to come at the New Testament,though, from the outside. If you feel like you know something about it, put those aside for the moment, because when we do the class we'll be trying to get you to see this document as if for the first time, to see early Christianity completely as if for the first time.
所以我要求你们客观地研究新约,如果你觉得你对它略知一二,就请先遗忘片刻,因为我希望你们上课阅读文本时,当做与其第一次接触,第一次接触早期基督教。
The reason for that is, if you are just engaged in a single crop farming, well you plant it, you take care of it, and then when the times comes you reap it.
其中的原因是,如果只是种庄稼,你先播种,接着你好生照料它们,然后成熟时收割它们
Any of you who have access to a four- or five-year-old, a sibling or something-- Do not take one without permission, but if you have access to a four- or five-year-old you can do this yourself.
如果你身边有四五岁大的孩子,兄弟姐妹什么的,一定要先得到同意再去试验,如果你身边有四五岁大的孩子,你可以自己去试试
if you really have some trouble with DVD then Ok, put it in and if I'm not back start it anyhow and I'll try very hard to be here in the meantime,could you make out the card
如果有什么问题的话,如果我没及时赶过来的话,下次把它先放一下,无论如何把它放了,我下次也尽量赶过来,啊,你看一下这个卡
If that opportunity comes up for you maybe you want to check into the policies of how that works with the doctor situation now.
所以这还是很危险的,如果你们有拿诺贝尔奖的机会,你要先确认一下。
Notice that. It's a less than or equal to.
如果我先测测只有一个元素的情况呢?
OK, so that's still comes back to my question.
如果我想搜索,我应该先排序再搜索么?
If not,I'm about to spoil the plot for you.
如果没有,我只好先泄露一点剧情了。
c We know it's very specific for light because in this equation is c, the speed of light. So any time you go to use this equation, if you're trying to use it for an electron, just ask yourself first, does an electron travel at the speed of light?
我们知道它只对光适用是因为在这个方程里有,光速,所以下次你们用这个方程前,如果你们要把它用到一个电子上,先问问你自己,电子的运动速度是光速吗?
So, if you can flip your lecture notes over and just write on the blank space, we're going to cover electronegativity first here, and specifically, you can go back and fill this in to your lecture 9 notes, if you want to stay organized, but I just suggest just writing it on lecture 10 notes now and going back.
因此,请大家把讲义翻到背面,就在空白处做一下笔记,我们要先讲一讲电负性,特别提醒一下,大家可以,回到第九课的讲义并把这些记在那里,如果你想保持条理性的话,但是我建议大家先写在第十课的讲义上,回去再记到第九课的讲义上。
So if we were to write this in terms of energy, 4 s 2 we would actually have to rewrite it has 3 d 3, and then 4 s 2.
因此,如果我们按照能量的顺序来写的话,我们应该先写,3,d,3,然后才是。
In the linear case, meaning in the unsorted case what's the complexity of this? k times n, right? Order n to do the search, and I've got to do it k times, so this would be k times n.
复杂度是多少?k的n次方,对吧?,在序列n中做搜索,要做k次,所以是k的n次方次,如果先排序后搜索。
int So whereas before I mentioned int, turns out if you wanna put a string in a variable, you have to say this is a string.
先不管我之前提到的,如果你想把一个字符串赋给某个变量,那你必须事先声明这个变量是string类型的。
If you want to call something as A + B, it means that I did A and then I did B.
如果你想某个量称为 A + B,它表示我先沿着 A 走,然后是 B
How about this guy? I draw A, then I draw another A.
如果这样做会怎样呢,我先画矢量 A,然后再画一个矢量 A
So conceptually the key difference here, besides the syntax looking slightly different, it just means that if you want a chunk of code to execute no matter what initially, ; you can use the do while loop; if you want to check a condition first, you can use the while loop.
所以概念上,则关键的区别是,除了语法看起来有点不同,它的意思是如果你想要一段代码,最初无论如何都要执行,你就可以用do,while循环;,如果你想要先检查条件,你可以用while循环。
On the other hand, if I want to sort it first, OK, if I want to do sort and search, I want to sort it, it's going to take n log n time to sort it, and having done that, then I can search it in log n time.
我先排序,好的,如果我想排序再搜索,我要排序,这需要花n,log,n时间排序,然后做完了,我们能花log,n时间搜索,啊,哪一种更好呢?恩,呵呵。
I've got to test to see if I'm in the base case, and if I'm not, then I need to move a tower of size n minus 1, I need to move a tower of size 1, and I need to move a second-sorry about that a second tower of size n minus 1.
首先我看看我是不是在最基本的情况,如果不是的话,我得先做一个N-1个,圆盘的移动,移动一个圆盘,然后再做一次N-1个圆盘的移动。
If I want to move this stack here, I'm going to take a stack of size n minus 1 move it to the spare spot, now I can move the base disk over, and then I'm going to move that stack of size n minus 1 to there. That's literally what I did, OK?
如果我想移动这些圆盘,我先把从n-1个圆盘1,移动到多余的柱子上去,这样我就能把最底下的圆盘放到这儿了,然后再把从n-1个圆盘放到这儿来,这就是确切的我怎么做的对不对?
应用推荐