Obama's got a problem with the Democrats. He's got a different kind of problem the Republicans, and I think there is every reason to think that Obama would like for the build-down to be meaningful."
VOA: standard.2010.07.30
What you're much better at doing is saying how do I take the problem I've got and map it into a class of algorithms about which I know and use the efficiencies of those to try and figure out how to make it work.
当你碰到问题的时候,更好的方法是把遇到的问题映射,到已经设计好的算法中去,并用这些算法来提高效率,来保证问题得到解决。
I know, for a lot of you, it's like, OK, I got a heavy problem. Let's see, def Foobar open paren, a bunch of parameters.
我知道这对你们中的大多数人来说,应该没问题了,好,这儿我碰到了,一个严重的问题,我们看看,一堆参数。
We've got, I believe a real problem on our hands in the economy.
我相信,在经济方面这次我们真遇到了麻烦。
But the Greek tragic view does not take either of these routes, which I regard as a relatively easy escape from the problem compared to the way the Greeks got stuck.
但希腊的悲剧意识对这两种套路都不接受,在我看,相对而言,与其困扰于此,古希腊人更愿意逃避这个问题
But I've got a problem.
但我有问题。
I stress it in particular because I know you're all going to get into this stage; you've got a problem set due in a couple of hours, you're still writing the code, you don't want to waste time, and I'm going to use quotes on "waste time", doing those extra things to do the defensive programming, you just want to get the darn thing done.
我特别强调了这一点,因为我知道你们都会慢慢成为程序员;,你在写代码过程中造成了一系列的错误,你还在写代码,你不想浪费时间,我想把“浪费时间“用引号圈起来,浪费时间来做因为防卫性程序设计,而带来的这些额外的事情,你只想赶紧把程序写完,这不是一个好习惯,因为当你做完回头。
If I'm running at nanosecond speed, 1000 n, the size of the problem, whatever it is, is 1000, and I've got a log algorithm, it takes 10 nanoseconds to complete.
如果这个问题的规模,也就是n,是,如果这个问题是对数级的,这将会占据10纳秒的时间,你一眨眼的时间。
I've got one test, I've got a subtraction, I've got a multiplication, that's three steps, plus whatever number of steps it takes to solve a problem of size b minus 1.
我进行了一次比较,一次减法,一次乘法,一共是三个步骤,再加上t的步骤数。
So what I'm leading up to here is that we've got a problem.
假设实际上p1和p2是,我用极坐标形式表示的。
应用推荐