結果

問題 No.183 たのしい排他的論理和(EASY)
ユーザー tnoda_tnoda_
提出日時 2015-08-18 18:43:44
言語 Python2
(2.7.18)
結果
TLE  
実行時間 -
コード長 140 bytes
コンパイル時間 142 ms
コンパイル使用メモリ 6,600 KB
実行使用メモリ 13,892 KB
最終ジャッジ日時 2023-09-25 12:52:53
合計ジャッジ時間 6,848 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
6,072 KB
testcase_01 AC 11 ms
5,996 KB
testcase_02 AC 14 ms
6,740 KB
testcase_03 AC 12 ms
6,040 KB
testcase_04 AC 12 ms
5,972 KB
testcase_05 AC 16 ms
6,940 KB
testcase_06 AC 12 ms
5,968 KB
testcase_07 TLE -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

N = input()
A = map(int, raw_input().strip().split())

dp = set([0])
for a in A:
    for x in list(dp):
        dp.add(a ^ x)
print(len(dp))
0