結果

問題 No.183 たのしい排他的論理和(EASY)
ユーザー mlihua09mlihua09
提出日時 2020-08-28 20:41:37
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 202 bytes
コンパイル時間 255 ms
コンパイル使用メモリ 82,688 KB
実行使用メモリ 69,120 KB
最終ジャッジ日時 2024-04-26 12:30:49
合計ジャッジ時間 4,867 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
58,112 KB
testcase_01 AC 42 ms
58,496 KB
testcase_02 AC 44 ms
58,880 KB
testcase_03 AC 44 ms
58,496 KB
testcase_04 AC 43 ms
58,496 KB
testcase_05 AC 45 ms
58,624 KB
testcase_06 AC 44 ms
58,752 KB
testcase_07 RE -
testcase_08 AC 441 ms
61,056 KB
testcase_09 AC 329 ms
60,672 KB
testcase_10 AC 383 ms
60,928 KB
testcase_11 AC 495 ms
60,928 KB
testcase_12 RE -
testcase_13 AC 42 ms
57,856 KB
testcase_14 AC 263 ms
60,800 KB
testcase_15 AC 510 ms
61,568 KB
testcase_16 AC 45 ms
58,752 KB
testcase_17 AC 151 ms
60,544 KB
testcase_18 RE -
testcase_19 AC 97 ms
60,160 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

A = 0

x = [0] * 2 ** 14

x[0] = 1

for a in map(int, input().split()):
    
    for i in range(2 ** 14):
        
        if x[i]:
            
            x[i ^ a] = 1

print(sum(x))
0