結果

問題 No.9002 FizzBuzz(テスト用)
ユーザー mlihua09mlihua09
提出日時 2020-08-22 11:16:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 42 ms / 5,000 ms
コード長 260 bytes
コンパイル時間 154 ms
コンパイル使用メモリ 82,104 KB
実行使用メモリ 51,840 KB
最終ジャッジ日時 2024-04-23 07:03:07
合計ジャッジ時間 796 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
51,328 KB
testcase_01 AC 42 ms
51,840 KB
testcase_02 AC 42 ms
51,712 KB
testcase_03 AC 41 ms
51,840 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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