結果

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

ソースコード

diff #

import sys
input = sys.stdin.readline
N = int(input())
a = list(map(int, input().split()))

for i in range(62):
  t = 1 << i
  for x in a:
    if x & t: break
  else:
    print(t)
    break
0