mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-03 10:35:34 +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
|
||||
* @returns void
|
||||
*/
|
||||
void test() {
|
||||
static void test() {
|
||||
// Test 1
|
||||
std::vector<int> arr1 = {
|
||||
100, 99, 98, 97, 96, 95, 94, 93, 92, 91, 90, 89, 88, 87, 86, 85, 84,
|
||||
|
||||
Reference in New Issue
Block a user