class Solution { public: int getMissingNumber(vector[HTML_REMOVED]& nums) { auto n = nums.size(); for(int i=0;i<n;i++){ if(nums[i]!=i) {return i;}
} }
};简略写的