#include #include using namespace std; // Returns true if the string s is contained // within the array A of length N. Returns // false otherwise bool contains(string *A, int N, string s) { for (int i=0; i