結果
| 問題 | No.637 X: Yet Another FizzBuzz Problem |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-03-05 12:51:33 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 27 ms / 1,000 ms |
| コード長 | 234 bytes |
| 記録 | |
| コンパイル時間 | 1,146 ms |
| コンパイル使用メモリ | 85,680 KB |
| 実行使用メモリ | 137,280 KB |
| 最終ジャッジ日時 | 2026-04-02 17:28:26 |
| 合計ジャッジ時間 | 7,615 ms |
|
ジャッジサーバーID (参考情報) |
judge5_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)