这种模式只适用于行数为奇数的星条旗。
不管何时触动了该中断点,您都可以决定i是奇数的还是偶数的。
Whenever the breakpoint is hit, you can determine whether I is even or odd.
在奇数除法中,它不会保留小数部分,这就是它可用于测试奇数的原因。
In an odd number division, it does not retain the decimal part; this is why it can be used to test for an odd number.
I think it depends on whether the list is odd or even in length. Actually, that's probably not true. With one, it'll probably always get it down there, but if I've made it just equal to two I might have lost.
是奇数还是偶数,事实上,这是不正确的,如果最后剩下一个,那可能得到了结果,如果剩下两个,可能错了,所以,首先我们要格外。
It's just like if you restrict me to only a subset of numbers, only the odd numbers, still there's an infinity of odd numbers.
这就像,如果你把我限制在数字的子集,只是奇数,但奇数的数量却仍然是无限多的
Because it's now solving a one-smaller problem.
在上一步是奇数的基础上。
应用推荐