結果

問題 No.9002 FizzBuzz(テスト用)
ユーザー kkron4221kkron4221
提出日時 2019-01-13 12:31:52
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 68 ms / 5,000 ms
コード長 260 bytes
コンパイル時間 542 ms
コンパイル使用メモリ 86,928 KB
実行使用メモリ 71,476 KB
最終ジャッジ日時 2023-08-26 19:26:10
合計ジャッジ時間 1,464 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

math = input()
math = int(math)
count = 1
for i in range(math):
    if count % 15 == 0:
        print('FizzBuzz')
    elif count % 3 == 0:
        print('Fizz')
    elif count % 5 == 0:
        print('Buzz')
    else:
        print(count)
    count = count + 1
0