#include <bits/stdc++.h> using namespace std; int main() { // please write your code here int result = 0; int input; while(cin >> input){ result = result^input; } cout << result << endl; return 0; }
#include <bits / STDC ++ H.> the using namespace STD; int main () { // Please Write your code here Wallpaper // data defining int COUNT = 0 ; // array of effective length int * Inter = new new int [ 20 is ]; / / Get data int A = 0 ; int I = 0 ; the while (CIN >> A) { Inter [I ++] = A; COUNT ++ ; } /// / Find the integer array of different numbers for ( int I = 0 ; I <COUNT; I ++ ) { for ( int J = 0 ; J <COUNT; J ++ ) { IF (! I = J) { // find the same flew back to the same element to find a value of inter IF (inter [I] == inter [J]) BREAK ; // find the last did not find the else IF (COUNT == J - . 1 ) { COUT << inter [I ] << endl; } } // The last one is different from the else IF (I == J == I && COUNT - . 1 ) { COUT << Inter [I] << endl; } } } return 0 ; }