Once each time. Right? I only do one swap potentially, it-- though not one potentially, each time at the end of the loop I do a swap.
每次循环做一次,对么?我其实,就可能做了一次交换,也许并不是可能,每次循环的结束我都得做一次交换。
Well, this question mark becomes an O, this question mark becomes an O, and then the loop terminates 0 1 2 because it's iterating from zero to N so that's zero, 1, 2 and the length of the string is 3 so the loop terminates, but I remember that I needed to have this special sentinel value so I'm just going to put it there manually.
嗯,这个问号变成了,这个问号变成了0,然后循环结束了,以为迭代从0到N,那就是,字符串的长度是3,然后循环就结束了,但是我记得我需要这个特殊的标记值,所以需要手动的加上它。
Cv The only difference is it'll be Cp instead of Cv, B but there it is for pathway B. There it is for C a pathway C. So the state functions that we're familiar with are doing what we expect they ought to be doing, right? If you go around in a cycle, starting and ending at the same place the state functions have to stay the same.
是Cp而不是,这是路径,这是路径,所以我们熟悉的态函数的行为,正与我们预期的相同,对吧?,如果你沿着循环走一圈,开始和结束于同一个位置。
应用推荐