結果

問題 No.593 4進FizzBuzz
ユーザー syunsukesyunsuke
提出日時 2018-06-24 17:19:45
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 212 bytes
コンパイル時間 76 ms
コンパイル使用メモリ 10,588 KB
実行使用メモリ 27,500 KB
最終ジャッジ日時 2023-09-13 13:43:59
合計ジャッジ時間 16,100 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,788 KB
testcase_01 AC 15 ms
7,764 KB
testcase_02 AC 16 ms
7,744 KB
testcase_03 WA -
testcase_04 AC 16 ms
7,828 KB
testcase_05 WA -
testcase_06 AC 15 ms
7,876 KB
testcase_07 AC 15 ms
7,828 KB
testcase_08 AC 15 ms
7,780 KB
testcase_09 AC 16 ms
7,748 KB
testcase_10 AC 15 ms
7,708 KB
testcase_11 AC 15 ms
7,868 KB
testcase_12 AC 16 ms
7,828 KB
testcase_13 AC 16 ms
7,780 KB
testcase_14 AC 15 ms
7,776 KB
testcase_15 AC 15 ms
7,780 KB
testcase_16 AC 742 ms
27,232 KB
testcase_17 AC 719 ms
27,156 KB
testcase_18 WA -
testcase_19 AC 734 ms
27,500 KB
testcase_20 AC 692 ms
27,144 KB
testcase_21 AC 752 ms
27,232 KB
testcase_22 WA -
testcase_23 WA -
testcase_24 AC 717 ms
27,232 KB
testcase_25 WA -
testcase_26 WA -
testcase_27 AC 747 ms
27,460 KB
testcase_28 WA -
testcase_29 WA -
testcase_30 AC 692 ms
27,184 KB
testcase_31 AC 720 ms
27,152 KB
testcase_32 AC 707 ms
27,184 KB
testcase_33 WA -
testcase_34 AC 717 ms
27,096 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=input()
list1=[]
for i in range(len(n)):
    list1.append(int(n[i]))

if sum(list1)%6==0:
    print("FizzBuzz")
elif sum(list1)%2==0:
    print("Buzz")
elif sum(list1)%3==0:
    print("Fizz")
else:
    print(n)
0