結果

問題 No.1849 Three Times Value
ユーザー rin204rin204
提出日時 2022-02-27 14:43:06
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 85 ms / 2,000 ms
コード長 116 bytes
コンパイル時間 607 ms
コンパイル使用メモリ 87,220 KB
実行使用メモリ 76,300 KB
最終ジャッジ日時 2023-09-19 01:25:19
合計ジャッジ時間 5,098 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,448 KB
testcase_01 AC 75 ms
71,436 KB
testcase_02 AC 71 ms
71,404 KB
testcase_03 AC 72 ms
71,316 KB
testcase_04 AC 72 ms
71,272 KB
testcase_05 AC 72 ms
71,244 KB
testcase_06 AC 82 ms
76,000 KB
testcase_07 AC 71 ms
71,188 KB
testcase_08 AC 70 ms
71,112 KB
testcase_09 AC 82 ms
76,096 KB
testcase_10 AC 83 ms
76,136 KB
testcase_11 AC 82 ms
76,204 KB
testcase_12 AC 85 ms
76,296 KB
testcase_13 AC 75 ms
76,072 KB
testcase_14 AC 78 ms
75,940 KB
testcase_15 AC 75 ms
71,576 KB
testcase_16 AC 82 ms
76,144 KB
testcase_17 AC 78 ms
76,236 KB
testcase_18 AC 72 ms
71,304 KB
testcase_19 AC 72 ms
71,360 KB
testcase_20 AC 72 ms
71,248 KB
testcase_21 AC 71 ms
71,024 KB
testcase_22 AC 72 ms
71,268 KB
testcase_23 AC 71 ms
71,344 KB
testcase_24 AC 72 ms
71,224 KB
testcase_25 AC 73 ms
71,236 KB
testcase_26 AC 75 ms
76,300 KB
testcase_27 AC 76 ms
75,820 KB
testcase_28 AC 74 ms
71,240 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
ans = 0
i = 1
while 1:
    x = int(str(i) * 3)
    if x > n:
        break
    i += 1
print(i - 1)
0