結果
問題 |
No.9002 FizzBuzz(テスト用)
|
ユーザー |
|
提出日時 | 2015-01-22 10:56:42 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 12 ms / 5,000 ms |
コード長 | 220 bytes |
コンパイル時間 | 358 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,400 KB |
最終ジャッジ日時 | 2024-06-23 00:19:07 |
合計ジャッジ時間 | 831 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 |
ソースコード
N = int(raw_input()) for x in xrange(1, N+1) : output = "" if x%3 == 0: output = "Fizz" if x%5 == 0 : output = output + "Buzz" if output == "" : output = x print output pass