Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Sorting using lambda expression
- std::sort(styczne.begin(), styczne.end(), [](Okrag o1, Okrag o2) { if (o1.x == o2.x) return o2.y <= o1.y;
- else return o1.x <= o2.x; });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement