Submission #498609

#TimeUsernameProblemLanguageResultExecution timeMemory
498609ahmeterenUtrka (COCI14_utrka)C++17
0 / 80
1 ms296 KiB
#include <bits/stdc++.h> using namespace std; const int N = 2e5 + 5; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); int n; cin >> n; map<string, int> mp; for(int i = 0; i < 2 * n - 1; i++) { string str; cin >> str; mp[str]++; } for(auto i : mp) { if(i.second == 1) { cout << i.first << '\n'; } } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...