Submission #201454

# Submission time Handle Problem Language Result Execution time Memory
201454 2020-02-10T15:39:09 Z EmmanuelAC Utrka (COCI14_utrka) C++14
0 / 80
5 ms 376 KB
#include<bits/stdc++.h>
using namespace std;

int main(){
  int n; cin >> n;

  set<string> ms;
  for(int i=0; i<n; i++){
    string s; cin >> s; 
    ms.insert(s);
  }
  
  for(int i=0; i<n-1; i++){
    string s; cin >> s;
    ms.erase(s);
  }

  cout << *(ms.begin()) << "\n";
}
# Verdict Execution time Memory Grader output
1 Correct 5 ms 376 KB Output is correct
2 Incorrect 5 ms 376 KB Output isn't correct
3 Halted 0 ms 0 KB -