···cpp
class Solution {
public:
int findNumberAppearingOnce(vector[HTML_REMOVED]& nums) {
unordered_map[HTML_REMOVED] t;
for(int i: nums) t[i]++;
for(int i: nums)
if(t[i]== 1) return i;
return 0;
}
};
···