結果

問題 No.9002 FizzBuzz(テスト用)
ユーザー M__Yamakawa
提出日時 2014-11-09 21:55:21
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 94 ms / 5,000 ms
コード長 228 bytes
コンパイル時間 156 ms
コンパイル使用メモリ 77,396 KB
最終ジャッジ日時 2025-12-03 12:58:08
ジャッジサーバーID
(参考情報)
judge2 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 4
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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

n = int(raw_input())

for i in range(1,n+1):
	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