結果
| 問題 | No.1674 Introduction to XOR |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-09-10 21:57:49 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
AC
|
| 実行時間 | 133 ms / 1,000 ms |
| コード長 | 265 bytes |
| 記録 | |
| コンパイル時間 | 4,537 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 15,488 KB |
| 最終ジャッジ日時 | 2026-03-05 04:39:36 |
| 合計ジャッジ時間 | 5,343 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
N = int(input())
A = list(map(int, input().split()))
bit = [1]*64
for i in range(N):
a = A[i]
now = 0
for b in range(64):
if bit[b] and (a >> b) & 1:
bit[b] = 0
for b in range(64):
if bit[b]:
print(1 << b)
break