/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Accepted 1ms 532.0 KiB
#2 Wrong Answer 9ms 320.0 KiB
#3 Wrong Answer 9ms 324.0 KiB

Code

#include<bits/stdc++.h>

using namespace std;

#define ll long long
#define all(a) a.begin(),a.end()
#define endl '\n'

int main()
{
    ios::sync_with_stdio(0); cin.tie(0);
   ll n;cin>>n;
   ll ans=1;
   ll x;
   cin>>x;
   for(ll i=1;i<n;i++)
   {
    cin>>x;
    ans^=x;
   }
   cout<<ans<<endl;
}

Information

Submit By
Type
Submission
Problem
P1095 Uncovering the Lone Heart
Contest
Brain Booster #6
Language
C++17 (G++ 13.2.0)
Submit At
2024-10-03 15:41:47
Judged At
2024-12-17 11:36:19
Judged By
Score
10
Total Time
9ms
Peak Memory
532.0 KiB