mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-07 05:42:03 +08:00
Update sorting/count_inversions.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -184,7 +184,7 @@ void show(T* arr, const int array_size) {
|
|||||||
* @brief Test implementations
|
* @brief Test implementations
|
||||||
* @returns void
|
* @returns void
|
||||||
*/
|
*/
|
||||||
void test() {
|
static void test() {
|
||||||
// Test 1
|
// Test 1
|
||||||
std::vector<int> arr1 = {
|
std::vector<int> arr1 = {
|
||||||
100, 99, 98, 97, 96, 95, 94, 93, 92, 91, 90, 89, 88, 87, 86, 85, 84,
|
100, 99, 98, 97, 96, 95, 94, 93, 92, 91, 90, 89, 88, 87, 86, 85, 84,
|
||||||
|
|||||||
Reference in New Issue
Block a user