与快速排序算法有关的位运算
The bitwise operations related to a fast sorting algorithm
摘要:
在这项工作中,我们讨论了在编程中使用按位操作的好处。在这方面,已经展示了一些有趣的例子。详细描述的是一种用于对整数数组进行排序的算法,该算法实质上使用了按位操作。除了它的正确性,我们严格证明了所描述的算法在时间O(n)。在工作中,在实现的每一个检查算法,我们使用的设备的面向对象的编程与语法和语义的程序设计语言C++。
英文摘要:
In the work we discuss the benefit of using bitwise operations in programming. Some interesting examples in this respect have been shown. What is described in detail is an algorithm for sorting an integer array with the substantial use of the bitwise operations. Besides its correctness we strictly prove that the described algorithm works in time O(n). In the work during the realisation of each of the examined algorithms we use the apparatus of the object-oriented programming with the syntax and the semantics of the programming language C++.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。