結果
| 問題 |
No.183 たのしい排他的論理和(EASY)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-07-15 15:16:48 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 144 bytes |
| コンパイル時間 | 239 ms |
| コンパイル使用メモリ | 12,800 KB |
| 実行使用メモリ | 21,668 KB |
| 最終ジャッジ日時 | 2024-07-04 15:26:02 |
| 合計ジャッジ時間 | 7,298 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 5 TLE * 1 -- * 12 |
ソースコード
N = int(input())
A = list(map(int, input().split()))
s = set([0])
for a in A:
l = list(s)
for ll in l:
s.add(ll^a)
print(len(s))