結果

問題 No.1674 Introduction to XOR
コンテスト
ユーザー rin204
提出日時 2021-09-18 10:03:06
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 25 ms / 1,000 ms
コード長 141 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 311 ms
コンパイル使用メモリ 85,800 KB
実行使用メモリ 53,916 KB
最終ジャッジ日時 2026-03-20 01:47:44
合計ジャッジ時間 1,795 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

n = int(input())
alst = list(map(int, input().split()))
x = 0
for a in alst:
    x |= a
    
i = 0
while x >> i & 1:
    i += 1
print(1 << i)
0