結果

問題 No.593 4進FizzBuzz
ユーザー 👑 KazunKazun
提出日時 2020-10-15 19:08:29
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 102 ms / 2,000 ms
コード長 136 bytes
コンパイル時間 1,130 ms
コンパイル使用メモリ 87,012 KB
実行使用メモリ 77,936 KB
最終ジャッジ日時 2023-09-28 01:15:52
合計ジャッジ時間 7,633 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
71,300 KB
testcase_01 AC 67 ms
71,220 KB
testcase_02 AC 66 ms
71,440 KB
testcase_03 AC 64 ms
71,432 KB
testcase_04 AC 65 ms
71,276 KB
testcase_05 AC 64 ms
71,500 KB
testcase_06 AC 67 ms
70,972 KB
testcase_07 AC 67 ms
71,288 KB
testcase_08 AC 68 ms
71,220 KB
testcase_09 AC 67 ms
71,280 KB
testcase_10 AC 67 ms
71,192 KB
testcase_11 AC 65 ms
71,440 KB
testcase_12 AC 65 ms
71,492 KB
testcase_13 AC 66 ms
71,308 KB
testcase_14 AC 65 ms
71,468 KB
testcase_15 AC 66 ms
71,284 KB
testcase_16 AC 94 ms
75,860 KB
testcase_17 AC 97 ms
75,620 KB
testcase_18 AC 94 ms
75,708 KB
testcase_19 AC 100 ms
77,936 KB
testcase_20 AC 95 ms
75,432 KB
testcase_21 AC 96 ms
75,968 KB
testcase_22 AC 101 ms
77,596 KB
testcase_23 AC 94 ms
75,700 KB
testcase_24 AC 99 ms
75,440 KB
testcase_25 AC 98 ms
75,724 KB
testcase_26 AC 99 ms
77,588 KB
testcase_27 AC 99 ms
77,668 KB
testcase_28 AC 99 ms
75,708 KB
testcase_29 AC 102 ms
77,540 KB
testcase_30 AC 96 ms
75,928 KB
testcase_31 AC 95 ms
75,636 KB
testcase_32 AC 99 ms
75,924 KB
testcase_33 AC 102 ms
77,720 KB
testcase_34 AC 96 ms
75,804 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S=input()
N=int(S,4)

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