//vector的遍历 class Solution { public: int getMissingNumber(vector<int>& nums) { int t=0; for(int x:nums) if(t==x) t++; return t; } };