結果

問題 No.183 たのしい排他的論理和(EASY)
ユーザー tabataba
提出日時 2016-04-16 22:08:18
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 150 bytes
コンパイル時間 49 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 8,228 KB
最終ジャッジ日時 2024-04-15 02:13:00
合計ジャッジ時間 1,547 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
6,400 KB
testcase_01 AC 12 ms
6,400 KB
testcase_02 AC 15 ms
7,552 KB
testcase_03 AC 15 ms
6,656 KB
testcase_04 AC 13 ms
6,272 KB
testcase_05 AC 18 ms
7,680 KB
testcase_06 AC 12 ms
6,272 KB
testcase_07 WA -
testcase_08 AC 43 ms
8,136 KB
testcase_09 AC 85 ms
8,220 KB
testcase_10 AC 45 ms
8,200 KB
testcase_11 AC 93 ms
8,096 KB
testcase_12 WA -
testcase_13 AC 11 ms
6,400 KB
testcase_14 AC 13 ms
6,400 KB
testcase_15 AC 113 ms
8,228 KB
testcase_16 AC 12 ms
6,400 KB
testcase_17 AC 53 ms
7,920 KB
testcase_18 WA -
testcase_19 AC 34 ms
7,972 KB
権限があれば一括ダウンロードができます

ソースコード

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