Advertisement
newb_ie

Untitled

Oct 11th, 2021
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. #include "bits/stdc++.h"
  2. using namespace std;
  3.  
  4. const int64_t mod = 998244353;
  5.  
  6. int main () {
  7. ios::sync_with_stdio(false);
  8. cin.tie(nullptr);
  9. cout.tie(nullptr);
  10. int T = 1;
  11. //~ cin >> T;
  12. for (int test_case = 1; test_case <= T; ++test_case) {
  13. //~ int n;
  14. //~ cin >> n;
  15. //~ int a[n + 1],b[n + 1];
  16. //~ for (int i = 1; i <= n; ++i) cin >> a[i];
  17. //~ for (int i = 1; i <= n; ++i) cin >> b[i];
  18. set<int> st;
  19. st.insert(10);
  20. st.insert(20);
  21. st.insert(30);
  22. //~ st.begin(), st.begin() + 1,st.begin() + 2,st.end();
  23. //~ auto it = st.begin(); //first elem
  24. //~ int n = (int) st.size();
  25. //~ advance(it,n - 1);
  26. //~ auto it = st.end(); //out of boundary
  27. //~ --it;
  28. //~ cout << *it << '\n';
  29. //~ cout << *st.rbegin() << '\n';
  30. }
  31. }
  32.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement