| # | Time | Username | Problem | Language | Result | Execution time | Memory | 
|---|---|---|---|---|---|---|---|
| 969631 | RandomUser | Utrka (COCI14_utrka) | C++17 | 141 ms | 8348 KiB | 
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
using namespace std;
int main() {
    int n;
    cin >> n;
    map<string, int> mp;
    string s;
    for(int i=0; i<2*n-1; i++) {
        cin >> s;
        if(i < n) mp[s]++;
        else mp[s]--;
    }
    
    for(auto &[S, C] : mp) {
        if(C > 0) {
            cout << S << '\n';
            return 0;
        }
    }
    return 0;
}
| # | Verdict | Execution time | Memory | Grader output | 
|---|---|---|---|---|
| Fetching results... | ||||
