結果

問題 No.637 X: Yet Another FizzBuzz Problem
ユーザー Takayuki HirotaTakayuki Hirota
提出日時 2021-01-14 10:32:49
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 72 ms / 1,000 ms
コード長 130 bytes
コンパイル時間 1,097 ms
コンパイル使用メモリ 85,924 KB
実行使用メモリ 70,932 KB
最終ジャッジ日時 2023-08-15 16:06:46
合計ジャッジ時間 4,513 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
70,680 KB
testcase_01 AC 70 ms
70,652 KB
testcase_02 AC 70 ms
70,628 KB
testcase_03 AC 70 ms
70,772 KB
testcase_04 AC 70 ms
70,764 KB
testcase_05 AC 71 ms
70,684 KB
testcase_06 AC 69 ms
70,800 KB
testcase_07 AC 71 ms
70,584 KB
testcase_08 AC 72 ms
70,640 KB
testcase_09 AC 72 ms
70,616 KB
testcase_10 AC 71 ms
70,796 KB
testcase_11 AC 72 ms
70,808 KB
testcase_12 AC 71 ms
70,652 KB
testcase_13 AC 70 ms
70,776 KB
testcase_14 AC 70 ms
70,820 KB
testcase_15 AC 71 ms
70,620 KB
testcase_16 AC 70 ms
70,772 KB
testcase_17 AC 70 ms
70,612 KB
testcase_18 AC 70 ms
70,800 KB
testcase_19 AC 69 ms
70,780 KB
testcase_20 AC 71 ms
70,784 KB
testcase_21 AC 70 ms
70,784 KB
testcase_22 AC 71 ms
70,924 KB
testcase_23 AC 70 ms
70,540 KB
testcase_24 AC 70 ms
70,932 KB
testcase_25 AC 70 ms
70,776 KB
testcase_26 AC 70 ms
70,860 KB
testcase_27 AC 69 ms
70,584 KB
testcase_28 AC 69 ms
70,688 KB
testcase_29 AC 70 ms
70,672 KB
testcase_30 AC 70 ms
70,616 KB
testcase_31 AC 71 ms
70,640 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

fb=lambda n:8 if n%15==0 else 4 if (n%3)*(n%5)==0 else len(str(n))
a=list(map(int,input().split()))
print(sum([fb(i) for i in a]))
0