Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <set>
- //#include <bits/stdc++.h>
- using namespace std;
- int main() {
- set<int> st;
- st.insert(10);
- st.insert(20);
- st.insert(10);
- st.insert(20);
- for(int x : st) {
- cout << x << " ";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement