func_code_string: #include <bits/stdc++.h>   using namespace std;   vector<set<int> > A;   set<int>::iterator it;   int main() {     int n, m, a;     cin >> n;     A.resize(n);     int D[101];     for (int i = 1; i <= 100; ++i) D[i] = 0;     for (int i = 0; i < n; ++i) {       cin >> m;       for (int j = 0; j < m; ++j) {         cin >> a;         ++D[a];         A[i].insert(a);       }     }     for (int i = 0; i < n; ++i) {       bool yes = 1;       for (int j = 0; j < n; ++j) {         if (i != j) {           bool y = 0;           for (it = A[j].begin(); it != A[j].end(); ++it)             if (A[i].count(*it) == 0) y = 1;           if (y == 0) yes = 0;         }       }       if (yes)         cout <<  YES  << endl;       else         cout <<  NO  << endl;     }   }   