結果

問題 No.593 4進FizzBuzz
ユーザー Akijin_007Akijin_007
提出日時 2023-02-04 19:23:50
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 110 ms / 2,000 ms
コード長 154 bytes
コンパイル時間 268 ms
コンパイル使用メモリ 87,072 KB
実行使用メモリ 77,752 KB
最終ジャッジ日時 2023-09-16 15:54:45
合計ジャッジ時間 5,611 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,284 KB
testcase_01 AC 73 ms
71,120 KB
testcase_02 AC 73 ms
71,236 KB
testcase_03 AC 73 ms
71,284 KB
testcase_04 AC 72 ms
70,936 KB
testcase_05 AC 73 ms
71,228 KB
testcase_06 AC 71 ms
71,404 KB
testcase_07 AC 71 ms
71,412 KB
testcase_08 AC 70 ms
71,216 KB
testcase_09 AC 71 ms
71,356 KB
testcase_10 AC 71 ms
71,128 KB
testcase_11 AC 71 ms
71,324 KB
testcase_12 AC 71 ms
71,276 KB
testcase_13 AC 71 ms
71,020 KB
testcase_14 AC 73 ms
71,348 KB
testcase_15 AC 72 ms
71,288 KB
testcase_16 AC 104 ms
75,444 KB
testcase_17 AC 102 ms
75,708 KB
testcase_18 AC 103 ms
75,828 KB
testcase_19 AC 107 ms
77,652 KB
testcase_20 AC 103 ms
75,856 KB
testcase_21 AC 108 ms
75,652 KB
testcase_22 AC 109 ms
77,612 KB
testcase_23 AC 101 ms
75,652 KB
testcase_24 AC 103 ms
75,364 KB
testcase_25 AC 105 ms
75,652 KB
testcase_26 AC 108 ms
77,592 KB
testcase_27 AC 106 ms
77,572 KB
testcase_28 AC 102 ms
75,660 KB
testcase_29 AC 110 ms
77,752 KB
testcase_30 AC 104 ms
75,652 KB
testcase_31 AC 103 ms
75,540 KB
testcase_32 AC 100 ms
75,700 KB
testcase_33 AC 106 ms
77,652 KB
testcase_34 AC 104 ms
75,720 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()

a = int(S, 4)

if a % 15 == 0:
    print("FizzBuzz")
elif a % 5 == 0:
    print("Buzz")
elif a % 3 == 0:
    print("Fizz")
else:
    print(S)
0