結果

問題 No.9002 FizzBuzz(テスト用)
ユーザー nidosinonidosino
提出日時 2017-05-25 22:54:28
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 29 ms / 5,000 ms
コード長 225 bytes
コンパイル時間 100 ms
コンパイル使用メモリ 11,864 KB
実行使用メモリ 10,076 KB
最終ジャッジ日時 2023-10-19 23:22:00
合計ジャッジ時間 648 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

N = int(input())
for i in range(1, N + 1):

    if i % 3 == 0:
        print("Fizz", end='')
    if i % 5 == 0:
        print("Buzz", end='')
    if i % 3 != 0 and i % 5 != 0:
        print(i, end='')
    print("")
0