Submission #76843

#TimeUsernameProblemLanguageResultExecution timeMemory
76843win11905Utrka (COCI14_utrka)C++11
80 / 80
345 ms18680 KiB
#include <bits/stdc++.h> using namespace std; int main() { multiset<string> S; int n; cin >> n; for(int i = 0; i < n; ++i) { string now; cin >> now; S.emplace(now); } for(int i = 1; i < n; ++i) { string now; cin >> now; S.erase(S.find(now)); } cout << *S.begin() << '\n'; }
#Verdict Execution timeMemoryGrader output
Fetching results...