結果

問題 No.3022 縛りFizzBuzz (Easy)
ユーザー convexineqconvexineq
提出日時 2020-11-24 02:52:50
言語 PyPy3
(7.3.13)
結果
WA  
実行時間 -
コード長 243 bytes
コンパイル時間 298 ms
コンパイル使用メモリ 86,804 KB
実行使用メモリ 71,468 KB
最終ジャッジ日時 2023-10-01 00:45:04
合計ジャッジ時間 1,521 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,356 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

three = True+True+True
five = three+True+True
fifteen = three+five

n = int(input())
for i in range(True,n+True):
    if not i%fifteen: print("FizzBuzz")
    elif not i%three: print("Fizz")
    elif not i%five: print("Buzz")
    else: print(i)
0