# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1022437 | AliHasanli | Utrka (COCI14_utrka) | C++17 | 112 ms | 11280 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>
using namespace std;
int main()
{
int n;
cin>>n;
string a[2*n-1];
for(int i=0;i<2*n-1;i++)
cin>>a[i];
sort(a,a+n*2-1);
for(int i=0;i<2*n-1;i+=2)
if(a[i]!=a[i+1])cout<<a[i],exit(0);
cout<<a[2*n-2];
return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |