제출 #621316

#제출 시각아이디문제언어결과실행 시간메모리
621316chinmoy_101마라톤 경주 (COCI14_utrka)C++14
80 / 80
206 ms10372 KiB
#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; map<string, int> m; for(int i=1; i<=n*2-1; i++) { string a; cin>>a; m[a]++; } for(auto x : m) { if(x.second%2!=0) { cout<<x.first <<"\n"; return 0; } } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...