結果
問題 |
No.593 4進FizzBuzz
|
ユーザー |
|
提出日時 | 2018-03-08 17:20:20 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 143 bytes |
コンパイル時間 | 82 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 127,676 KB |
最終ジャッジ日時 | 2024-10-05 08:03:41 |
合計ジャッジ時間 | 5,433 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 12 TLE * 1 -- * 18 |
ソースコード
n=input() l=[int(x) for x in n[::-1]] a,s=sum([l[i]*4**i for i in range(len(n))]),'' if a%3<1:s+='Fizz' if a%5<1:s+='Buzz' print(s if s else n)