Submission #6690454


Source Code Expand

Copy
n = int(input())
print(sum(len(str(i))%2 for i in range(1, n+1)))

Submission Info

Submission Time
Task B - Uneven Numbers
User liouzhou_101
Language Python (3.4.3)
Score 200
Code Size 68 Byte
Status AC
Exec Time 45 ms
Memory 2940 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 3
AC × 13
Set Name Test Cases
Sample a01, a02, a03
All a01, a02, a03, b04, b05, b06, b07, b08, b09, b10, b11, b12, b13
Case Name Status Exec Time Memory
a01 AC 17 ms 2940 KB
a02 AC 17 ms 2940 KB
a03 AC 44 ms 2940 KB
b04 AC 17 ms 2940 KB
b05 AC 17 ms 2940 KB
b06 AC 17 ms 2940 KB
b07 AC 17 ms 2940 KB
b08 AC 17 ms 2940 KB
b09 AC 18 ms 2940 KB
b10 AC 19 ms 2940 KB
b11 AC 29 ms 2940 KB
b12 AC 44 ms 2940 KB
b13 AC 45 ms 2940 KB