結果
| 問題 | 
                            No.2393 Bit Grid Connected Component
                             | 
                    
| コンテスト | |
| ユーザー | 
                             Kude
                         | 
                    
| 提出日時 | 2023-07-28 21:26:08 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 131 bytes | 
| コンパイル時間 | 471 ms | 
| コンパイル使用メモリ | 81,920 KB | 
| 実行使用メモリ | 76,672 KB | 
| 最終ジャッジ日時 | 2024-10-06 17:31:46 | 
| 合計ジャッジ時間 | 3,579 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 7 WA * 13 | 
ソースコード
for _ in range(int(input())):
    x, y = map(int, input().split())
    while x >> y + 1:
        y += 1
    print((1 << y + 1) - 1)
            
            
            
        
            
Kude