結果

問題 No.183 たのしい排他的論理和(EASY)
ユーザー c_r_5c_r_5
提出日時 2018-09-12 19:29:16
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 156 bytes
コンパイル時間 141 ms
コンパイル使用メモリ 10,664 KB
実行使用メモリ 13,276 KB
最終ジャッジ日時 2023-09-09 21:50:57
合計ジャッジ時間 9,063 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
8,152 KB
testcase_01 AC 23 ms
8,080 KB
testcase_02 AC 39 ms
8,188 KB
testcase_03 AC 35 ms
8,068 KB
testcase_04 AC 21 ms
8,116 KB
testcase_05 AC 38 ms
8,108 KB
testcase_06 AC 26 ms
8,040 KB
testcase_07 RE -
testcase_08 TLE -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

n,*A=map(int,open(0).read().split())
ans=[0]*16500
ans[0]=1
for a in A:
    for i in range(16500):
        if ans[i]:
            ans[i^a]=1
print(sum(ans))
0