結果

問題 No.593 4進FizzBuzz
ユーザー mnrmnr
提出日時 2020-03-05 21:55:21
言語 PyPy2
(7.3.15)
結果
TLE  
実行時間 -
コード長 233 bytes
コンパイル時間 830 ms
コンパイル使用メモリ 77,184 KB
実行使用メモリ 236,320 KB
最終ジャッジ日時 2024-04-22 03:18:14
合計ジャッジ時間 6,225 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
80,768 KB
testcase_01 AC 80 ms
75,648 KB
testcase_02 AC 80 ms
75,520 KB
testcase_03 AC 79 ms
75,392 KB
testcase_04 AC 79 ms
75,520 KB
testcase_05 AC 82 ms
75,520 KB
testcase_06 AC 80 ms
75,264 KB
testcase_07 AC 78 ms
75,648 KB
testcase_08 AC 78 ms
75,136 KB
testcase_09 AC 77 ms
75,392 KB
testcase_10 AC 78 ms
75,264 KB
testcase_11 AC 77 ms
75,904 KB
testcase_12 AC 78 ms
75,776 KB
testcase_13 AC 78 ms
75,392 KB
testcase_14 AC 78 ms
75,392 KB
testcase_15 AC 80 ms
75,520 KB
testcase_16 TLE -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
testcase_28 -- -
testcase_29 -- -
testcase_30 -- -
testcase_31 -- -
testcase_32 -- -
testcase_33 -- -
testcase_34 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

def fzbz(n):
    if n % 3 == 0 and n % 5 == 0:
        print("FizzBuzz")
    elif n % 3 == 0:
        print("Fizz")
    elif n % 5 == 0:
        print("Buzz")
    else:
        print(N)

N = int(input())
n10 = int(str(N),4)
fzbz(n10)
0