제출 #163215

#제출 시각아이디문제언어결과실행 시간메모리
163215beso123마라톤 경주 (COCI14_utrka)C++14
0 / 80
5 ms3576 KiB
#include <bits/stdc++.h>
#define int long long
using namespace std;
int n;
map<string,int> mp;
string s[100005];
main(){
cin>>n;
for(int k=1;k<=n;k++)
cin>>s[k];
for(int k=1;k<n;k++){
string h;
cin>>h;
mp[h]=1;
}
for(int k=1;k<=n;k++){
if(mp[s[k]]==0){
cout<<s[k];
return 0;
}}
return 0;
}

컴파일 시 표준 에러 (stderr) 메시지

utrka.cpp:7:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
 main(){
      ^
#Verdict Execution timeMemoryGrader output
Fetching results...