結果
| 問題 |
No.637 X: Yet Another FizzBuzz Problem
|
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-03-20 20:16:17 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 38 ms / 1,000 ms |
| コード長 | 275 bytes |
| コンパイル時間 | 143 ms |
| コンパイル使用メモリ | 82,508 KB |
| 実行使用メモリ | 53,868 KB |
| 最終ジャッジ日時 | 2025-03-20 20:16:55 |
| 合計ジャッジ時間 | 2,190 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 30 |
ソースコード
# Read the input as integers
nums = list(map(int, input().split()))
total = 0
for num in nums:
if num % 15 == 0:
total += 8
elif num % 3 == 0:
total += 4
elif num % 5 == 0:
total += 4
else:
total += len(str(num))
print(total)
lam6er