結果

問題 No.9002 FizzBuzz(テスト用)
ユーザー 163x bee.163x bee.
提出日時 2021-07-15 11:44:09
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 76 ms / 5,000 ms
コード長 219 bytes
コンパイル時間 381 ms
コンパイル使用メモリ 86,832 KB
実行使用メモリ 71,428 KB
最終ジャッジ日時 2023-09-17 17:19:15
合計ジャッジ時間 1,226 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

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