Skip to content

Commit

Permalink
feat: day 21 easy solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaizo8 committed Apr 16, 2024
1 parent bd9a95d commit 5f42276
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion Easy/Day 21/solution.cpp
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
// Write your code here.
// Write your code here.
#include <bits/stdc++.h>
using namespace std;
int main(){
int n;
cin >> n;
int sum = 0;
for(int i = 0 ; i< (4*n)-1 ; i++){
int temp;
cin >> temp;
sum = sum ^ temp;
}
cout << sum;
return 0;
}

0 comments on commit 5f42276

Please sign in to comment.