MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / main

Function main

CPP/set & pair/set.cpp:11–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9
10using namespace std;
11signed main(){
12 set<string> s;
13 int n;
14 cin>>n;
15 for(int i=0;i<n;i++){
16 string z;
17 cin>>z;
18 s.insert(z);
19 }
20 s.erase("abc");
21
22 for(auto it:s)
23 cout<<it<<endl;
24
25
26 return 0;
27}

Callers

nothing calls this directly

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected