# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1264448 | sohamsen15 | Utrka (COCI14_utrka) | C++20 | 87 ms | 8260 KiB |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
int n; cin >> n;
map<string, int> m;
for (int i = 0; i < 2 * n - 1; i++) { string s; cin >> s; m[s]++; }
for (auto [x, y]: m) if (y % 2 == 1) { cout << x; break; }
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |