You are viewing a single comment's thread. Return to all comments →
can u explain i = upper_bound(v.begin(), v.end(), v[i]+4) - v.begin() statement? i mean how is an pointer being assigned to i???
Priyanka and Toys
You are viewing a single comment's thread. Return to all comments →
can u explain i = upper_bound(v.begin(), v.end(), v[i]+4) - v.begin() statement? i mean how is an pointer being assigned to i???