If it's there, I'm done, if not, I keep walking down, and I only stop when I get to a place where the element I'm looking for is smaller than the value in the list., in which case I know the rest of this is too big and I can stop.
并且保持遍历,我只在当当前位置的数组元素,大于目标数时停止,这意味着剩下的元素都比目标元素大,但是其他的情况,我还是要遍历完整个数组。
The problem only arises if you have an int divided by an int.
这个问题只会发生在,当你用一个整型数除以一个整型数的时候。
All right, we were counting basic steps.
好,我们只数了数基本的步骤。
Core electrons are all those electrons held in really tight with the nucleus in the inner shells, whereas the valence electrons are only those electrons that are in the outer-most shell, or at your highest value of n of the principal quantum number.
芯电子是那些,在内壳层被原子核束缚得非常紧的电子,而价电子只包括,最外层的电子,或者说主量子数,n,的值最大的那些电子。
应用推荐