結果

問題 No.637 X: Yet Another FizzBuzz Problem
ユーザー もりを
提出日時 2019-01-03 20:16:10
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 33 ms / 1,000 ms
コード長 192 bytes
コンパイル時間 240 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-11-23 22:45:21
合計ジャッジ時間 2,341 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 30
権限があれば一括ダウンロードができます

ソースコード

diff #

l = list(map(int,input().split()))
res = 0
for i in l:
    if i % 15 == 0:
        res += 8
    elif i % 3 == 0 or i % 5 == 0:
        res += 4
    else:
        res += len(str(i))
print(res)
0