int searchInsert(std::vector<int>&nums, int target) {标签:std,return,target,nums,int,插入,搜索,leetcode,size From: https://blog.51cto.com/u_15899033/5902970
int i = 0;
int size = nums.size();
for (;i < size;i++) {
if (nums[i] >= target) {
return i;
}
}
return i;
}