結果

問題 No.1849 Three Times Value
ユーザー ShirotsumeShirotsume
提出日時 2022-02-21 22:09:32
言語 PyPy3
(7.3.15)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 134 bytes
コンパイル時間 684 ms
コンパイル使用メモリ 87,052 KB
実行使用メモリ 76,368 KB
最終ジャッジ日時 2023-09-15 09:58:24
合計ジャッジ時間 4,121 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
76,220 KB
testcase_01 AC 79 ms
75,976 KB
testcase_02 AC 76 ms
76,028 KB
testcase_03 AC 75 ms
76,368 KB
testcase_04 AC 75 ms
76,152 KB
testcase_05 AC 76 ms
76,180 KB
testcase_06 WA -
testcase_07 AC 74 ms
75,988 KB
testcase_08 AC 75 ms
76,232 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 77 ms
76,116 KB
testcase_14 AC 78 ms
76,224 KB
testcase_15 AC 75 ms
76,104 KB
testcase_16 WA -
testcase_17 AC 74 ms
76,140 KB
testcase_18 AC 75 ms
76,236 KB
testcase_19 AC 75 ms
76,100 KB
testcase_20 AC 75 ms
76,088 KB
testcase_21 AC 76 ms
76,320 KB
testcase_22 AC 76 ms
76,132 KB
testcase_23 AC 76 ms
76,232 KB
testcase_24 AC 76 ms
75,988 KB
testcase_25 AC 76 ms
76,320 KB
testcase_26 AC 77 ms
76,048 KB
testcase_27 AC 75 ms
76,324 KB
testcase_28 AC 76 ms
76,316 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
assert 1 <= n <= 10 ** 15
ans = 0
for v in range(1, 10001):
    if int(str(v) * 3) <= n:
        ans += 1
print(ans)
0