結果
問題 |
No.9002 FizzBuzz(テスト用)
|
ユーザー |
![]() |
提出日時 | 2014-11-03 14:36:23 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 12 ms / 5,000 ms |
コード長 | 171 bytes |
コンパイル時間 | 139 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,144 KB |
最終ジャッジ日時 | 2024-12-30 17:08:50 |
合計ジャッジ時間 | 647 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 |
ソースコード
N = int(raw_input()) for i in xrange(1, N + 1): s = "" if i % 3 == 0: s += "Fizz" if i % 5 == 0: s += "Buzz" if len(s) == 0: print i else: print s