func_code_string: #include <bits/stdc++.h>   using namespace std;   string name[101];   vector<string> seen;   bool see = false;   int m, n, i, j;   int main() {     cin >> n;     m = n;     i = 1;     int k = 0;     while (n > 0) {       cin >> name[i];       i++;       n--;     }     for (i = 1; i <= m; i++) {       see = false;       for (vector<string>::iterator it = seen.begin(); it != seen.end(); ++it) {         if (name[i] == *it) {           cout <<  YES  << endl;           see = true;           break;         }       }       if (see == false) {         cout <<  NO  << endl;         see = false;         seen.push_back(name[i]);       }     }     return 0;   }   