numbers. Count how many of them have an even number of digits when written in decimal.numbers=[48, 7, 1203, 999, 50000] → 2
48 (two digits) and 1203 (four digits) have an even digit count. 7, 999 and 50000 have one, three and five digits.
numbers=[3, 141, 59265, 2147483647] → 1
3, 141 and 59265 have one, three and five digits. Only 2147483647, with ten digits, has an even count.
numbers=[10, 100000] → 2
numbers) ≤ 500numbers[i] ≤ 2³¹ − 1numbers=[48, 7, 1203, 999, 50000]
2
Run checks the first 3 tests in your browser. Submit checks all 102 tests on the server, hidden ones included.