結果
問題 |
No.9002 FizzBuzz(テスト用)
|
ユーザー |
|
提出日時 | 2018-01-11 10:15:48 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 223 bytes |
コンパイル時間 | 360 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-12-23 17:16:03 |
合計ジャッジ時間 | 842 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 4 |
ソースコード
n = int(input()) lista = [input() for i in range(n)] for x in range(n): if lista[x] % 15 == 0: lista[x] = "FizzBuzz" elif lista[x] % 5 == 0: lista[x] = "Buzz" elif lista[x] % 3 == 0: lista[x] = "Fizz" print(lista)