結果

問題 No.1849 Three Times Value
ユーザー 👑 SPD_9X2SPD_9X2
提出日時 2022-02-28 01:49:47
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 90 ms / 2,000 ms
コード長 122 bytes
コンパイル時間 1,112 ms
コンパイル使用メモリ 86,868 KB
実行使用メモリ 76,480 KB
最終ジャッジ日時 2023-09-20 09:07:50
合計ジャッジ時間 4,980 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 87 ms
76,292 KB
testcase_01 AC 86 ms
76,324 KB
testcase_02 AC 86 ms
76,348 KB
testcase_03 AC 88 ms
76,320 KB
testcase_04 AC 87 ms
76,444 KB
testcase_05 AC 86 ms
76,380 KB
testcase_06 AC 90 ms
76,312 KB
testcase_07 AC 86 ms
76,152 KB
testcase_08 AC 88 ms
76,348 KB
testcase_09 AC 88 ms
76,288 KB
testcase_10 AC 86 ms
75,976 KB
testcase_11 AC 87 ms
76,324 KB
testcase_12 AC 88 ms
76,304 KB
testcase_13 AC 90 ms
76,480 KB
testcase_14 AC 88 ms
76,336 KB
testcase_15 AC 87 ms
76,116 KB
testcase_16 AC 86 ms
76,124 KB
testcase_17 AC 89 ms
76,200 KB
testcase_18 AC 86 ms
76,068 KB
testcase_19 AC 86 ms
76,004 KB
testcase_20 AC 86 ms
76,196 KB
testcase_21 AC 87 ms
76,136 KB
testcase_22 AC 87 ms
76,076 KB
testcase_23 AC 85 ms
76,284 KB
testcase_24 AC 87 ms
76,352 KB
testcase_25 AC 86 ms
76,212 KB
testcase_26 AC 88 ms
76,396 KB
testcase_27 AC 87 ms
76,332 KB
testcase_28 AC 86 ms
76,320 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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