結果
| 問題 | No.183 たのしい排他的論理和(EASY) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-11-11 10:02:24 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 748 ms / 5,000 ms |
| + 102µs | |
| コード長 | 164 bytes |
| 記録 | |
| コンパイル時間 | 55 ms |
| コンパイル使用メモリ | 15,232 KB |
| 実行使用メモリ | 12,800 KB |
| 最終ジャッジ日時 | 2026-10-12 17:38:13 |
| 合計ジャッジ時間 | 4,988 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 19 |
ソースコード
n = int(input())
A = list(map(int, input().split()))
x = [0]
for a in A:
if a not in x:
for j in x.copy():
x.append(a^j)
print(len(x))