結果

問題 No.1185 完全な3の倍数
ユーザー KeroruKeroru
提出日時 2020-08-22 16:23:31
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 172 ms / 2,000 ms
コード長 165 bytes
コンパイル時間 486 ms
コンパイル使用メモリ 87,088 KB
実行使用メモリ 148,740 KB
最終ジャッジ日時 2023-08-16 00:28:02
合計ジャッジ時間 8,814 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 168 ms
148,688 KB
testcase_01 AC 169 ms
148,688 KB
testcase_02 AC 163 ms
148,548 KB
testcase_03 AC 161 ms
148,720 KB
testcase_04 AC 164 ms
148,668 KB
testcase_05 AC 166 ms
148,612 KB
testcase_06 AC 169 ms
148,500 KB
testcase_07 AC 167 ms
148,660 KB
testcase_08 AC 168 ms
148,600 KB
testcase_09 AC 164 ms
148,668 KB
testcase_10 AC 162 ms
148,596 KB
testcase_11 AC 159 ms
148,512 KB
testcase_12 AC 162 ms
148,724 KB
testcase_13 AC 166 ms
148,688 KB
testcase_14 AC 165 ms
148,376 KB
testcase_15 AC 164 ms
148,540 KB
testcase_16 AC 160 ms
148,596 KB
testcase_17 AC 162 ms
148,588 KB
testcase_18 AC 162 ms
148,656 KB
testcase_19 AC 163 ms
148,624 KB
testcase_20 AC 161 ms
148,536 KB
testcase_21 AC 161 ms
148,740 KB
testcase_22 AC 164 ms
148,544 KB
testcase_23 AC 162 ms
148,616 KB
testcase_24 AC 166 ms
148,668 KB
testcase_25 AC 162 ms
148,676 KB
testcase_26 AC 172 ms
148,540 KB
testcase_27 AC 161 ms
148,540 KB
testcase_28 AC 158 ms
148,384 KB
testcase_29 AC 168 ms
148,380 KB
testcase_30 AC 161 ms
148,516 KB
testcase_31 AC 162 ms
148,580 KB
testcase_32 AC 159 ms
148,540 KB
testcase_33 AC 161 ms
148,584 KB
testcase_34 AC 161 ms
148,632 KB
testcase_35 AC 162 ms
148,376 KB
testcase_36 AC 166 ms
148,512 KB
testcase_37 AC 162 ms
148,616 KB
testcase_38 AC 158 ms
148,632 KB
testcase_39 AC 159 ms
148,552 KB
testcase_40 AC 168 ms
148,512 KB
testcase_41 AC 161 ms
148,540 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from bisect import*;d=[''];s=[]
for _ in'x'*9:
 d=[i+j for i in d for j in'0369'];s+=d
s+=range(9,99,3);print(bisect(sorted(set([int(i)for i in s])),int(input()))-4)
0