結果
| 問題 |
No.1674 Introduction to XOR
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-09-10 21:41:57 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 41 ms / 1,000 ms |
| コード長 | 159 bytes |
| コンパイル時間 | 315 ms |
| コンパイル使用メモリ | 82,280 KB |
| 実行使用メモリ | 53,412 KB |
| 最終ジャッジ日時 | 2024-06-11 23:02:47 |
| 合計ジャッジ時間 | 2,234 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
n = int(input())
num = 0
for a in map(int,input().split()):
num |= a
for i in range(100):
if num >> i & 1:
continue
print(1<<i)
exit()