結果
| 問題 | No.1674 Introduction to XOR |
| コンテスト | |
| ユーザー |
taiga0629kyopro
|
| 提出日時 | 2021-09-10 21:38:03 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 35 ms / 1,000 ms |
| コード長 | 152 bytes |
| 記録 | |
| コンパイル時間 | 209 ms |
| コンパイル使用メモリ | 85,576 KB |
| 実行使用メモリ | 53,568 KB |
| 最終ジャッジ日時 | 2026-03-05 04:06:51 |
| 合計ジャッジ時間 | 1,926 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
n=int(input())
a=list(map(int,input().split()))
ans=0
for x in a:ans|=x
for i in range(64):
if not (ans>>i)&1:
print(2**i)
exit()
taiga0629kyopro