結果

問題 No.1849 Three Times Value
ユーザー hir355hir355
提出日時 2022-02-26 01:46:45
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 76 ms / 2,000 ms
コード長 108 bytes
コンパイル時間 1,882 ms
コンパイル使用メモリ 86,940 KB
実行使用メモリ 76,364 KB
最終ジャッジ日時 2023-09-16 22:06:39
合計ジャッジ時間 6,041 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
76,360 KB
testcase_01 AC 71 ms
76,308 KB
testcase_02 AC 72 ms
75,920 KB
testcase_03 AC 70 ms
76,216 KB
testcase_04 AC 72 ms
76,312 KB
testcase_05 AC 71 ms
75,936 KB
testcase_06 AC 73 ms
76,316 KB
testcase_07 AC 71 ms
76,100 KB
testcase_08 AC 71 ms
76,168 KB
testcase_09 AC 70 ms
76,220 KB
testcase_10 AC 71 ms
76,344 KB
testcase_11 AC 70 ms
76,100 KB
testcase_12 AC 71 ms
76,244 KB
testcase_13 AC 75 ms
75,956 KB
testcase_14 AC 73 ms
76,236 KB
testcase_15 AC 70 ms
76,364 KB
testcase_16 AC 73 ms
76,108 KB
testcase_17 AC 74 ms
76,176 KB
testcase_18 AC 71 ms
76,284 KB
testcase_19 AC 72 ms
76,088 KB
testcase_20 AC 70 ms
76,364 KB
testcase_21 AC 76 ms
76,312 KB
testcase_22 AC 71 ms
76,224 KB
testcase_23 AC 72 ms
76,324 KB
testcase_24 AC 73 ms
76,316 KB
testcase_25 AC 71 ms
76,284 KB
testcase_26 AC 75 ms
76,328 KB
testcase_27 AC 73 ms
76,132 KB
testcase_28 AC 70 ms
76,324 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
ans = 0
for i in range(1, 100001):
    if int(str(i) * 3) <= n:
        ans += 1
print(ans)
0