結果

問題 No.9002 FizzBuzz(テスト用)
ユーザー john_doe_113john_doe_113
提出日時 2015-06-25 12:32:22
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 239 bytes
コンパイル時間 45 ms
コンパイル使用メモリ 6,592 KB
実行使用メモリ 6,116 KB
最終ジャッジ日時 2023-09-22 00:37:24
合計ジャッジ時間 562 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#!/usr/bin/env python
#coding: utf-8

n = int(raw_input())
for i in range(1,n + 1):
    if i % 15 == 0:
        print 'FizzBuff'
    elif i % 3 == 0:
        print 'Fizz'
    elif i % 5 == 0:
        print 'Buff'
    else:
        print i
0