Again, same kind of reasoning says, given some value x, I happened to pick a small one here, what's an easy way to do this? Well, let's just start at one. That's my variable I'm going to change and check.
好,尤其是,让我们到这里来,让我给大家看看第二个例子,让我把这个注释掉,这是我要解决的,第二个问题,假设我想找到一些整数的,所有除数,我想要找出来这个数的所有的除数。
Well, it's like, it's just like one of the main streets in Berkeley. And it's pretty unique
那是伯克利的主要街道之一。那条街道很独特,
Well, I mentioned that this was just sort of a more modern observation of one that had been made in the past.
我提到过这只是过去所做的观察里,较为先进的一个
The Greeks, in Homer's world, seem to regard one just about as well as they do the other.
荷马时期的希腊人,似乎和看重其他品质一样,看重这个品质
Well no, hang on a second. Just slow down a second, that's a good one.
问得很好,我们一会再来回答
Well, one, it just starts to look ridiculous, frankly.
第一,坦白的说,这开始看起来很荒谬。
Well, one thing we can do is just that.
我们能做的一件事是。
And he says this about his own little research: "I shall not hesitate to put down for you with my interpretations whatsoever things I well learned at one time from the Presbyters," just meaning the old guys,elders,"and well remembered, confidently asserting truthfulness for them.
对于他自己的研究,他这样说:,“我会毫不犹豫地写下,我曾经从长老那里学到和记住的,一切东西,而且加上我的诠释“,长老指长者,前辈,“并自信地肯定他们的真实性。
So we can also show them coming together this way, so now you're looking at it where you can see the p orbital, and maybe just see well one of the hydrogen atoms.
我们也可以看到它们从这个方向靠拢,现在你看的方向你可以看到p轨道,也许可以看到一个氢原子。
Well let's see. My fall back is, I could just do linear search, walk down the list one at a time, just comparing those things. OK. So that's sort of my base. But what if I wanted, you know, how do I want to get to that sorted list? All right?
我只能做线性搜索了,一次遍历一遍列表,一个一个比较,但如果我想要,那怎样得到有序的列表呢?,现在的一个问题是,我们排序之前?
They also have government-issued notes and that's from one to ten years and bonds this is just jargon- these are ten or more, well actually more than ten.
中期债券期限通常是,一年至十年,这些都是行话,长期债券期限,在十年以上
Well, the one that I'm most familiar with is Talisman, and they're just really, really good.
好的,我最熟悉的一个叫塔利斯曼,他们真的非常非常棒。
Well, for one, just do it.
一件事,就是去做。
Well one way is to do just exactly what we talked about before.
一种就是我们刚才说过的方法
Well, what's nice about this program is that there's just one function, main, so we don't need to draw the stack and get things all complicated.
这个程序的优点是,这里只有一个函数main,这样我们就不需要,画出堆,也不用那么复杂。
One possibility, of course, is, why not say that people are just robots as well and we get our commands from outside?
当然有一种说法是,为什么不说人类也是,也是由外部指令控制着的机器人呢
It's just a few lines here and I'll introduce one new function as well.
只是几行,我也将引进一个新的函数。
Well, there's this funny glitch here between three-month and one-year, but then it just continued to decline.
虽然在三月到一年期债券间有个小波折,但整体趋势是向下的
Well it turns out a bunch of years ago people just decided that if we have the ability to express numbers and we actually care about expressing letters of the alphabet, well we just need some kind of mapping between one and the other, ASCII and so thus was born what's generally called the ASCII.
结果证实,数年前,人们觉得如果我们,有数字表达能力,而我们真正在乎其实是字符的表达,那么我们就需要数字和字符的某种对应关系,于是就有了俗称的。
But just go to cs50.net, click office hours and you'll see the Google Calendar with all of the office hours that are still happening tonight, as well as tomorrow and these are just an opportunity to chat, to ask questions one on one with the teaching fellows or course assistants or frankly just a way to hang out during brain break and work on projects and then see what some of your friends might be tackling themselves.
但是我要提醒大家去cs50,net网站看看,这里清清楚楚告诉你,什么时候该学习工作,当然也包括今晚的明天的,我们还有一个机会供,一个与研究生助教或课程辅导员交流的机会,更直白来说,是提供你们开小差的机会,看看你们周围哪些人,在开小差呢。
应用推荐