Advertisement
Josif_tepe

Untitled

Feb 5th, 2023
635
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. #include <iostream>
  2. #include <algorithm>
  3. #include <vector>
  4. #include <cmath>
  5. #include <set>
  6. #include <array>
  7. using namespace std;
  8.  
  9. int main() {
  10.    
  11.     set<pair<int, int> > st;
  12.     st.insert({1, 2});
  13.    
  14.     for(auto x : st) {
  15.         cout << x.first << " " << x.second << endl;
  16.     }
  17.    
  18.     return 0;
  19. }
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement