#include #pragma once // Called by the user solution, already implemented int compare(int i, int j); // Must be implemented by user std::pair find_positions(int n);