結果

問題 No.9002 FizzBuzz(テスト用)
ユーザー MrEMGrationMrEMGration
提出日時 2019-03-22 23:07:27
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 5,000 ms
コード長 210 bytes
コンパイル時間 1,252 ms
コンパイル使用メモリ 81,132 KB
実行使用メモリ 53,384 KB
最終ジャッジ日時 2023-10-19 10:20:40
合計ジャッジ時間 1,738 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

n=int(input())+1
for i in range(1,n):
    if i % 3 == 0 and i % 5 == 0:
        print("FizzBuzz")
    elif i % 3 == 0:
        print("Fizz")
    elif i % 5 == 0:
        print("Buzz")
    else:
        print(i)
0