結果
問題 | No.9002 FizzBuzz(テスト用) |
ユーザー |
|
提出日時 | 2018-01-11 10:15:48 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 223 bytes |
コンパイル時間 | 78 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-06-06 05:30:12 |
合計ジャッジ時間 | 689 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | RE | - |
testcase_01 | RE | - |
testcase_02 | RE | - |
testcase_03 | RE | - |
ソースコード
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)