Accepted
Code
#include<bits/stdc++.h>
using namespace std;
#define ll long long int
int main()
{
ll n;
cin>>n;
vector<ll>v(n);
ll mx=0;
for(int i=0;i<n;i++)
{
cin>>v[i];
mx=(mx^v[i]);
}
cout<<mx<<endl;
}
Information
- Submit By
- Type
- Submission
- Problem
- P1095 Uncovering the Lone Heart
- Language
- C++17 (G++ 13.2.0)
- Submit At
- 2024-10-04 16:22:43
- Judged At
- 2024-11-11 02:42:36
- Judged By
- Score
- 100
- Total Time
- 60ms
- Peak Memory
- 1.293 MiB