結果
問題 |
No.637 X: Yet Another FizzBuzz Problem
|
ユーザー |
|
提出日時 | 2018-01-30 16:08:09 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 32 ms / 1,000 ms |
コード長 | 240 bytes |
コンパイル時間 | 151 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 52,352 KB |
最終ジャッジ日時 | 2024-06-28 18:52:18 |
合計ジャッジ時間 | 1,933 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 30 |
ソースコード
nums = [int(x) for x in input().split()] ans = 0 for num in nums: sw = 0 if num % 5 == 0: ans += 4 sw = 1 if num % 3 == 0: ans += 4 sw = 1 if sw == 0: ans += len(str(num)) print(ans)