結果
| 問題 | No.637 X: Yet Another FizzBuzz Problem | 
| コンテスト | |
| ユーザー |  liny_tail | 
| 提出日時 | 2020-08-10 15:48:45 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 30 ms / 1,000 ms | 
| コード長 | 214 bytes | 
| コンパイル時間 | 289 ms | 
| コンパイル使用メモリ | 12,800 KB | 
| 実行使用メモリ | 10,752 KB | 
| 最終ジャッジ日時 | 2024-10-07 19:29:16 | 
| 合計ジャッジ時間 | 2,241 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 30 | 
ソースコード
a = [int(i) for i in input().strip().split()] ans = '' for i in a: ans += 'Fizz' if i % 3 == 0 else '' ans += 'Buzz' if i % 5 == 0 else '' ans += str(i) if i % 3 != 0 and i % 5 != 0 else '' print(len(ans))
