swap I'm going to keep track of a little variable called swap, it's initially true, and as long as it's true, I'm going to keep going, but inside of the loop I'm going to set it to false, and only if I do a swap will I set it to true.
我打算跟踪一个小的变量称为,初始值为真,只要它是真的,算法就会继续,但是在循环里,我打算把他设为假,除非交换发生,就把它设为真。
I can't believe your brother is a lawyer.
我真不敢相信你的哥哥是一个律师。
He was a Yale graduate, class of 1914 and unfortunately I seem to have misplaced-- Well, I can generate a little bit of it here.
他是耶鲁1914级的毕业生,真不巧,我找不到乐谱了,好吧,我试着弹一段吧
The reason why you're feeling that way is because the barista made a mistake and gave you caffeinated espresso when you asked for decaf " or maybe you just love me." Right.
原因在于,店员犯了错,给了你带双倍咖啡因的咖啡,而不是无咖啡因的,或者你是真爱上我了。
I became so obsessed with it that we drove up there so I could visit every school at which she had taught, and we actually found somebody who-- we knew he wouldn't like her because he was sweeping out the church, he worked for one of the churches, and she was very anti-clerical.
我实在太着迷于是就开车去了那,这样我就能去看她教过的每所学校,而且我们真发现一个人,我们知道他肯定不喜欢她,因为他当时正在打扫教堂,他在教堂工作,而她是反教会的
That's 1800 times faster. But the real one that blows me away is, it has 2 gig of memory inside of it. That's 12 thousand times more memory. Oh, and by the way?
比以前快了1800倍,但是真让我感到吃惊的是,它有2G的内存,这是以前的12000倍,顺便说一句我的?
I'm doing a test there to say, x if the string x is less than the value of b, and x does not appear before b as strings, then I was going to do, oh, a couple of things, because they're at the same block level.
我正在做一个测试来看看,字符串,是不是小于b的值,而且x不在b之前作为字符串出现,如果是真的话我就要做,一系列的操作,因为他们是在同一个块等级上。
And then I run a loop in which I read something in, I check to see if it's the right type, if it is, I change that variable to say it's now the correct type, which means the next time through the loop, I'm going to say I'm all set and I'm going to bounce out.
因为我还没输入,然后我运行一个循环,循环内部我输入一些东西,然后看看是不是正确的类型,如果是的话我改变input,Ok为真,来证明输入数是正确的类型,这就意味着下一次运行这个循环的时候,就可以跳出循环继续执行了。
应用推荐