結果

問題 No.1849 Three Times Value
ユーザー brthyyjpbrthyyjp
提出日時 2022-03-16 15:11:29
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 117 ms / 2,000 ms
コード長 120 bytes
コンパイル時間 1,415 ms
コンパイル使用メモリ 81,360 KB
実行使用メモリ 75,012 KB
最終ジャッジ日時 2023-10-24 20:18:05
合計ジャッジ時間 5,742 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 113 ms
75,004 KB
testcase_01 AC 108 ms
75,004 KB
testcase_02 AC 110 ms
75,004 KB
testcase_03 AC 111 ms
75,004 KB
testcase_04 AC 108 ms
75,004 KB
testcase_05 AC 109 ms
75,004 KB
testcase_06 AC 117 ms
75,012 KB
testcase_07 AC 108 ms
75,004 KB
testcase_08 AC 109 ms
75,004 KB
testcase_09 AC 115 ms
75,012 KB
testcase_10 AC 116 ms
75,012 KB
testcase_11 AC 115 ms
75,012 KB
testcase_12 AC 116 ms
75,012 KB
testcase_13 AC 117 ms
75,012 KB
testcase_14 AC 116 ms
75,012 KB
testcase_15 AC 110 ms
75,004 KB
testcase_16 AC 115 ms
75,012 KB
testcase_17 AC 116 ms
75,012 KB
testcase_18 AC 108 ms
75,004 KB
testcase_19 AC 108 ms
75,004 KB
testcase_20 AC 107 ms
75,004 KB
testcase_21 AC 108 ms
75,004 KB
testcase_22 AC 108 ms
75,004 KB
testcase_23 AC 108 ms
75,004 KB
testcase_24 AC 112 ms
75,004 KB
testcase_25 AC 109 ms
75,004 KB
testcase_26 AC 116 ms
75,012 KB
testcase_27 AC 116 ms
75,012 KB
testcase_28 AC 109 ms
75,004 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())

ans = 0
for i in range(1, 10**6+1):
    m = int(str(i)*3)
    if m <= n:
        ans += 1

print(ans)
0