結果
| 問題 | No.3624 Product |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-09-03 19:05:18 |
| 言語 | PyPy3 (7.3.23) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 144 bytes |
| 記録 | |
| コンパイル時間 | 230 ms |
| コンパイル使用メモリ | 95,412 KB |
| 実行使用メモリ | 92,008 KB |
| 最終ジャッジ日時 | 2026-09-03 19:05:25 |
| 合計ジャッジ時間 | 4,448 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 7 RE * 5 |
ソースコード
T = int(input()) for _ in range(T): L,R = map(int,input().split()) B = 1<<(R.bit_length()-1) if L <= B-1: print(B*(B-1)) else: print(-1)