結果

問題 No.183 たのしい排他的論理和(EASY)
ユーザー maimai
提出日時 2017-05-24 23:55:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 2,332 ms / 5,000 ms
コード長 119 bytes
コンパイル時間 1,257 ms
コンパイル使用メモリ 87,136 KB
実行使用メモリ 259,536 KB
最終ジャッジ日時 2023-09-12 12:53:28
合計ジャッジ時間 12,523 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,620 KB
testcase_01 AC 73 ms
71,160 KB
testcase_02 AC 80 ms
76,296 KB
testcase_03 AC 79 ms
75,908 KB
testcase_04 AC 74 ms
71,176 KB
testcase_05 AC 78 ms
77,532 KB
testcase_06 AC 74 ms
71,528 KB
testcase_07 AC 2,332 ms
259,536 KB
testcase_08 AC 1,152 ms
84,196 KB
testcase_09 AC 821 ms
82,148 KB
testcase_10 AC 976 ms
82,968 KB
testcase_11 AC 1,257 ms
84,480 KB
testcase_12 AC 78 ms
80,020 KB
testcase_13 AC 71 ms
71,616 KB
testcase_14 AC 78 ms
76,632 KB
testcase_15 AC 1,305 ms
85,152 KB
testcase_16 AC 75 ms
76,164 KB
testcase_17 AC 347 ms
79,348 KB
testcase_18 AC 1,795 ms
259,452 KB
testcase_19 AC 209 ms
78,692 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

input()

s = set()
s.add(0)
for a in map(int,input().split()):
    for b in list(s):
        s.add(a^b)

print(len(s))
0