結果
| 問題 |
No.598 オーバーフローファンタジー
|
| コンテスト | |
| ユーザー |
ntuda
|
| 提出日時 | 2024-12-18 21:47:05 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 42 ms / 2,000 ms |
| コード長 | 122 bytes |
| コンパイル時間 | 367 ms |
| コンパイル使用メモリ | 82,312 KB |
| 実行使用メモリ | 53,784 KB |
| 最終ジャッジ日時 | 2024-12-18 21:47:57 |
| 合計ジャッジ時間 | 2,805 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 28 |
ソースコード
N = int(input()) X = int(input()) A = int(input()) B = int(input()) print(min(-(-X // A), -((-(1 << (N - 1)) + X) // B)))
ntuda