結果
問題 |
No.598 オーバーフローファンタジー
|
ユーザー |
|
提出日時 | 2017-11-25 00:19:57 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 138 bytes |
コンパイル時間 | 770 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-11-27 08:49:14 |
合計ジャッジ時間 | 2,424 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 28 |
ソースコード
N = int(input()) X = int(input()) A = int(input()) B = int(input()) a = ceil(X / A) b = ceil((1 << (N - 1) - X)) print(a if a > b else b)