結果

問題 No.1849 Three Times Value
ユーザー Omura Shunsuke
提出日時 2022-05-14 22:09:49
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 52 ms / 2,000 ms
コード長 119 bytes
コンパイル時間 318 ms
コンパイル使用メモリ 81,988 KB
実行使用メモリ 70,980 KB
最終ジャッジ日時 2024-07-23 09:04:41
合計ジャッジ時間 2,705 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 26
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

ans = 0
for i in range(1,10**5+1):
    A = str(i) * 3
    if N >= int(A):
        ans += 1
print(ans)
0