Update sorting/count_inversions.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Rakshit Raj
2020-11-29 22:29:08 +05:30
committed by GitHub
parent c381a07112
commit b51af5e8ba

View File

@@ -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,