For anyone wondering - one should add
minb = min(b, minb);
after
overlapingmin.push_back(make_pair(a, b));
for the code to work :)
Read more… (14 words)
For anyone wondering - one should add
minb = min(b, minb);
after
overlapingmin.push_back(make_pair(a, b));
for the code to work :)