Advertisement
Guest User

test

a guest
May 20th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.52 KB | None | 0 0
  1. int main() {
  2.     /* TODO: Add testing code here! */
  3.    
  4.     Vector <Set<string>> locations;
  5.     Set <string> first;
  6.     first += "A", "B";
  7.     Set <string> sec;
  8.     sec += "B";
  9.     Set <string> third;
  10.     third += "C";
  11.     locations.add(first);
  12.     locations.add(sec);
  13.     locations.add(third);
  14.     Set <string> cities;
  15.     cities.add("A");
  16.     cities.add("B");
  17.     cities.add("C");
  18.     int numHospitals = 2;
  19.     Vector <Set <string> > result;
  20.     cout << canOfferUniversalCoverage(cities, locations,numHospitals, result)<< endl;
  21.     cout<<result<<endl;
  22.     return 0;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement