| # | Time | Username | Problem | Language | Result | Execution time | Memory | 
|---|---|---|---|---|---|---|---|
| 960234 | khangrl | 마라톤 경주 (COCI14_utrka) | C++14 | 155 ms | 14320 KiB | 
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<bits/stdc++.h>
#define ll long long
#define ff first
#define ss second
#define pb push_back
using namespace std;
int main(){
	int n;
	cin>>n;
	vector <string> v;
	map <string, int> mp;
	for(int i=1; i<=n; i++){
		string s;
		cin>>s;
		v.pb(s);
	}
	for(int i=1; i<n; i++){
		string s;
		cin>>s;
		mp[s]++;
	}
	for(auto x:v){
		if(mp[x]==0){
			cout<<x;
			return 0;
		}
		mp[x]--;
	}
}
| # | Verdict | Execution time | Memory | Grader output | 
|---|---|---|---|---|
| Fetching results... | ||||
