We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
C++14
I used the fact that the solution has to come from the set of two consecutive entries of the sorted input in descending order
i tried to find a bijection : entry -- its index position in the input in the first couple lines of code, feel free to inform me if there is a better way to do so
Minimum Loss 1
You are viewing a single comment's thread. Return to all comments →
C++14 I used the fact that the solution has to come from the set of two consecutive entries of the sorted input in descending order i tried to find a bijection : entry -- its index position in the input in the first couple lines of code, feel free to inform me if there is a better way to do so