結果
問題 |
No.183 たのしい排他的論理和(EASY)
|
ユーザー |
![]() |
提出日時 | 2018-12-15 02:20:52 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 162 bytes |
コンパイル時間 | 293 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 11,392 KB |
最終ジャッジ日時 | 2024-09-25 05:41:20 |
合計ジャッジ時間 | 1,645 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 2 |
other | RE * 18 |
ソースコード
n = int(input()) a = list(set(map(int, input().split()))) n = len(a) s = set([0]) for i in a: if i not in s: s |= set([a^i for i in s]) print(len(s))