結果
| 問題 |
No.637 X: Yet Another FizzBuzz Problem
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-03-05 12:51:33 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 41 ms / 1,000 ms |
| コード長 | 234 bytes |
| コンパイル時間 | 533 ms |
| コンパイル使用メモリ | 82,432 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2024-07-19 16:31:15 |
| 合計ジャッジ時間 | 2,933 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 30 |
ソースコード
an = list(map(int,input().split()))
result = 0
for i in an:
if i%3==0 and i%5==0:
result+=8
elif i%3==0:
result+=4
elif i%5==0:
result+=4
else:
result+=len(str(i))
print(result)