結果
| 問題 | No.2393 Bit Grid Connected Component |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-09-10 19:08:14 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 212 ms / 2,000 ms |
| コード長 | 132 bytes |
| 記録 | |
| コンパイル時間 | 277 ms |
| コンパイル使用メモリ | 85,120 KB |
| 実行使用メモリ | 81,024 KB |
| 最終ジャッジ日時 | 2026-04-04 01:39:54 |
| 合計ジャッジ時間 | 2,324 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge5_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 20 |
ソースコード
t = int(input()) for i in range(t): x,y = map(int,input().split()) x >>= y while x & 1 == 1: x //= 2 y += 1 print(2**y-1)