제출 #596625

#제출 시각아이디문제언어결과실행 시간메모리
596625Hussein3600마라톤 경주 (COCI14_utrka)C++14
80 / 80
171 ms10292 KiB
#include<bits/stdc++.h> using namespace std ; typedef long long ll ; map<string,ll>mp ; int main() { int n ; cin >> n; for(int i=0;i<n;i++) { string s ; cin>>s ; mp[s]++; } for(int i=0;i<n-1;i++) { string s ; cin >> s ; mp[s]--; } for(auto x:mp) { if(x.second>0) { cout<<x.first<<endl; } } }
#Verdict Execution timeMemoryGrader output
Fetching results...