結果

問題 No.1674 Introduction to XOR
ユーザー Kude
提出日時 2021-09-10 21:30:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 52 ms / 1,000 ms
コード長 168 bytes
コンパイル時間 316 ms
コンパイル使用メモリ 82,560 KB
実行使用メモリ 55,168 KB
最終ジャッジ日時 2024-06-11 22:35:42
合計ジャッジ時間 2,173 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

from functools import reduce
input()
x = reduce(int.__or__, map(int, input().split()), 0)
for ans in range(100):
    if x >> ans & 1 == 0:
        break
print(1 << ans)
0