제출 #969633

#제출 시각아이디문제언어결과실행 시간메모리
969633RandomUser마라톤 경주 (COCI14_utrka)C++17
80 / 80
129 ms8236 KiB
#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; map<string, int> mp; string s; for(int i=0; i<2*n-1; i++) { cin >> s; if(i < n) mp[s]++; else mp[s]--; } for(auto &[S, C] : mp) if(C > 0) cout << S << '\n'; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...