結果

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

ソースコード

diff #

n = int(input())
ans = 0
t = 0
for x in map(int, input().split()):
    t |= x
i = 0
while (t >> i) & 1:
    i += 1
print(pow(2, i))
0