結果
| 問題 |
No.1674 Introduction to XOR
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-12-23 18:19:16 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 179 bytes |
| コンパイル時間 | 128 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 24,248 KB |
| 最終ジャッジ日時 | 2024-09-17 16:40:40 |
| 合計ジャッジ時間 | 4,524 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | TLE * 1 -- * 2 |
| other | -- * 21 |
ソースコード
N = int(input())
A = list(map(int,input().split()))
a = A[0]
for i in range(1,N):
a = a | A[i]
j = 0
while True:
if a & (1 << j) == 0:
print(1 << j)
break