結果
| 問題 | No.183 たのしい排他的論理和(EASY) |
| コンテスト | |
| ユーザー |
qewqewqew
|
| 提出日時 | 2018-12-15 01:51:43 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
TLE
不安定
|
| 実行時間 | - |
| コード長 | 184 bytes |
| 記録 | |
| コンパイル時間 | 311 ms |
| コンパイル使用メモリ | 21,468 KB |
| 実行使用メモリ | 24,092 KB |
| 最終ジャッジ日時 | 2026-09-03 19:57:14 |
| 合計ジャッジ時間 | 8,379 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 5 TLE * 1 -- * 12 |
ソースコード
n = int(input())
a = set(map(int, input().split()))
ables = set([0])
for i in a:
tmp = []
for j in ables:
tmp.append(j^i)
ables = ables | set(tmp)
print(len(ables))
qewqewqew