You are viewing a single comment's thread. Return to all comments →
why you put *min_element(begin(arr)+1, end(arr))
why not *min_element(begin(arr), end(arr));
Seems like cookies are disabled on this browser, please enable them to open this website
Minimum Absolute Difference in an Array
You are viewing a single comment's thread. Return to all comments →
why you put *min_element(begin(arr)+1, end(arr))
why not *min_element(begin(arr), end(arr));