There are definitions based on form, circularity, symmetry, economy of form, lack of economy of form, and repetition.
有些定义是基于形式,循环,对称,形式的精简与否,重复。
At the end of the first round, I've got the smallest element at the front. At the end of the second round, I've got the smallest two elements at the front, in fact I got all of them sorted out. And it actually runs through the loop multiple times, making sure that it's in the right form.
看看发生了什么,在第一轮结束后,我把最小的元素移到了前面,第二轮结束后,我把最小的,两个元素移到了前面,实际上,所有的元素都排好序了,实际上,这个算法运行了几次循环,确认下这是正确的形式。
In this case, it's doing the check on the remainder and printing them out.
请注意,几乎一样的形式:,首先挑出在循环中会改变的变量。
应用推荐