結果

問題 No.183 たのしい排他的論理和(EASY)
ユーザー taba
提出日時 2016-04-16 22:08:18
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 150 bytes
コンパイル時間 92 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 8,224 KB
最終ジャッジ日時 2024-10-04 10:20:42
合計ジャッジ時間 1,361 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 15 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

n=input()
a=set(map(int,raw_input().split()))
x=set([0])
for i in a:
	for j in x.copy():
		x.add(j^i)
	if len(x)==16384:
		break
#print x
print len(x)
0