Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <algorithm>
- #include <vector>
- #include <cmath>
- #include <set>
- #include <array>
- using namespace std;
- int main() {
- set<pair<int, int> > st;
- st.insert({1, 2});
- for(auto x : st) {
- cout << x.first << " " << x.second << endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement