結果
| 問題 | No.1674 Introduction to XOR |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-09-11 11:52:30 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 24 ms / 1,000 ms |
| コード長 | 174 bytes |
| 記録 | |
| コンパイル時間 | 356 ms |
| コンパイル使用メモリ | 85,892 KB |
| 実行使用メモリ | 53,976 KB |
| 最終ジャッジ日時 | 2026-03-07 01:31:03 |
| 合計ジャッジ時間 | 1,791 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
N = int(input())
A = list(map(int, input().split()))
sums = 0
for a in A:
sums = sums | a
for i in range(65):
if not sums >> i & 1:
print(2**i)
break