class Solution {
public:
int findNumbers(vector<int>& nums)
{
int count = 0;
for(int i=0; i<nums.size(); i++)
{
int tmp = 0;
while(nums[i])
{
nums[i] /= 10;
tmp++;
}
if((tmp%2) == 0)
{
count++;
}
}
return count;
}
};
转载请注明原文地址:https://blackberry.8miu.com/read-1894.html