結果
| 問題 | No.1674 Introduction to XOR |
| コンテスト | |
| ユーザー |
c-yan
|
| 提出日時 | 2021-09-10 22:51:46 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 92 ms / 1,000 ms |
| + 619µs | |
| コード長 | 176 bytes |
| 記録 | |
| コンパイル時間 | 285 ms |
| コンパイル使用メモリ | 21,280 KB |
| 実行使用メモリ | 15,872 KB |
| 最終ジャッジ日時 | 2026-07-25 21:47:55 |
| 合計ジャッジ時間 | 4,244 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
N, *A = map(int, open(0).read().split())
x = 0
for a in A:
x |= a
for i in range(x.bit_length() + 1):
if ((x >> i) & 1) != 0:
continue
break
print(1 << i)
c-yan