結果

問題 No.2393 Bit Grid Connected Component
ユーザー hiro1729hiro1729
提出日時 2023-07-21 06:32:40
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
(最新)
AC  
(最初)
実行時間 -
コード長 133 bytes
コンパイル時間 206 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-09-21 18:41:31
合計ジャッジ時間 1,680 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

x, y = map(int, input().split())
t = ((x + (1 << y)) >> y) << y
for i in range(60):
	if t & (1 << i):
		print((1 << i) - 1)
		exit(0)
0