結果
問題 |
No.637 X: Yet Another FizzBuzz Problem
|
ユーザー |
![]() |
提出日時 | 2021-09-26 13:13:03 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 206 bytes |
コンパイル時間 | 219 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 52,096 KB |
最終ジャッジ日時 | 2024-07-05 15:36:53 |
合計ジャッジ時間 | 2,585 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | WA * 30 |
ソースコード
S = list(map(int,input().split())) ans = 0 for i in S: if i % 15 == 0: ans += 8 elif i % 3 == 0 or i % 5 == 0: ans += 4 else: ans += len(str(i)) print(ans) print(ans)