結果

問題 No.3022 一元一次式 mod 1000000000
ユーザー lam6er
提出日時 2025-03-31 17:28:07
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 297 bytes
コンパイル時間 500 ms
コンパイル使用メモリ 82,908 KB
実行使用メモリ 76,488 KB
最終ジャッジ日時 2025-03-31 17:29:24
合計ジャッジ時間 2,254 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 WA * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())

one = int(True)
three = len('aaa')
five = len('aaaaa')
fifteen = three * five

for i in range(one, n + one):
    if i % fifteen == 0:
        print('FizzBuzz')
    elif i % three == 0:
        print('Fizz')
    elif i % five == 0:
        print('Buzz')
    else:
        print(i)
0