// // Created by 李洋 on 2023/10/14. // #ifndef LEECODE_C_Q136_H #define LEECODE_C_Q136_H #include using namespace std; class Q136 { public: int singleNumber(vector &nums) { int count = 0; for (int i: nums) { count ^= i; } return count; } }; #endif //LEECODE_C_Q136_H