MCPcopy Create free account
hub / github.com/Vishruth-S/CompetitiveCode / main

Function main

Codeforces_problems/Subset Mex/solutions.cpp:42–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 return b+c;
41}
42 int main()
43 {
44 optimize();
45 int t,i,m;
46 cin>>t;
47 vector<int>v;
48 for(i=1;i<=t;i++)
49 {
50 cin>>m;
51
52 while(m--)
53 {
54 int x;
55 cin>>x;
56 v.push_back(x);
57 }
58 cout<<calcu(v)<<endl;
59 v.clear();
60
61 }
62 return 0;
63 }
64
65
66

Callers

nothing calls this directly

Calls 1

calcuFunction · 0.85

Tested by

no test coverage detected