Submission #447042

# Submission time Handle Problem Language Result Execution time Memory
447042 2021-07-24T09:45:53 Z dz001 Utrka (COCI14_utrka) C++11
0 / 80
0 ms 204 KB
#include <bits/stdc++.h>
 
using namespace std;
 
#define pb push_back
#define fi first
#define se second
#define MOD 1000000007
 
typedef long long ll;

string ans;
int n;

signed main(){
	cin>>n;
	for(int i=0;i<30;++i)ans+='\0';
	for(int i=0;i<n+n-1;++i){
		string s; cin>>s;
		for(int j=0;j<(int)s.size();++j)ans[j]^=s[j];
	}	
	cout<<ans<<endl;
	
#ifdef LOCAL
    cerr << "Time elapsed: " << 1.0 * clock() / CLOCKS_PER_SEC << "s.";
#endif
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 204 KB Output isn't correct
2 Halted 0 ms 0 KB -