func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n;     cin >> n;     set<string> a;     vector<string> s(n);     for (int i = 0; i < n; i++) {       cin >> s[i];     }     for (int i = n - 1; i >= 0; i--) {       if (a.count(s[i]) == 0) {         cout << s[i] << endl;         a.insert(s[i]);       }     }     return 0;   }   