結果
| 問題 | No.8022 縛りFizzBuzz (Easy) |
| コンテスト | |
| ユーザー |
G359sNDPkUoKqvu
|
| 提出日時 | 2022-03-31 23:49:55 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 286 bytes |
| 記録 | |
| コンパイル時間 | 334 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-11-17 17:49:08 |
| 合計ジャッジ時間 | 1,278 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 4 |
ソースコード
N = int(input())
lista = ['a','a','a','a','a']
listb = ['b','b','b']
listc = ['c']
A = len(lista)
B = len(listb)
C = len(listc)
s = ''
for i in range(C,N+C):
s = ''
if i%B == 0:
s = 'Fizz'
if i%A == 0:
s = s+'Buzz'
if s == '':
s = i
print(s)
G359sNDPkUoKqvu