結果

問題 No.1849 Three Times Value
ユーザー roarisroaris
提出日時 2022-02-24 20:27:17
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 151 ms / 2,000 ms
コード長 120 bytes
コンパイル時間 432 ms
コンパイル使用メモリ 87,068 KB
実行使用メモリ 77,036 KB
最終ジャッジ日時 2023-09-15 09:59:01
合計ジャッジ時間 5,725 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 144 ms
76,780 KB
testcase_01 AC 142 ms
76,616 KB
testcase_02 AC 143 ms
76,900 KB
testcase_03 AC 141 ms
76,604 KB
testcase_04 AC 142 ms
76,700 KB
testcase_05 AC 144 ms
76,812 KB
testcase_06 AC 148 ms
76,908 KB
testcase_07 AC 140 ms
76,980 KB
testcase_08 AC 142 ms
76,536 KB
testcase_09 AC 147 ms
77,012 KB
testcase_10 AC 147 ms
76,912 KB
testcase_11 AC 147 ms
76,936 KB
testcase_12 AC 147 ms
76,912 KB
testcase_13 AC 147 ms
76,928 KB
testcase_14 AC 147 ms
76,956 KB
testcase_15 AC 144 ms
76,804 KB
testcase_16 AC 148 ms
76,720 KB
testcase_17 AC 147 ms
76,984 KB
testcase_18 AC 143 ms
76,808 KB
testcase_19 AC 142 ms
76,796 KB
testcase_20 AC 143 ms
76,892 KB
testcase_21 AC 141 ms
76,832 KB
testcase_22 AC 143 ms
76,840 KB
testcase_23 AC 143 ms
76,620 KB
testcase_24 AC 141 ms
76,796 KB
testcase_25 AC 144 ms
76,600 KB
testcase_26 AC 148 ms
77,000 KB
testcase_27 AC 151 ms
77,036 KB
testcase_28 AC 145 ms
76,788 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
ans = 0

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

print(ans)
0