結果

問題 No.183 たのしい排他的論理和(EASY)
ユーザー cielciel
提出日時 2015-04-17 08:04:51
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 4,299 ms / 5,000 ms
コード長 173 bytes
コンパイル時間 945 ms
コンパイル使用メモリ 87,184 KB
実行使用メモリ 175,360 KB
最終ジャッジ日時 2023-09-11 11:03:08
合計ジャッジ時間 20,798 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 92 ms
71,272 KB
testcase_01 AC 90 ms
71,392 KB
testcase_02 AC 123 ms
76,972 KB
testcase_03 AC 95 ms
77,208 KB
testcase_04 AC 96 ms
71,528 KB
testcase_05 AC 100 ms
78,224 KB
testcase_06 AC 91 ms
71,276 KB
testcase_07 AC 4,299 ms
175,360 KB
testcase_08 AC 2,110 ms
120,260 KB
testcase_09 AC 1,453 ms
109,136 KB
testcase_10 AC 1,711 ms
114,776 KB
testcase_11 AC 2,359 ms
123,140 KB
testcase_12 AC 103 ms
81,320 KB
testcase_13 AC 91 ms
71,356 KB
testcase_14 AC 103 ms
77,500 KB
testcase_15 AC 2,302 ms
125,016 KB
testcase_16 AC 98 ms
76,980 KB
testcase_17 AC 585 ms
89,960 KB
testcase_18 AC 3,218 ms
164,616 KB
testcase_19 AC 348 ms
84,968 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/python
from collections import defaultdict
h={0}
input()
a=map(int,input().split())
for e in a:
	b=[]
	for f in h:b.append(f^e)
	for f in b:h.add(f)
print(len(h))
0