标签:class amp single 数字 nbsp col style vector solution
1 class Solution 2 { 3 public: 4 int singleNumber(vector<int>& nums) 5 { 6 int res = 0; 7 for(auto a : nums) res ^= a; 8 return res; 9 } 10 };
标签:class amp single 数字 nbsp col style vector solution
原文地址:https://www.cnblogs.com/yuhong1103/p/12620999.html