Submission #6684376


Source Code Expand

Copy
import sys

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip()  # ignore trailing spaces

n = ni()

ct = 0
for i in range(1, n+1):
    if len(str(i)) % 2 == 1:
        ct += 1
print(ct)

Submission Info

Submission Time
Task B - Uneven Numbers
User uwi
Language Python (3.4.3)
Score 200
Code Size 285 Byte
Status AC
Exec Time 57 ms
Memory 3060 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 57 ms 2940 KB
b04 AC 17 ms 2940 KB
b05 AC 17 ms 3060 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 20 ms 2940 KB
b11 AC 34 ms 2940 KB
b12 AC 55 ms 2940 KB
b13 AC 57 ms 2940 KB