提出 #6698206


ソースコード 拡げる

N = int(input())

answer = 0
for x in range(1,N+1):
    if len(str(x)) & 1:
        answer += 1
        
print(answer)

提出情報

提出日時
問題 B - Uneven Numbers
ユーザ maspy
言語 Python (3.4.3)
得点 200
コード長 125 Byte
結果 AC
実行時間 56 ms
メモリ 2940 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 200 / 200
結果
AC × 3
AC × 13
セット名 テストケース
Sample a01, a02, a03
All a01, a02, a03, b04, b05, b06, b07, b08, b09, b10, b11, b12, b13
ケース名 結果 実行時間 メモリ
a01 AC 17 ms 2940 KiB
a02 AC 17 ms 2940 KiB
a03 AC 55 ms 2940 KiB
b04 AC 17 ms 2940 KiB
b05 AC 17 ms 2940 KiB
b06 AC 17 ms 2940 KiB
b07 AC 17 ms 2940 KiB
b08 AC 17 ms 2940 KiB
b09 AC 18 ms 2940 KiB
b10 AC 20 ms 2940 KiB
b11 AC 35 ms 2940 KiB
b12 AC 56 ms 2940 KiB
b13 AC 54 ms 2940 KiB