結果
問題 |
No.593 4進FizzBuzz
|
ユーザー |
![]() |
提出日時 | 2024-05-25 10:39:08 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 212 bytes |
コンパイル時間 | 269 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 14,580 KB |
最終ジャッジ日時 | 2024-12-20 19:35:13 |
合計ジャッジ時間 | 4,450 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 4 |
other | RE * 31 |
ソースコード
N=input() score=0 N.reverse() for i in range(len(N)): score+=4**i if score%3==0 and score%5==0: print("FizzBuzz") elif score%3==0: print("Fizz") elif score%5==0: print("Buzz") else: print(N)