結果
| 問題 | No.637 X: Yet Another FizzBuzz Problem | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2018-02-18 17:33:43 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 31 ms / 1,000 ms | 
| コード長 | 262 bytes | 
| コンパイル時間 | 82 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 10,880 KB | 
| 最終ジャッジ日時 | 2024-06-28 18:58:27 | 
| 合計ジャッジ時間 | 1,957 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 30 | 
ソースコード
ln=list(map(int,input().split()))
sn=0
for i in range(len(ln)):
    #fork
    if ln[i]%3==0 and ln[i]%5==0:
        sn+=8
    elif ln[i]%3==0:
        sn+=4
    elif ln[i]%5==0:
        sn+=4
    else:
        ln[i]=str(ln[i])
        sn+=len(ln[i])
print(sn)
            
            
            
        