結果

問題 No.183 たのしい排他的論理和(EASY)
ユーザー c-yanc-yan
提出日時 2020-12-25 00:21:42
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 2,586 ms / 5,000 ms
コード長 144 bytes
コンパイル時間 417 ms
コンパイル使用メモリ 81,592 KB
実行使用メモリ 257,676 KB
最終ジャッジ日時 2023-10-21 15:57:18
合計ジャッジ時間 12,390 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
53,284 KB
testcase_01 AC 38 ms
53,284 KB
testcase_02 AC 43 ms
59,652 KB
testcase_03 AC 42 ms
59,520 KB
testcase_04 AC 38 ms
53,284 KB
testcase_05 AC 44 ms
60,892 KB
testcase_06 AC 39 ms
53,284 KB
testcase_07 AC 2,586 ms
257,648 KB
testcase_08 AC 1,196 ms
81,356 KB
testcase_09 AC 873 ms
79,668 KB
testcase_10 AC 1,018 ms
80,452 KB
testcase_11 AC 1,294 ms
81,872 KB
testcase_12 AC 46 ms
63,400 KB
testcase_13 AC 38 ms
53,284 KB
testcase_14 AC 42 ms
59,120 KB
testcase_15 AC 1,326 ms
81,880 KB
testcase_16 AC 41 ms
59,520 KB
testcase_17 AC 364 ms
77,288 KB
testcase_18 AC 1,840 ms
257,676 KB
testcase_19 AC 204 ms
76,420 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N, *A = map(int, open(0).read().split())

result = {0}
for a in set(A):
    for b in list(result):
        result.add(a ^ b)
print(len(result))
0