結果
問題 | No.637 X: Yet Another FizzBuzz Problem |
ユーザー |
![]() |
提出日時 | 2021-09-26 13:13:24 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 39 ms / 1,000 ms |
コード長 | 191 bytes |
コンパイル時間 | 164 ms |
コンパイル使用メモリ | 81,920 KB |
実行使用メモリ | 52,096 KB |
最終ジャッジ日時 | 2024-07-05 15:36:55 |
合計ジャッジ時間 | 2,304 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 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)