After we took some from these guys, we decided that it is OK to go a few months in cash flow negative while... But very barely cash flow.
当风险投资资金到位之后,有几个月现金流出现负值也可以接受,但其实没有什么现金流。
So, it's a trivial matter, by looking at what is the weight and how far does it drop, to say OK, how much work is done by the paddle wheel.
好,让我们看看重物的质量,以及它下落的距离,就知道桨轮做了多少功。
And I have this, to write it out, this is order the length of the list squared, OK?
我得写下来,这是把列表的长度平方,对么?
Let's check it out. I've written a little bit of a test script here, so if we test cell sort, and I've written this so that it's going to print out what the list is at the end of each round, OK.
我们来检查检查,我写了一个小测试脚本,我写这个脚本来测试单元排序,它能够打印出每一轮结束后,链表的是什么样子的。
And nothing else is going to make a significant contribution to it, OK?
并没有什么其他的因素,会对它有明显贡献?
If it is, OK. Set the answer to true.
这意味着当下一次经过这个循环的时候。
Convention, OK, this negative sign is just a pure convention. You just got to use it all the time. If you use an old textbook, written when I was taking thermodynamics, they have the opposite convention, and it's very confusing. But now we've all agreed on this convention, and work is going to be with the negative sign here.
系统对外界做功的符号为负,这就是我们,在本课中的规定,纯粹出于统一符号的需要,有些教科书中,可能会使用相反的符号规定,注意不要混淆了,这门课上,我们将一直使用。
And yeah, I know it comes built in, that's OK, what we want to do is use it as an example to look at it.
对,我知道这个方法可以通过内置的算法,来实现,这没关系,我们只是,把它当做一个例子来讲解。
So first of all, I've got to be careful about the end test. But the second thing is, OK, if it stops whenever this is less than two, am I convinced that this will always halt?
小心最后一次比较,其次,如果少于两个元素程序停止了,我们能确信这总是应该终止的么?,答案是肯定的,因为我在做什么?
So I take 2 plus 3 b steps to go through this loop OK. So if b is 300, it takes 902 steps.
好,如果b是300的话就是902步,如果b是3000那就有9002步。
First of all, two parameters. It's OK. All it says is, when I call this, I need to pass in two parameters for this to work. All right? Now, if I want to use that, I'm going to use a second piece of code here, called Barnyard. I'm going Barnyard to read in a couple of values, convert them into integers, and then I'm going to use solve to get a solution out.
注意我得到了什么,第一,两个参数,它的意思就是我调用这个函数,我得给它输入两个参数,明白了吗?,现在如果我要使用它我得用,这里的第二段代码,也叫,我将读入一组值,将它们转化为整型,然后我会用solve得到一个解决方案。
应用推荐