結果

問題 No.593 4進FizzBuzz
ユーザー kohei2019kohei2019
提出日時 2022-02-15 00:46:01
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 107 ms / 2,000 ms
コード長 140 bytes
コンパイル時間 255 ms
コンパイル使用メモリ 87,076 KB
実行使用メモリ 79,512 KB
最終ジャッジ日時 2023-09-11 16:51:02
合計ジャッジ時間 6,906 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,076 KB
testcase_01 AC 66 ms
71,072 KB
testcase_02 AC 67 ms
71,048 KB
testcase_03 AC 68 ms
71,316 KB
testcase_04 AC 67 ms
71,208 KB
testcase_05 AC 68 ms
71,172 KB
testcase_06 AC 68 ms
71,220 KB
testcase_07 AC 68 ms
71,024 KB
testcase_08 AC 68 ms
71,172 KB
testcase_09 AC 67 ms
71,224 KB
testcase_10 AC 69 ms
71,108 KB
testcase_11 AC 67 ms
71,172 KB
testcase_12 AC 66 ms
71,016 KB
testcase_13 AC 68 ms
71,156 KB
testcase_14 AC 69 ms
71,132 KB
testcase_15 AC 67 ms
71,264 KB
testcase_16 AC 98 ms
75,752 KB
testcase_17 AC 98 ms
75,592 KB
testcase_18 AC 98 ms
75,568 KB
testcase_19 AC 103 ms
79,504 KB
testcase_20 AC 99 ms
75,600 KB
testcase_21 AC 100 ms
75,324 KB
testcase_22 AC 104 ms
79,512 KB
testcase_23 AC 99 ms
75,788 KB
testcase_24 AC 101 ms
75,584 KB
testcase_25 AC 101 ms
75,752 KB
testcase_26 AC 107 ms
79,276 KB
testcase_27 AC 107 ms
79,500 KB
testcase_28 AC 100 ms
75,600 KB
testcase_29 AC 106 ms
79,464 KB
testcase_30 AC 98 ms
75,556 KB
testcase_31 AC 97 ms
75,548 KB
testcase_32 AC 96 ms
75,676 KB
testcase_33 AC 105 ms
79,372 KB
testcase_34 AC 100 ms
75,548 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N4 = input()
N = int(N4,4)
ans = ''
if N % 3 == 0:
    ans += 'Fizz'
if N % 5 == 0:
    ans += 'Buzz'
if ans == '':
    ans += N4
print(ans)
0