func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     long long a;     cin >> a;     map<string, long long> arr;     for (long long i = 0; i < a; i++) {       string s1;       cin >> s1;       arr[s1] = -i;       arr.insert(pair<string, long long>(s1, -i));     }     vector<pair<long long, string>> ar1;     for (auto it = arr.begin(); it != arr.end(); it++) {       ar1.push_back(make_pair(it->second, it->first));     }     sort(ar1.begin(), ar1.end());     for (auto it = ar1.begin(); it != ar1.end(); it++) {       cout << it->second << endl;     }   }   