結果
問題 |
No.183 たのしい排他的論理和(EASY)
|
ユーザー |
![]() |
提出日時 | 2020-04-18 15:32:24 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 202 bytes |
コンパイル時間 | 776 ms |
コンパイル使用メモリ | 82,380 KB |
実行使用メモリ | 275,836 KB |
最終ジャッジ日時 | 2024-10-03 23:44:54 |
合計ジャッジ時間 | 7,505 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 5 TLE * 1 -- * 12 |
ソースコード
import sys input=lambda: sys.stdin.readline().rstrip() n=int(input()) A=[int(i) for i in input().split()] S=set() S.add(0) for a in A: T=set() for s in S: T.add(s^a) S=S.union(T) print(len(S))